drm/tegra: dc: Apply clipping to the plane
authorDmitry Osipenko <digetx@gmail.com>
Wed, 14 Jun 2017 23:18:30 +0000 (02:18 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Jun 2017 12:20:11 +0000 (14:20 +0200)
commit7d2058571aafad239e7f1a3c04a830c6ec6a426f
treea3f397a07e71cb866de307b4d85b7dc2574ec1c5
parent6ac1571b4c60cb73a1f174b15ea93f7e38d74a88
drm/tegra: dc: Apply clipping to the plane

On Tegra20 an overlay plane should be clipped, otherwise its output is
distorted once plane crosses display boundary.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c