[Intel-xe] [PATCH v2 03/17] fixup! drm/i915/display: Allow fbdev to allocate stolen memory
Lucas De Marchi
lucas.demarchi at intel.com
Fri Apr 21 22:32:44 UTC 2023
---
drivers/gpu/drm/i915/display/intel_fbdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_fbdev.c b/drivers/gpu/drm/i915/display/intel_fbdev.c
index 46447dd58f3f..2d2388cbc626 100644
--- a/drivers/gpu/drm/i915/display/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/display/intel_fbdev.c
@@ -349,7 +349,7 @@ static int intelfb_create(struct drm_fb_helper *helper,
else
info->fix.smem_start =
pci_resource_start(pdev, 2) +
- xe_bo_addr(obj, 0, GEN8_PAGE_SIZE, &lmem);
+ xe_bo_addr(obj, 0, XE_PAGE_SIZE, &lmem);
info->fix.smem_len = obj->ttm.base.size;
} else {
--
2.39.0
More information about the Intel-xe
mailing list