]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa83b60a7c91cae2e9620c1b5bdbc35820a3240a
tree877536afd737fae1bdcd1634a1fb5d79b455fb59
parentb4f8af6d24a1149a71f14ecb95bb5a085d7523e9
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