diff options
author | Rob Clark <robdclark@gmail.com> | 2016-11-04 20:51:42 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-11-27 19:32:27 +0300 |
commit | 870d738acb7ebb0d4f6192c9d328cae95479715b (patch) | |
tree | 9d8ad211c6b5d82cfb2cf4122a99ffc81c9c3f23 /drivers/gpu/drm/msm/msm_drv.h | |
parent | c056b55dc672cbc42e8814ef45726ca22e01ef9e (diff) | |
download | linux-870d738acb7ebb0d4f6192c9d328cae95479715b.tar.xz |
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.h | 3 |
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); |