Commit eca13f3
committed
drm/amdgpu: use the last IB as gang leader v2
It turned out that not the last IB specified is the gang leader,
but instead the last job allocated.
This is a bit unfortunate and not very intuitive for the CS
interface, so try to fix this.
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221115094206.6181-1-christian.koenig@amd.com
Tested-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Fixes: 4624459 ("drm/amdgpu: add gang submit frontend v6")1 parent e17a025 commit eca13f3
2 files changed
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
303 | | - | |
| 304 | + | |
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
| |||
1194 | 1195 | | |
1195 | 1196 | | |
1196 | 1197 | | |
1197 | | - | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1198 | 1202 | | |
1199 | 1203 | | |
1200 | 1204 | | |
1201 | 1205 | | |
1202 | 1206 | | |
1203 | | - | |
| 1207 | + | |
1204 | 1208 | | |
1205 | 1209 | | |
1206 | | - | |
1207 | 1210 | | |
1208 | 1211 | | |
1209 | 1212 | | |
| |||
1237 | 1240 | | |
1238 | 1241 | | |
1239 | 1242 | | |
1240 | | - | |
| 1243 | + | |
1241 | 1244 | | |
1242 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
1243 | 1249 | | |
1244 | 1250 | | |
1245 | 1251 | | |
| |||
1275 | 1281 | | |
1276 | 1282 | | |
1277 | 1283 | | |
1278 | | - | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
1279 | 1288 | | |
1280 | 1289 | | |
1281 | 1290 | | |
| |||
1285 | 1294 | | |
1286 | 1295 | | |
1287 | 1296 | | |
1288 | | - | |
| 1297 | + | |
1289 | 1298 | | |
1290 | 1299 | | |
1291 | 1300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments