OSDN Git Service

gralloc: hdmi cloned mode support
authorTapani Pälli <tapani.palli@intel.com>
Thu, 4 Oct 2012 13:01:27 +0000 (16:01 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 18 Oct 2012 07:52:38 +0000 (10:52 +0300)
commit2d2758bca0f962ef21673dbe29df4c042d7f3254
treed17d46beb9ccac2406215922182cf8919eeaaac0
parentc878105aa842f6a7fbec5414d50cbf93892b3a1b
gralloc: hdmi cloned mode support

Patch implements simple support for cloned mode hdmi by introducing
primary and hdmi outputs that are updated respectively.

Current implementation is rather naive and assumes hdmi can drive
same mode as the local lvds. Only cloned mode is supported but can be
extended later to support extended mode when hwcomposer is available
for controlling this behaviour.

HDMI hotplug is implemented as a separate observer thread that
listens to uevents and reads hdmi connection state from there, this
requires switch support from the kernel hdmi driver.

Change-Id: I1d5873214d672563789f4953a892de60539eca88
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Matt Gumbel <matthew.k.gumbel@linux.intel.com>
Android.mk
gralloc_drm_intel.c
gralloc_drm_kms.c
gralloc_drm_priv.h