]> git.baikalelectronics.ru Git - kernel.git/commit
drm: atmel-hlcdc: Fix vertical scaling
authorJan Leupold <leupold@rsi-elektrotechnik.de>
Wed, 6 Jul 2016 11:22:35 +0000 (13:22 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 6 Sep 2016 12:46:16 +0000 (14:46 +0200)
commitaf90f22bf44f3955671b3a5947969437c66b147e
tree78895605df0e036e8b80845aa5669bd86fb3fdab
parent1372dac0367f9e37512ea4720cf3886bcb42562d
drm: atmel-hlcdc: Fix vertical scaling

The code is applying the same scaling for the X and Y components,
thus making the scaling feature only functional when both components
have the same scaling factor.

Do the s/_w/_h/ replacement where appropriate to fix vertical scaling.

Signed-off-by: Jan Leupold <leupold@rsi-elektrotechnik.de>
Fixes: 6039b0d28632e ("drm: add Atmel HLCDC Display Controller support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c