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: 1bf4e092 ("drm/modes: Allow to specify rotation and reflection on the commandline") Signed-off-by: NDmitry Osipenko <digetx@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190711021313.29445-1-digetx@gmail.com
Showing
想要评论请 注册 或 登录