We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87651f3 commit 23346f8Copy full SHA for 23346f8
drivers/gpu/drm/xe/xe_migrate.c
@@ -1350,6 +1350,7 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
1350
1351
/* For sysmem PTE's, need to map them in our hole.. */
1352
if (!IS_DGFX(xe)) {
1353
+ u16 pat_index = xe->pat.idx[XE_CACHE_WB];
1354
u32 ptes, ofs;
1355
1356
ppgtt_ofs = NUM_KERNEL_PDE - 1;
@@ -1409,7 +1410,7 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
1409
1410
pt_bo->update_index = current_update;
1411
1412
addr = vm->pt_ops->pte_encode_bo(pt_bo, 0,
- XE_CACHE_WB, 0);
1413
+ pat_index, 0);
1414
bb->cs[bb->len++] = lower_32_bits(addr);
1415
bb->cs[bb->len++] = upper_32_bits(addr);
1416
}
0 commit comments