diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c index 18e9dff2f1b2..fd7504b37e3b 100644 --- a/drivers/gpu/drm/omapdrm/dss/dispc.c +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c @@ -1819,13 +1819,13 @@ static void dispc_ovl_set_rotation_attrs(enum omap_plane_id plane, u8 rotation, vidrot = 2; break; case DRM_MODE_ROTATE_90: - vidrot = 3; + vidrot = 1; break; case DRM_MODE_ROTATE_180: vidrot = 0; break; case DRM_MODE_ROTATE_270: - vidrot = 1; + vidrot = 3; break; } } else {