diff options
author | 2019-07-22 09:56:14 -0400 | |
---|---|---|
committer | 2019-07-22 09:56:14 -0400 | |
commit | cfb7156672dd4de51bcdbc89cfc67c653300f260 (patch) | |
tree | dfc2d53ea057f425964208c863899b499b9fa08d | |
parent | Linus 5.3-rc1 (diff) | |
parent | drm/modes: Don't apply cmdline's rotation if it wasn't specified (diff) | |
download | wireguard-linux-cfb7156672dd4de51bcdbc89cfc67c653300f260.tar.xz wireguard-linux-cfb7156672dd4de51bcdbc89cfc67c653300f260.zip |
Merge drm-misc-next-fixes-2019-07-18 into drm-misc-fixes
Picking up 7aaddd96d5f ("drm/modes: Don't apply cmdline's rotation if it wasn't specified")
from drm-misc-next-fixes. It missed the merge window.
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/drm_client_modeset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_client_modeset.c b/drivers/gpu/drm/drm_client_modeset.c index 56d36779d213..c8922b7cac09 100644 --- a/drivers/gpu/drm/drm_client_modeset.c +++ b/drivers/gpu/drm/drm_client_modeset.c @@ -859,7 +859,7 @@ bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation) * simple XOR between the two handle the addition nicely. */ cmdline = &connector->cmdline_mode; - if (cmdline->specified) { + if (cmdline->specified && cmdline->rotation_reflection) { unsigned int cmdline_rest, panel_rest; unsigned int cmdline_rot, panel_rot; unsigned int sum_rot, sum_rest; |