fix issue when create cl image from libva with offset
authorGuo Yejun <yejun.guo@intel.com>
Mon, 9 Jun 2014 00:39:33 +0000 (08:39 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 11 Jun 2014 03:04:57 +0000 (11:04 +0800)
commitf5182996ead14f2bb7cdd3f3f082aa486f499114
treed2d4016a8da0fdf3e70cfa9e43043fc0fc402aa6
parente5d25dac46ab2f90d9fc66210f3bdc54e72445fe
fix issue when create cl image from libva with offset

to share data between libva and ocl (at drm level), it is acceptable
to create cl image from libva with offset (to drm object). Correct
the bo offset whose value will finally go to ss1.base_addr.

Signed-off-by: Guo Yejun <yejun.guo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/cl_driver.h
src/cl_mem.c
src/intel/intel_driver.c