intel: Set a preferred SLM size for LNL

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26390>
This commit is contained in:
Rohan Garg
2022-10-11 17:20:04 +02:00
committed by Marge Bot
parent 16483cd4bc
commit cc2dce82bc
+3
View File
@@ -134,6 +134,9 @@ preferred_slm_allocation_size(const struct intel_device_info *devinfo)
if (intel_needs_workaround(devinfo, 14017245111))
return SLM_ENCODES_96K;
if (devinfo->platform == INTEL_PLATFORM_LNL && devinfo->revision == 0)
return SLM_ENCODES_128K;
return 0;
}