Commit cd554e1
drm/xe/pf: Assert LMEM provisioning is done only on DGFX
The Local Memory (aka VRAM) is only available on DGFX platforms.
We shouldn't attempt to provision VFs with LMEM or attempt to
update the LMTT on non-DGFX platforms. Add missing asserts that
would enforce that and fix release code that could crash on iGFX
due to uninitialized LMTT.
Fixes: 0698ff5 ("drm/xe/pf: Update the LMTT when freeing VF GT config")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240607153155.1592-1-michal.wajdeczko@intel.com
(cherry picked from commit b321cb8)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>1 parent 7c87711 commit cd554e1
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1274 | 1274 | | |
1275 | 1275 | | |
1276 | 1276 | | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1277 | 1280 | | |
1278 | 1281 | | |
1279 | 1282 | | |
| |||
1292 | 1295 | | |
1293 | 1296 | | |
1294 | 1297 | | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
1295 | 1301 | | |
1296 | 1302 | | |
1297 | 1303 | | |
| |||
1337 | 1343 | | |
1338 | 1344 | | |
1339 | 1345 | | |
| 1346 | + | |
1340 | 1347 | | |
1341 | 1348 | | |
1342 | 1349 | | |
| |||
1355 | 1362 | | |
1356 | 1363 | | |
1357 | 1364 | | |
| 1365 | + | |
1358 | 1366 | | |
1359 | 1367 | | |
1360 | 1368 | | |
| |||
1745 | 1753 | | |
1746 | 1754 | | |
1747 | 1755 | | |
| 1756 | + | |
1748 | 1757 | | |
1749 | 1758 | | |
1750 | 1759 | | |
1751 | | - | |
1752 | | - | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
1753 | 1764 | | |
1754 | 1765 | | |
1755 | 1766 | | |
| |||
0 commit comments