diff options
author | Thierry Reding <treding@nvidia.com> | 2017-10-12 17:40:46 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-12-13 13:42:10 +0100 |
commit | 31b02caea3b30b044fe39301aad34886f7fd2556 (patch) | |
tree | 70b09517c706fa1ac2a362ef34bfa39648bba1d0 /drivers/gpu/drm/tegra/drm.h | |
parent | 7116e9a8022cd468a6a952e1d0d662da73f75ce5 (diff) | |
download | blackbird-obmc-linux-31b02caea3b30b044fe39301aad34886f7fd2556.tar.gz blackbird-obmc-linux-31b02caea3b30b044fe39301aad34886f7fd2556.zip |
drm/tegra: Use atomic commit helpers
There's no reason not to use them, and they already get all the
semantics right, so rip out all of the custom code and replace it by the
helpers.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r-- | drivers/gpu/drm/tegra/drm.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h index ddae331ad8b6..a3d84c4af357 100644 --- a/drivers/gpu/drm/tegra/drm.h +++ b/drivers/gpu/drm/tegra/drm.h @@ -62,12 +62,6 @@ struct tegra_drm { unsigned int pitch_align; - struct { - struct drm_atomic_state *state; - struct work_struct work; - struct mutex lock; - } commit; - struct drm_atomic_state *state; }; |