drm/vmwgfx: Skipping fbdev fb pinning for ldu
authorSinclair Yeh <syeh@vmware.com>
Thu, 23 Mar 2017 21:41:21 +0000 (14:41 -0700)
committerSinclair Yeh <syeh@vmware.com>
Fri, 31 Mar 2017 22:21:15 +0000 (15:21 -0700)
commit5c6089a1dfa6e699a9c8ca95df02e8c39b4e8e15
tree2f449acee7366c111dafa0474865330b17437f6d
parent9aa8dcab7e44288c6fd620c5b831d2ca535866c2
drm/vmwgfx: Skipping fbdev fb pinning for ldu

Pinning fbdev's FB at the start of VRAM prevents X from pinning
its FB.  Since for ldu, the fb would be pinned anyway during a
mode set, just skip pinning it in fbdev.

This is not the best solution, but since ldu is not used much
anymore, it seems like a reasonable workaround.

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