drm/vmwgfx: Fix LDU X blank screen until mode change issue
authorSinclair Yeh <syeh@vmware.com>
Thu, 23 Mar 2017 21:42:36 +0000 (14:42 -0700)
committerSinclair Yeh <syeh@vmware.com>
Fri, 31 Mar 2017 22:21:15 +0000 (15:21 -0700)
commite9cebe837be720af5972959d2ea295ece3be3721
tree292513b31fc1829df3283d0a99326eee2b308a8a
parent5c6089a1dfa6e699a9c8ca95df02e8c39b4e8e15
drm/vmwgfx: Fix LDU X blank screen until mode change issue

vmw_ldu_crtc_helper_commit() is not called if
drm_atomic_crtc_needs_modeset() decides nothing related to CRTC timing has
changed.

So a better place for this code is in vmw_ldu_primary_plane_atomic_update()
since we will need to update ld->fb every time the FB is updated.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c