drm/tegra: Track tiling and format in plane state
authorThierry Reding <treding@nvidia.com>
Fri, 28 Nov 2014 12:14:55 +0000 (13:14 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:57 +0000 (10:14 +0100)
commit8f604f8c4dd2d5383f567856450ba12764061c12
tree67dcf2f73bcb748ee5b22a8e3ca70ca5d5cee9f9
parent47802b09a9c2d1f8a562c7fae2f61a8923ac8d06
drm/tegra: Track tiling and format in plane state

Tracking these in the plane state allows them to be computed in the
->atomic_check() callback and reused when applying the configuration in
->atomic_update().

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