aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
index 161f8b2549aa..07dfd823cc30 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
@@ -829,7 +829,7 @@ static void vmw_lastclose(struct drm_device *dev)
829 829
830 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 830 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
831 set.crtc = crtc; 831 set.crtc = crtc;
832 ret = crtc->funcs->set_config(&set); 832 ret = drm_mode_set_config_internal(&set);
833 WARN_ON(ret != 0); 833 WARN_ON(ret != 0);
834 } 834 }
835 835