diff options
Diffstat (limited to 'drivers/gpu/drm/drm_client_modeset.c')
-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) | |||
859 | * simple XOR between the two handle the addition nicely. | 859 | * simple XOR between the two handle the addition nicely. |
860 | */ | 860 | */ |
861 | cmdline = &connector->cmdline_mode; | 861 | cmdline = &connector->cmdline_mode; |
862 | if (cmdline->specified) { | 862 | if (cmdline->specified && cmdline->rotation_reflection) { |
863 | unsigned int cmdline_rest, panel_rest; | 863 | unsigned int cmdline_rest, panel_rest; |
864 | unsigned int cmdline_rot, panel_rot; | 864 | unsigned int cmdline_rot, panel_rot; |
865 | unsigned int sum_rot, sum_rest; | 865 | unsigned int sum_rot, sum_rest; |