mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
intel/genxml/xe2: Remove L3ALLOC
This register don't exist in Xe2 and there is no Bspec page with another register to be programmed with L3 allocation layout so intel_get_l3_config() can also always return NULL for Xe2. Still allowing intel_get_l3_config() to return non-null because intel_l3_config is used to calculate TBIMR parameters, see intel_calculate_tile_dimensions(). Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26742>
This commit is contained in:
parent
36012af17f
commit
df0fe0dfbd
3 changed files with 5 additions and 0 deletions
|
|
@ -833,6 +833,7 @@ static void
|
|||
iris_emit_l3_config(struct iris_batch *batch,
|
||||
const struct intel_l3_config *cfg)
|
||||
{
|
||||
#if GFX_VER < 20
|
||||
assert(cfg || GFX_VER >= 12);
|
||||
|
||||
#if GFX_VER >= 12
|
||||
|
|
@ -870,6 +871,7 @@ iris_emit_l3_config(struct iris_batch *batch,
|
|||
#endif
|
||||
}
|
||||
}
|
||||
#endif /* GFX_VER < 20 */
|
||||
}
|
||||
|
||||
#if GFX_VER == 9
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<import name="gen125.xml">
|
||||
<exclude name="3DSTATE_CLEAR_PARAMS" />
|
||||
<exclude name="CLEAR_COLOR" />
|
||||
<exclude name="L3ALLOC" />
|
||||
</import>
|
||||
<enum name="PREF_SLM_ALLOCATION_SIZE">
|
||||
<value name="SLM_ENCODES_0K" value="0" />
|
||||
|
|
|
|||
|
|
@ -900,6 +900,7 @@ genX(emit_l3_config)(struct anv_batch *batch,
|
|||
const struct anv_device *device,
|
||||
const struct intel_l3_config *cfg)
|
||||
{
|
||||
#if GFX_VER < 20
|
||||
UNUSED const struct intel_device_info *devinfo = device->info;
|
||||
|
||||
#if GFX_VER >= 12
|
||||
|
|
@ -942,6 +943,7 @@ genX(emit_l3_config)(struct anv_batch *batch,
|
|||
l3cr.AllAllocation = cfg->n[INTEL_L3P_ALL];
|
||||
}
|
||||
}
|
||||
#endif /* GFX_VER < 20 */
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue