diff options
author | Fabien DESSENNE <fabien.dessenne@st.com> | 2017-01-12 17:27:35 +0100 |
---|---|---|
committer | Vincent Abriou <vincent.abriou@st.com> | 2017-02-10 09:34:39 +0100 |
commit | 5e60f595d6cad3279f4653ea43843a3db91b59e5 (patch) | |
tree | dfe8abe4d308feba1f9ada180a7d831ded5e155b /drivers/gpu/drm/sti/sti_drv.h | |
parent | 13f62f54d174d3417c3caaafedf5e22a0a03e442 (diff) | |
download | lwn-5e60f595d6cad3279f4653ea43843a3db91b59e5.tar.gz lwn-5e60f595d6cad3279f4653ea43843a3db91b59e5.zip |
drm/sti: use atomic_helper for commit
Since nonblocking atomic commits are now supported, the driver can
now use drm_atomic_helper_commit().
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Acked-by: Vincent Abriou <vincent.abriou@st.com>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_drv.h')
-rw-r--r-- | drivers/gpu/drm/sti/sti_drv.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/sti/sti_drv.h b/drivers/gpu/drm/sti/sti_drv.h index 4c75845cc9ab..6502ed2d3351 100644 --- a/drivers/gpu/drm/sti/sti_drv.h +++ b/drivers/gpu/drm/sti/sti_drv.h @@ -25,12 +25,6 @@ struct sti_private { struct drm_property *plane_zorder_property; struct drm_device *drm_dev; struct drm_fbdev_cma *fbdev; - - struct { - struct drm_atomic_state *state; - struct work_struct work; - struct mutex lock; - } commit; }; extern struct platform_driver sti_tvout_driver; |