Commit b3d6ca4
drm/amdkfd: Handle GPU reset and drain retry fault race
[ Upstream commit 5b57c3c ]
Only check and drain IH1 ring if CAM is not enabled.
If GPU is under reset, don't access IH to drain retry fault.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 0bd968c commit b3d6ca4
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
2343 | 2344 | | |
2344 | 2345 | | |
2345 | 2346 | | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
2346 | 2350 | | |
2347 | 2351 | | |
2348 | 2352 | | |
| |||
2352 | 2356 | | |
2353 | 2357 | | |
2354 | 2358 | | |
| 2359 | + | |
2355 | 2360 | | |
2356 | 2361 | | |
2357 | 2362 | | |
| |||
2535 | 2540 | | |
2536 | 2541 | | |
2537 | 2542 | | |
2538 | | - | |
| 2543 | + | |
2539 | 2544 | | |
2540 | 2545 | | |
2541 | 2546 | | |
| |||
0 commit comments