projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9817d5f
)
drm/amdgpu: return error when sriov access requests get timeout
author
pding
<Pixel.Ding@amd.com>
Mon, 30 Oct 2017 05:51:54 +0000
(13:51 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:41 +0000
(16:41 -0500)
Reported-by: Sun Gary <Gary.Sun@amd.com>
Signed-off-by: pding <Pixel.Ding@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
index
818ec0f
..
2b435c0
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
+++ b/
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
@@
-446,8
+446,10
@@
static int xgpu_vi_send_access_requests(struct amdgpu_device *adev,
request == IDH_REQ_GPU_FINI_ACCESS ||
request == IDH_REQ_GPU_RESET_ACCESS) {
r = xgpu_vi_poll_msg(adev, IDH_READY_TO_ACCESS_GPU);
- if (r)
- pr_err("Doesn't get ack from pf, continue\n");
+ if (r) {
+ pr_err("Doesn't get ack from pf, give up\n");
+ return r;
+ }
}
return 0;