summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/drm.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-10-12 17:40:46 +0200
committerThierry Reding <treding@nvidia.com>2017-12-13 13:42:10 +0100
commit31b02caea3b30b044fe39301aad34886f7fd2556 (patch)
tree70b09517c706fa1ac2a362ef34bfa39648bba1d0 /drivers/gpu/drm/tegra/drm.h
parent7116e9a8022cd468a6a952e1d0d662da73f75ce5 (diff)
downloadblackbird-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.h6
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;
};
OpenPOWER on IntegriCloud