aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
diff options
context:
space:
mode:
authorDeepak Rawat <drawat@vmware.com>2018-09-26 17:17:33 -0700
committerThomas Hellstrom <thellstrom@vmware.com>2018-12-05 10:00:43 +0100
commitb4fa61ba05f2afa17558914fdd2b819e9e7e466f (patch)
tree1af1ccf84430d858ec6baf5af038ba844c49108e /drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
parentdrm/vmwgfx: Use atomic helper function for dirty fb IOCTL (diff)
downloadlinux-dev-b4fa61ba05f2afa17558914fdd2b819e9e7e466f.tar.xz
linux-dev-b4fa61ba05f2afa17558914fdd2b819e9e7e466f.zip
drm/vmwgfx: Don't clear mode::type anymore
With kernel commit "drm/modes: Kill off the oddball DRM_MODE_TYPE_CRTC_C vs. DRM_MODE_TYPE_BUILTIN handling", no need to clear mode::type for user-space bug. Signed-off-by: Deepak Rawat <drawat@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
index 4a060e6e8297..9f645aa00c48 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
@@ -990,7 +990,7 @@ static const struct drm_crtc_funcs vmw_stdu_crtc_funcs = {
.reset = vmw_du_crtc_reset,
.atomic_duplicate_state = vmw_du_crtc_duplicate_state,
.atomic_destroy_state = vmw_du_crtc_destroy_state,
- .set_config = vmw_kms_set_config,
+ .set_config = drm_atomic_helper_set_config,
.page_flip = vmw_stdu_crtc_page_flip,
};