]> Git Repo - linux.git/commitdiff
drm/mali-dp: Rectify the width and height passed to rotmem_required()
authorAyan Kumar Halder <[email protected]>
Mon, 18 Jun 2018 17:08:43 +0000 (18:08 +0100)
committerLiviu Dudau <[email protected]>
Mon, 18 Jun 2018 17:08:43 +0000 (18:08 +0100)
The width and height needs to be swapped

Signed-off-by: Ayan Kumar halder <[email protected]>
Reviewed-by: Brian Starkey <[email protected]>
Reviewed-by: Alexandru Gheorghe <[email protected]>
Acked-by: Liviu Dudau <[email protected]>
[rebased on top of v4.18-rc1]
Signed-off-by: Liviu Dudau <[email protected]>
drivers/gpu/drm/arm/malidp_planes.c

index 4af3c1fabb2303193f84ffc823f81c89e5587cb4..29409a65d864760e674f787cb5279cdbff5b91a7 100644 (file)
@@ -236,8 +236,8 @@ static int malidp_de_plane_check(struct drm_plane *plane,
        if (state->rotation & MALIDP_ROTATED_MASK) {
                int val;
 
-               val = mp->hwdev->hw->rotmem_required(mp->hwdev, state->crtc_h,
-                                                    state->crtc_w,
+               val = mp->hwdev->hw->rotmem_required(mp->hwdev, state->crtc_w,
+                                                    state->crtc_h,
                                                     fb->format->format);
                if (val < 0)
                        return val;
This page took 0.076107 seconds and 4 git commands to generate.