Skip to content

Commit 8529e37

Browse files
committed
drm/i915/gt: Do not use stolen on MTL
Use smem on MTL due to a HW bug in MTL that prevents reading from stolen memory using LMEM BAR. Cc: Oak Zeng <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Andi Shyti <[email protected]> Cc: Andrzej Hajda <[email protected]> Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Oak Zeng <[email protected]> Reviewed-by: Andrzej Hajda <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 43aa755 commit 8529e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gt/intel_gt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ static int intel_gt_init_scratch(struct intel_gt *gt, unsigned int size)
466466
obj = i915_gem_object_create_lmem(i915, size,
467467
I915_BO_ALLOC_VOLATILE |
468468
I915_BO_ALLOC_GPU_ONLY);
469-
if (IS_ERR(obj))
469+
if (IS_ERR(obj) && !IS_METEORLAKE(i915)) /* Wa_22018444074 */
470470
obj = i915_gem_object_create_stolen(i915, size);
471471
if (IS_ERR(obj))
472472
obj = i915_gem_object_create_internal(i915, size);

0 commit comments

Comments
 (0)