]> dgit.raspbian.org Git - linux-4.9.git/commit
drm: Add TV connector states to drm_connector_state
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 2 Dec 2016 13:48:09 +0000 (14:48 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:22:36 +0000 (02:22 +0000)
commitaa46d39c4202e50d92755e045b4fe7e0d12c2ea7
tree03c087ac1e503eb1eaf119b79b0c35533e6ad1e0
parent86c18a7f1a16e4ff3fa2a361ae1bc33a2eada46f
drm: Add TV connector states to drm_connector_state

Some generic TV connector properties are exposed in drm_mode_config, but
they are currently handled independently in each DRM encoder driver.

Extend the drm_connector_state to store TV related states, and modify the
drm_atomic_connector_{set,get}_property() helpers to fill the connector
state accordingly.

Each driver is then responsible for checking and applying the new config
in its ->atomic_mode_{check,set}() operations.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 299a16b163c95fbe1e3b1e142ba9c6ce9dab2c23)
drivers/gpu/drm/drm_atomic.c
include/drm/drm_connector.h