intel/l3: Adjust URB weight calculation for gfx12.5+.
Gfx12.5+ devices use special-purpose memory for the URB instead of requiring a portion of the L3 to be carved out. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25493>
This commit is contained in:
committed by
Francisco Jerez
parent
6b9583734b
commit
ed5ff8f297
@@ -262,7 +262,7 @@ intel_get_default_l3_weights(const struct intel_device_info *devinfo,
|
||||
struct intel_l3_weights w = {{ 0 }};
|
||||
|
||||
w.w[INTEL_L3P_SLM] = devinfo->ver < 11 && needs_slm;
|
||||
w.w[INTEL_L3P_URB] = 1.0;
|
||||
w.w[INTEL_L3P_URB] = devinfo->verx10 < 125 ? 1.0 : 0.0;
|
||||
|
||||
if (devinfo->ver >= 8) {
|
||||
w.w[INTEL_L3P_ALL] = 1.0;
|
||||
|
||||
Reference in New Issue
Block a user