]> git.baikalelectronics.ru Git - kernel.git/commit
drm/modes: Don't apply cmdline's rotation if it wasn't specified
authorDmitry Osipenko <digetx@gmail.com>
Thu, 11 Jul 2019 02:13:13 +0000 (05:13 +0300)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 16 Jul 2019 08:34:38 +0000 (10:34 +0200)
commit1f93b32b6bd1b5a942fd021c7ff7bc0be00ad35b
tree3714b5d326aa24c87371305728e688e581a2e53c
parente2834e2144247156a11b1b0776c673b58aaa648a
drm/modes: Don't apply cmdline's rotation if it wasn't specified

The rotation mode from cmdline shouldn't be taken into account if it
wasn't specified in the cmdline. This fixes ignored default display
orientation when display mode is given using cmdline without the
rotation being specified.

Fixes: d44d6516f952 ("drm/modes: Allow to specify rotation and reflection on the commandline")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190711021313.29445-1-digetx@gmail.com
drivers/gpu/drm/drm_client_modeset.c