diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2013-11-15 12:06:47 +0400 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2013-11-18 12:40:05 +0400 |
commit | ac49251b6bf428b8f4fb1ed8859219f0a72b5db4 (patch) | |
tree | 7f1dc32d3caf996ecce1fd6032d955f7f10595dd /include | |
parent | 8d17fb4455eadbf2642e34e5584d0b0de64d33a8 (diff) | |
download | linux-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')
0 files changed, 0 insertions, 0 deletions