OSDN Git Service

gralloc: provide methods for hwc to change handle of a plane
authorTapani Pälli <tapani.palli@intel.com>
Fri, 3 May 2013 07:08:54 +0000 (10:08 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 13 May 2013 12:28:35 +0000 (15:28 +0300)
commita872ecf380bfb33a1e17878d7d7ac16d1730dc09
tree65cfc8edea3b91fe9da22635a52dbff5b9d8345e
parent29b01951d54470f495e1097bd779342d618daf7a
gralloc: provide methods for hwc to change handle of a plane

Patch changes reserve_plane to get id number as additional parameter.
This can be used by hwc to make changes to a particular plane. New
api hwc_set_plane_handle is introduced so that hwc can change the
buffer handle of a plane, this is required because after plane has
been reserved for a particular ui layer, this handle can change as
the layer is typically multibuffered.

Change-Id: I32d711ff3565ae9e8f5b8a6691c22b03a50cefe7
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
gralloc.c
gralloc_drm.h
gralloc_drm_kms.c
gralloc_drm_priv.h