]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/vmwgfx: Use __drm_atomic_helper_crtc_reset
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 12 Jun 2020 20:49:40 +0000 (22:49 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 2 Jul 2020 18:25:52 +0000 (20:25 +0200)
commita164347333dde5f7f6aa4e7569c2b550e54f36de
tree568a92aefaa1da0b1428a2744487149bca18a385
parente8b383cb7023c7385337f018227c96db494ec44d
drm/vmwgfx: Use __drm_atomic_helper_crtc_reset

Now also comes with the added benefit of doing a drm_crtc_vblank_off(),
which means vblank state isn't ill-defined and fail-y at driver load
before the first modeset on each crtc.

v2: Compile fix. Oops.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
Cc: Roland Scheidegger <sroland@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200612204940.2134653-1-daniel.vetter@ffwll.ch
Link: https://patchwork.freedesktop.org/patch/msgid/20200612160056.2082681-7-daniel.vetter@ffwll.ch
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c