[PATCH 2/3] drm/xe/pf: Request 64K aligned allocations for LMTT PD
Michal Wajdeczko
michal.wajdeczko at intel.com
Tue Feb 13 21:24:17 UTC 2024
Use explicit alignment flag to match hardware requirement.
Bspec: 52404, 67468
Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Michał Winiarski <michal.winiarski at intel.com>
---
drivers/gpu/drm/xe/xe_lmtt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_lmtt.c b/drivers/gpu/drm/xe/xe_lmtt.c
index 0d7c5514e092..dfb0e1887615 100644
--- a/drivers/gpu/drm/xe/xe_lmtt.c
+++ b/drivers/gpu/drm/xe/xe_lmtt.c
@@ -71,7 +71,7 @@ static struct xe_lmtt_pt *lmtt_pt_alloc(struct xe_lmtt *lmtt, unsigned int level
lmtt->ops->lmtt_pte_num(level)),
ttm_bo_type_kernel,
XE_BO_CREATE_VRAM_IF_DGFX(lmtt_to_tile(lmtt)) |
- XE_BO_CREATE_PINNED_BIT);
+ XE_BO_NEEDS_64K | XE_BO_CREATE_PINNED_BIT);
if (IS_ERR(bo)) {
err = PTR_ERR(bo);
goto out_free_pt;
--
2.43.0
More information about the Intel-xe
mailing list