diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2013-11-15 09:06:47 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2013-11-18 09:40:05 +0100 |
commit | ac49251b6bf428b8f4fb1ed8859219f0a72b5db4 (patch) | |
tree | 7f1dc32d3caf996ecce1fd6032d955f7f10595dd /include | |
parent | drm/ttm: Allow execbuf util reserves without ticket (diff) | |
download | linux-ac49251b6bf428b8f4fb1ed8859219f0a72b5db4.tar.xz linux-ac49251b6bf428b8f4fb1ed8859219f0a72b5db4.zip |
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