OSDN Git Service

dma-buf/resv: fix exclusive fence get
authorQiang Yu <yuq825@gmail.com>
Sun, 22 Sep 2019 07:49:00 +0000 (15:49 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Sep 2019 12:18:46 +0000 (13:18 +0100)
commit7fbd0782bf94d46993a7e5c08c0feda8dcab1f76
treeee5bbbb85fa326c3cc911ac566c82008967da6ac
parentfb2ee9bf084bcaeff1e5be100decc0eacb4af2d5
dma-buf/resv: fix exclusive fence get

This causes kernel crash when testing lima driver.

Cc: Christian König <christian.koenig@amd.com>
Fixes: b8c036dfc66f ("dma-buf: simplify reservation_object_get_fences_rcu a bit")
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190922074900.853-1-yuq825@gmail.com
drivers/dma-buf/dma-resv.c