drm/tegra: dc: Use base atomic state helpers
authorThierry Reding <treding@nvidia.com>
Wed, 28 Jan 2015 14:01:22 +0000 (15:01 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 2 Apr 2015 16:49:20 +0000 (18:49 +0200)
commit3b59b7ac02e434f267f7cb1ef8fe48c23ddbe9a2
tree877536afd737fae1bdcd1634a1fb5d79b455fb59
parentf5e7840b0c4368f8cdbb055188c2a0eef50c3052
drm/tegra: dc: Use base atomic state helpers

Instead of duplicating the code, make use of the newly introduced atomic
state duplicate and destroy helpers. This allows changes to the base
atomic state handling to automatically propagate to the Tegra driver and
thereby prevent breakage resulting from both copies going out of sync.

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