提交 c6cf387e 编写于 作者: A Ayan Kumar Halder 提交者: Liviu Dudau

drm/mali-dp: Rectify the width and height passed to rotmem_required()

The width and height needs to be swapped
Signed-off-by: NAyan Kumar halder <ayan.halder@arm.com>
Reviewed-by: NBrian Starkey <brian.starkey@arm.com>
Reviewed-by: NAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Acked-by: NLiviu Dudau <liviu.dudau@arm.com>
[rebased on top of v4.18-rc1]
Signed-off-by: NLiviu Dudau <liviu.dudau@arm.com>
上级 ad7fda2e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册