]> git.baikalelectronics.ru Git - kernel.git/commit
drm/connector: Hookup the new drm_cmdline_mode panel_orientation member (v2)
authorHans de Goede <hdegoede@redhat.com>
Sun, 5 Jan 2020 15:51:20 +0000 (16:51 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sat, 11 Jan 2020 10:57:59 +0000 (11:57 +0100)
commitd4df0b8cd48f3b9ff0248678ccaf53b7ca2085b4
tree6ba603876391a585e901a2d08d9bc190b60ca4ba
parent25b71dc97fdb5e3cd61a6693baf413634763d8f0
drm/connector: Hookup the new drm_cmdline_mode panel_orientation member (v2)

If the new video=... panel_orientation option is set for a connector, honor
it and setup a matching "panel orientation" property on the connector.

Changes in v2:
-Improve DRM_INFO message to make it clear that the panel_orientation is
 being forced from the commandline

BugLink: https://gitlab.freedesktop.org/plymouth/plymouth/merge_requests/83
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200105155120.96466-2-hdegoede@redhat.com
drivers/gpu/drm/drm_connector.c