projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddbbd3b
)
drm/amd/amdgpu: Print ring name in amdgpu_ib_schedule()
author
Tom St Denis
<tom.stdenis@amd.com>
Mon, 22 Aug 2016 14:54:28 +0000
(10:54 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 23 Aug 2016 17:48:07 +0000
(13:48 -0400)
If the ring isn't ready lets print out which ring name
to help debugging.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
index a31d7ef3032c76965e61a3f3d222938d55074286..f5810f7006685b631a214f864a023480b81a48a5 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
@@
-142,7
+142,7
@@
int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
}
if (!ring->ready) {
- dev_err(adev->dev, "couldn't schedule ib
\n"
);
+ dev_err(adev->dev, "couldn't schedule ib
on ring <%s>\n", ring->name
);
return -EINVAL;
}