summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2016-11-04 18:51:42 +0100
committerRob Clark <robdclark@gmail.com>2016-11-27 17:32:27 +0100
commit870d738acb7ebb0d4f6192c9d328cae95479715b (patch)
tree9d8ad211c6b5d82cfb2cf4122a99ffc81c9c3f23 /drivers/gpu/drm/msm/msm_drv.h
parentdrm/msm/mdp5: introduce mdp5_hw_pipe (diff)
downloadlinux-870d738acb7ebb0d4f6192c9d328cae95479715b.tar.xz
linux-870d738acb7ebb0d4f6192c9d328cae95479715b.zip
drm/msm: subclass drm_atomic_state
This will give the kms backends a slot to stash their own hw specific global state. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.h')
-rw-r--r--drivers/gpu/drm/msm/msm_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h
index 03ce6a18ac40..175b2bfae5e1 100644
--- a/drivers/gpu/drm/msm/msm_drv.h
+++ b/drivers/gpu/drm/msm/msm_drv.h
@@ -179,6 +179,9 @@ int msm_atomic_check(struct drm_device *dev,
struct drm_atomic_state *state);
int msm_atomic_commit(struct drm_device *dev,
struct drm_atomic_state *state, bool nonblock);
+struct drm_atomic_state *msm_atomic_state_alloc(struct drm_device *dev);
+void msm_atomic_state_clear(struct drm_atomic_state *state);
+void msm_atomic_state_free(struct drm_atomic_state *state);
int msm_register_address_space(struct drm_device *dev,
struct msm_gem_address_space *aspace);