summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2013-11-15 00:06:47 -0800
committerThomas Hellstrom <thellstrom@vmware.com>2013-11-18 00:40:05 -0800
commitac49251b6bf428b8f4fb1ed8859219f0a72b5db4 (patch)
tree7f1dc32d3caf996ecce1fd6032d955f7f10595dd /include/drm
parent8d17fb4455eadbf2642e34e5584d0b0de64d33a8 (diff)
drm/vmwgfx: Fix false lockdep warning
A lockdep warning is hit when evicting surfaces and reserving the backup buffer. Since this buffer can only be reserved by the process holding the surface reservation or by the buffer eviction processes that use tryreserve, there is no real deadlock here, but there's no other way to silence lockdep than to use a tryreserve. This means the reservation might fail if the buffer is about to be evicted or swapped out, but we now have code in place to handle that reasonably well. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions