|
@@ -187,13 +187,8 @@ static void malidp_de_plane_update(struct drm_plane *plane,
|
|
|
/* convert src values from Q16 fixed point to integer */
|
|
|
src_w = plane->state->src_w >> 16;
|
|
|
src_h = plane->state->src_h >> 16;
|
|
|
- if (plane->state->rotation & MALIDP_ROTATED_MASK) {
|
|
|
- dest_w = plane->state->crtc_h;
|
|
|
- dest_h = plane->state->crtc_w;
|
|
|
- } else {
|
|
|
- dest_w = plane->state->crtc_w;
|
|
|
- dest_h = plane->state->crtc_h;
|
|
|
- }
|
|
|
+ dest_w = plane->state->crtc_w;
|
|
|
+ dest_h = plane->state->crtc_h;
|
|
|
|
|
|
malidp_hw_write(mp->hwdev, ms->format, mp->layer->base);
|
|
|
|