OSDN Git Service

gralloc: change copy api and fix copy function for intel
authorTapani Pälli <tapani.palli@intel.com>
Fri, 22 Feb 2013 10:13:28 +0000 (12:13 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 1 Mar 2013 08:59:42 +0000 (10:59 +0200)
commitf3c326e3a15df2b1d8e0387ab634ec29dafd7707
treef9587d8a165b37a0d7b1dc49e8f7938f25dc2a8d
parent25d22516a6eb0991e1b1ec25d25785daf7100eff
gralloc: change copy api and fix copy function for intel

Patch extends current copy api, renames it blit and introduces
src+dst coordinates to be able to implement partial blits and
blits with offsets. Implementation must take care of hw specific
restrictions with blits.

Patch also fixes issues with the current intel_blit function.
Current implementation does not select ring buffer and ends up
queuing blit commands to the render ring. Patch starts to use
drm_intel_bo_mrb_exec to be able to select blit ring and fixes
the checks inside copy function.

Change-Id: I05905e0b9c48fc2a55230212b676bfb8813a2b55
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
gralloc_drm_intel.c
gralloc_drm_kms.c
gralloc_drm_pipe.c
gralloc_drm_priv.h