]> 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)
commit0125cbe32201568f726218690aedfe2d963445b6
tree78895605df0e036e8b80845aa5669bd86fb3fdab
parentb482605f7939bd4035b2d11a7952dc3da5821c6d
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: 41551280fe533 ("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