drm/armada: only enable HSMOOTH if scaling horizontally
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 8 Jul 2017 09:22:19 +0000 (10:22 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 8 Dec 2017 12:19:55 +0000 (12:19 +0000)
commit73c51abd9d9371bc02a8c6717b9758bdee38b20e
treed1f614a871b6a7d79c1e65e0aa7afa0dcfaf116c
parent214612f9b7ae2395d1b9d1c51d1e994fcd598b2c
drm/armada: only enable HSMOOTH if scaling horizontally

Only enable the HSMOOTH control bit if we are scaling horizontally,
otherwise it makes no sense to enable the horizontal scaler.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/armada/armada_crtc.c
drivers/gpu/drm/armada/armada_overlay.c