drm/tegra: Fix planar formats on Tegra186 and later
authorThierry Reding <treding@nvidia.com>
Wed, 12 Jan 2022 08:40:34 +0000 (09:40 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 1 Mar 2022 10:13:09 +0000 (11:13 +0100)
commit28aa30b08de6f4b346f25f7c8bb5ba3739c1879c
tree732c7af0eb157c9957ce4371ba97c5f1bd3a6842
parent025c6643a81564f066d8381b9e2f4603e0f8438f
drm/tegra: Fix planar formats on Tegra186 and later

Use the correct pitch when programming the DC_WIN_PLANAR_STORAGE_UV
register's PITCH_U field to ensure the correct value is used in all
cases. This isn't currently causing any problems because the pitch
for both U and V planes is always the same.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hub.c