summaryrefslogtreecommitdiff
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2013-11-15 08:06:47 (GMT)
committerThomas Hellstrom <thellstrom@vmware.com>2013-11-18 08:40:05 (GMT)
commitac49251b6bf428b8f4fb1ed8859219f0a72b5db4 (patch)
tree7f1dc32d3caf996ecce1fd6032d955f7f10595dd /include/drm/ttm
parent8d17fb4455eadbf2642e34e5584d0b0de64d33a8 (diff)
downloadlinux-ac49251b6bf428b8f4fb1ed8859219f0a72b5db4.tar.xz
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/ttm')
0 files changed, 0 insertions, 0 deletions