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.c | |
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.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 1456b1c3e890..d3b791b7ddef 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -29,6 +29,8 @@ static void msm_fb_output_poll_changed(struct drm_device *dev) static const struct drm_mode_config_funcs mode_config_funcs = { .fb_create = msm_framebuffer_create, .output_poll_changed = msm_fb_output_poll_changed, + .atomic_check = drm_atomic_helper_check, + .atomic_commit = msm_atomic_commit, }; int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu) @@ -294,6 +296,8 @@ static int msm_load(struct drm_device *dev, unsigned long flags) goto fail; } + drm_mode_config_reset(dev); + #ifdef CONFIG_DRM_MSM_FBDEV priv->fbdev = msm_fbdev_init(dev); #endif |