artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b68e9d
)
drm/amdgpu: Refine IB schedule error logging
author
jsg
<jsg@openbsd.org>
Mon, 20 May 2024 04:53:54 +0000
(
04:53
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 20 May 2024 04:53:54 +0000
(
04:53
+0000)
From Lijo Lazar
1e2c28e74a823aa36821c5c68e7834ca7e4fbb9b
in linux-6.6.y/6.6.31
4b18a91faf1752f9bd69a4ed3aed2c8f6e5b0528
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_job.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_job.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_job.c
index
78476bc
..
de9d7f3
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_job.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_job.c
@@
-300,12
+300,15
@@
static struct dma_fence *amdgpu_job_run(struct drm_sched_job *sched_job)
dma_fence_set_error(finished, -ECANCELED);
if (finished->error < 0) {
- DRM_INFO("Skip scheduling IBs!\n");
+ dev_dbg(adev->dev, "Skip scheduling IBs in ring(%s)",
+ ring->name);
} else {
r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, job,
&fence);
if (r)
- DRM_ERROR("Error scheduling IBs (%d)\n", r);
+ dev_err(adev->dev,
+ "Error scheduling IBs (%d) in ring(%s)", r,
+ ring->name);
}
job->job_run_counter++;