]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'vmwgfx-fixes-2021-04-14' of gitlab.freedesktop.org:zack/vmwgfx into drm...
authorDave Airlie <airlied@redhat.com>
Sat, 17 Apr 2021 23:26:54 +0000 (09:26 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 17 Apr 2021 23:27:00 +0000 (09:27 +1000)
commit1e0adbbbb9bbb9e37e00d07c7d24c1f9ae5a1eb2
treecfdc57e0d8343f65a59d31eef1ceb0544beda18e
parentc9e625d16a2d2562fd4a1f81f4236025bb4ccadf
parent44e5b9c6840dd0ad623046568646b78b7b1b0c79
Merge tag 'vmwgfx-fixes-2021-04-14' of gitlab.freedesktop.org:zack/vmwgfx into drm-fixes

vmwgfx fixes for regressions in 5.12

Here's a set of 3 patches fixing ugly regressions
in the vmwgfx driver. We broke lock initialization
code and ended up using spinlocks before initialization
breaking lockdep.
Also there was a bit of a fallout from drm changes
which made the core validate that unreferenced buffers
have been unpinned. vmwgfx pinning code predates a lot
of the core drm and wasn't written to account for those
semantics. Fortunately changes required to fix it
are not too intrusive.
The changes have been validated by our internal ci.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f7add0a2-162e-3bd2-b1be-344a94f2acbf@vmware.com