Commit 94f4c49
committed
drm/amdgpu: partial revert "remove ctx->lock" v2
This reverts commit 461fa7b.
We are missing some inter dependencies here so re-introduce the lock
until we have figured out what's missing. Just drop/retake it while
adding dependencies.
v2: still drop the lock while adding dependencies
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> (v1)
Fixes: 461fa7b ("drm/amdgpu: remove ctx->lock")
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220419110633.166236-1-christian.koenig@amd.com1 parent b089c0a commit 94f4c49
3 files changed
Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
709 | 711 | | |
710 | 712 | | |
711 | 713 | | |
| 714 | + | |
712 | 715 | | |
713 | 716 | | |
714 | 717 | | |
| |||
1157 | 1160 | | |
1158 | 1161 | | |
1159 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1160 | 1166 | | |
1161 | 1167 | | |
1162 | 1168 | | |
| |||
1167 | 1173 | | |
1168 | 1174 | | |
1169 | 1175 | | |
1170 | | - | |
| 1176 | + | |
1171 | 1177 | | |
1172 | 1178 | | |
1173 | 1179 | | |
1174 | 1180 | | |
1175 | | - | |
| 1181 | + | |
1176 | 1182 | | |
1177 | 1183 | | |
1178 | 1184 | | |
1179 | 1185 | | |
1180 | | - | |
| 1186 | + | |
1181 | 1187 | | |
1182 | 1188 | | |
1183 | 1189 | | |
1184 | 1190 | | |
1185 | | - | |
| 1191 | + | |
1186 | 1192 | | |
1187 | 1193 | | |
1188 | 1194 | | |
1189 | 1195 | | |
1190 | | - | |
| 1196 | + | |
1191 | 1197 | | |
1192 | 1198 | | |
1193 | 1199 | | |
1194 | 1200 | | |
1195 | | - | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
1196 | 1204 | | |
1197 | 1205 | | |
1198 | 1206 | | |
| |||
1368 | 1376 | | |
1369 | 1377 | | |
1370 | 1378 | | |
| 1379 | + | |
1371 | 1380 | | |
1372 | 1381 | | |
1373 | 1382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
| |||
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
| 361 | + | |
360 | 362 | | |
361 | 363 | | |
362 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments