]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit788b45c5115ea8e598798230f81ee0b5a2faf87e
tree292513b31fc1829df3283d0a99326eee2b308a8a
parentd25481c3263f53f0898fede6bfca1827ee6e3af3
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