diff options
-rw-r--r-- | drivers/gpu/drm/arm/malidp_planes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/arm/malidp_planes.c b/drivers/gpu/drm/arm/malidp_planes.c index 8c5ce36147f3..629f634872a4 100644 --- a/drivers/gpu/drm/arm/malidp_planes.c +++ b/drivers/gpu/drm/arm/malidp_planes.c | |||
@@ -221,9 +221,9 @@ static void malidp_de_plane_update(struct drm_plane *plane, | |||
221 | if (plane->state->rotation & DRM_ROTATE_MASK) | 221 | if (plane->state->rotation & DRM_ROTATE_MASK) |
222 | val = ilog2(plane->state->rotation & DRM_ROTATE_MASK) << LAYER_ROT_OFFSET; | 222 | val = ilog2(plane->state->rotation & DRM_ROTATE_MASK) << LAYER_ROT_OFFSET; |
223 | if (plane->state->rotation & DRM_REFLECT_X) | 223 | if (plane->state->rotation & DRM_REFLECT_X) |
224 | val |= LAYER_V_FLIP; | ||
225 | if (plane->state->rotation & DRM_REFLECT_Y) | ||
226 | val |= LAYER_H_FLIP; | 224 | val |= LAYER_H_FLIP; |
225 | if (plane->state->rotation & DRM_REFLECT_Y) | ||
226 | val |= LAYER_V_FLIP; | ||
227 | 227 | ||
228 | /* | 228 | /* |
229 | * always enable pixel alpha blending until we have a way to change | 229 | * always enable pixel alpha blending until we have a way to change |