diff options
author | Rob Clark <robdclark@gmail.com> | 2014-11-08 13:21:06 -0500 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-11-16 14:27:37 -0500 |
commit | cf3a7e4ce08e6876cdcb80390876647f28a7cf8f (patch) | |
tree | 2ecdc6e982adcf0b25767293757dc6736d2b4173 /drivers/gpu/drm/msm/msm_drv.h | |
parent | 10291bff0a5f811310ac2f6d0e382d00907a2943 (diff) | |
download | lwn-cf3a7e4ce08e6876cdcb80390876647f28a7cf8f.tar.gz lwn-cf3a7e4ce08e6876cdcb80390876647f28a7cf8f.zip |
drm/msm: atomic core bits
The core parts for async commit.
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 4a7e8b8ff649..4b52d752bb6e 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -39,7 +39,10 @@ #endif #include <drm/drmP.h> +#include <drm/drm_atomic.h> +#include <drm/drm_atomic_helper.h> #include <drm/drm_crtc_helper.h> +#include <drm/drm_plane_helper.h> #include <drm/drm_fb_helper.h> #include <drm/msm_drm.h> #include <drm/drm_gem.h> @@ -141,6 +144,9 @@ void __msm_fence_worker(struct work_struct *work); (_cb)->func = _func; \ } while (0) +int msm_atomic_commit(struct drm_device *dev, + struct drm_atomic_state *state, bool async); + int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu); int msm_wait_fence_interruptable(struct drm_device *dev, uint32_t fence, |