]> git.baikalelectronics.ru Git - kernel.git/commit
drm/connector: Allow creation of margin props alone
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 6 Dec 2018 14:24:37 +0000 (15:24 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 19 Dec 2018 13:47:58 +0000 (14:47 +0100)
commitd1fc07278cc6ef7dfbbfd140276aa24a5d3db8f0
tree530fe4c6d3b6bf9cd3e6dc4562582544b6940f78
parentbf3419fbe490c258d010e844c1436aa220333326
drm/connector: Allow creation of margin props alone

TV margins properties can only be added as part of the SDTV TV
connector properties creation, but we might need those props for HDMI
TVs too, so let's move the margins props creation in a separate
function and expose it to drivers.

We also add an helper to attach margins props to a connector.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181206142439.10441-4-boris.brezillon@bootlin.com
drivers/gpu/drm/drm_connector.c
include/drm/drm_connector.h