drm/i915: Add aspect ratio property for HDMI
authorVandana Kannan <vandana.kannan@intel.com>
Wed, 11 Jun 2014 05:36:01 +0000 (11:06 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:26 +0000 (07:05 +0200)
commit94a11ddcec9fbd27209da4de7d7c8250c6170f2e
tree36ed9838942fccc6e8314e2ae42d41c33fe98752
parent69ab6d35f699e9e8df068d701e166529c6b4bab8
drm/i915: Add aspect ratio property for HDMI

Create and attach the drm property to set aspect ratio. If there is no user
specified value, then PAR_NONE/Automatic option is set by default. User can
select aspect ratio 4:3 or 16:9. The aspect ratio selected by user would
come into effect with a mode set.

v2: Modified switch case to include aspect ratio enum changes

v3: Modified the patch according the change in the earlier patch to return
errno in case property creation fails. With this change, property will be
attached only if creation is successful

Signed-off-by: Vandana Kannan <vandana.kannan@intel.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_hdmi.c
This page took 0.026256 seconds and 5 git commands to generate.