]> git.baikalelectronics.ru Git - kernel.git/commit
drm/modes: Allow to specify rotation and reflection on the commandline
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:51 +0000 (12:17 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:51 +0000 (12:17 +0200)
commit53e222806eacd83430e7b12cfb670a6d53436937
tree45396ee8fa752b77e08db4c2ae3be1f1c21dab2b
parent158bad172e8e1b432a4f35bf1fbacaacbd61490c
drm/modes: Allow to specify rotation and reflection on the commandline

Rotations and reflections setup are needed in some scenarios to initialise
properly the initial framebuffer. Some drivers already had a bunch of
quirks to deal with this, such as either a private kernel command line
parameter (omapdss) or on the device tree (various panels).

In order to accomodate this, let's create a video mode parameter to deal
with the rotation and reflexion.

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/777da16e42db757c1f5b414b5ca34507097fed5c.1560783090.git-series.maxime.ripard@bootlin.com
Documentation/fb/modedb.txt
drivers/gpu/drm/drm_client_modeset.c
drivers/gpu/drm/drm_modes.c
include/drm/drm_connector.h