drm/xe/bmg: Update Wa_16023588340
authorVinay Belgaumkar <vinay.belgaumkar@intel.com>
Thu, 12 Jun 2025 07:09:01 +0000 (00:09 -0700)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 19 Jun 2025 14:14:47 +0000 (16:14 +0200)
This allows for additional L2 caching modes.

Fixes: 01570b446939 ("drm/xe/bmg: implement Wa_16023588340")
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Link: https://lore.kernel.org/r/20250612-wa-14022085890-v4-2-94ba5dcc1e30@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 6ab42fa03d4c88a0ddf5e56e62794853b198e7bf)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_gt.c

index 0e5d243c94517b57b4841f32afc6e4d869033b5f..6c4cb9576fb6258962d800e8cb047f871f66e3d7 100644 (file)
@@ -118,7 +118,7 @@ static void xe_gt_enable_host_l2_vram(struct xe_gt *gt)
                xe_gt_mcr_multicast_write(gt, XE2_GAMREQSTRM_CTRL, reg);
        }
 
-       xe_gt_mcr_multicast_write(gt, XEHPC_L3CLOS_MASK(3), 0x3);
+       xe_gt_mcr_multicast_write(gt, XEHPC_L3CLOS_MASK(3), 0xF);
        xe_force_wake_put(gt_to_fw(gt), fw_ref);
 }