drm/tegra: Do not reference tegra_plane_funcs directly
authorThierry Reding <treding@nvidia.com>
Thu, 9 Sep 2021 12:08:24 +0000 (14:08 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 13:07:06 +0000 (14:07 +0100)
commit40dc962dfb9ebb389c9853b0198d52bcf629986b
treeb91b1f8eae0d03ab3681cd18a1de84009bfb7649
parent1f39b1dfa53c84b56d7ad37fed44afda7004959d
drm/tegra: Do not reference tegra_plane_funcs directly

Instead of referencing the tegra_plane_funcs struct directly, use each
plane's vtable instead. This makes it more future-proof in case any of
the planes ever use a different set of functions.

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