]> 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)
commitb65661facf09326ab572558cb7a9499c08e7ba75
tree530fe4c6d3b6bf9cd3e6dc4562582544b6940f78
parent6a3af9a9018e3e1e8baaedb98f085292bc69a39f
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