projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f2d99
)
drm/radeon: Ensure radeon bo is unreserved in radeon_gem_va_ioctl
author
Matthew Dawson
<matthew@mjdsystems.ca>
Mon, 25 Jan 2016 15:34:12 +0000
(10:34 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 25 Jan 2016 15:57:17 +0000
(10:57 -0500)
Found with lockdep while testing gpu reset.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_gem.c
b/drivers/gpu/drm/radeon/radeon_gem.c
index 3dcc5733ff6915b2e2497ca3d4ff800455f49c20..e26c963f2e9304e58f25517114e773b3c85242bd 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_gem.c
+++ b/
drivers/gpu/drm/radeon/radeon_gem.c
@@
-663,6
+663,7
@@
int radeon_gem_va_ioctl(struct drm_device *dev, void *data,
bo_va = radeon_vm_bo_find(&fpriv->vm, rbo);
if (!bo_va) {
args->operation = RADEON_VA_RESULT_ERROR;
+ radeon_bo_unreserve(rbo);
drm_gem_object_unreference_unlocked(gobj);
return -ENOENT;
}