• T
    drm/vmwgfx: Fix false lockdep warning · ac49251b
    Thomas Hellstrom 提交于
    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: NThomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: NJakob Bornecrantz <jakob@vmware.com>
    ac49251b
vmwgfx_resource.c 34.3 KB