mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
radeonsi/gfx11: remove the INST_PREF_SIZE workaround
The hw does the right thing automatically. (i.e. enables or disables the feature) Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21041>
This commit is contained in:
parent
f6c30af00c
commit
d21850f753
1 changed files with 0 additions and 7 deletions
|
|
@ -671,13 +671,6 @@ static unsigned si_get_vs_vgpr_comp_cnt(struct si_screen *sscreen, struct si_sha
|
|||
|
||||
unsigned si_get_shader_prefetch_size(struct si_shader *shader)
|
||||
{
|
||||
/* Return 0 for some A0 chips only. Other chips don't need it. */
|
||||
if ((shader->selector->screen->info.family == CHIP_GFX1100 ||
|
||||
shader->selector->screen->info.family == CHIP_GFX1102 ||
|
||||
shader->selector->screen->info.family == CHIP_GFX1103_R1) &&
|
||||
shader->selector->screen->info.chip_rev == 0)
|
||||
return 0;
|
||||
|
||||
/* inst_pref_size is calculated in cache line size granularity */
|
||||
assert(!(shader->bo->b.b.width0 & 0x7f));
|
||||
return MIN2(shader->bo->b.b.width0, 8064) / 128;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue