Commit 3d138c1
drm/amdgpu: revert "fix deadlock of reservation between cs and gpu reset v2"
This reverts commit 10e709c.
The patch doesn't work at all:
1. The CS can still be blocked because of amdgpu_ctx_add_fence().
2. The order of submission isn't correct any more.
3. We could end up using freed up memory because we now drop the
ctx reference to early.
This needs to be fixed cleanly by doing the context handling after the BO
handling, but this is a larger task just avoid the obvious crashes for now.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk Liu monk.liu@amd.com
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 403df1f commit 3d138c1
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
1156 | | - | |
1157 | 1156 | | |
1158 | 1157 | | |
1159 | 1158 | | |
| |||
1211 | 1210 | | |
1212 | 1211 | | |
1213 | 1212 | | |
1214 | | - | |
1215 | | - | |
1216 | 1213 | | |
1217 | | - | |
1218 | 1214 | | |
1219 | 1215 | | |
1220 | 1216 | | |
| |||
0 commit comments