]> git.baikalelectronics.ru Git - kernel.git/commit
drm: mali-dp: Fix bug on scaling with rotation
authorAyan Halder <ayan.halder@arm.com>
Tue, 19 Dec 2017 16:20:16 +0000 (16:20 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 14 Mar 2018 11:38:02 +0000 (11:38 +0000)
commite03375b11d661f350e64fd4ead541599b67f27eb
treeffbf0a84307a8478de0b5f6f9398d0cabec53c99
parent3a93be2ab528bc2b234c4d1793671c1495b9385a
drm: mali-dp: Fix bug on scaling with rotation

In the case, when the user wants to scale and rotate a layer by 90/270
degrees, the scaling engine input dimensions' parameters ie width and
height needs to be swapped with respect to the layer's input dimensions.
This means scaling engine input height should be set to layer's input
width and scaling engine input width should be set to
layer's input height.

Signed-off-by: Ayan Halder <ayan.halder@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/malidp_crtc.c