Commit cfb71566 authored by Sean Paul's avatar Sean Paul

Merge drm-misc-next-fixes-2019-07-18 into drm-misc-fixes

Picking up 7aaddd96 ("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: default avatarSean Paul <seanpaul@chromium.org>
parents 5f9e832c 7aaddd96
...@@ -859,7 +859,7 @@ bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation) ...@@ -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. * simple XOR between the two handle the addition nicely.
*/ */
cmdline = &connector->cmdline_mode; cmdline = &connector->cmdline_mode;
if (cmdline->specified) { if (cmdline->specified && cmdline->rotation_reflection) {
unsigned int cmdline_rest, panel_rest; unsigned int cmdline_rest, panel_rest;
unsigned int cmdline_rot, panel_rot; unsigned int cmdline_rot, panel_rot;
unsigned int sum_rot, sum_rest; unsigned int sum_rot, sum_rest;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment