projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad7fda2
)
drm/mali-dp: Rectify the width and height passed to rotmem_required()
author
Ayan Kumar Halder
<
[email protected]
>
Mon, 18 Jun 2018 17:08:43 +0000
(18:08 +0100)
committer
Liviu 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/arm/malidp_planes.c
b/drivers/gpu/drm/arm/malidp_planes.c
index 4af3c1fabb2303193f84ffc823f81c89e5587cb4..29409a65d864760e674f787cb5279cdbff5b91a7 100644
(file)
--- a/
drivers/gpu/drm/arm/malidp_planes.c
+++ b/
drivers/gpu/drm/arm/malidp_planes.c
@@
-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;