mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
radeonsi/gfx10: double the number of tessellation offchip buffers per SE
Each gfx10 shader engine corresponds to two gfx9 shader engines, so scale the number of offchip buffers accordingly. Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
2afd3c421d
commit
0bf3e6fae7
1 changed files with 4 additions and 2 deletions
|
|
@ -1031,9 +1031,11 @@ radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
|||
*/
|
||||
unsigned max_offchip_buffers_per_se;
|
||||
|
||||
if (sscreen->info.chip_class >= GFX10)
|
||||
max_offchip_buffers_per_se = 256;
|
||||
/* Only certain chips can use the maximum value. */
|
||||
if (sscreen->info.family == CHIP_VEGA12 ||
|
||||
sscreen->info.family == CHIP_VEGA20)
|
||||
else if (sscreen->info.family == CHIP_VEGA12 ||
|
||||
sscreen->info.family == CHIP_VEGA20)
|
||||
max_offchip_buffers_per_se = double_offchip_buffers ? 128 : 64;
|
||||
else
|
||||
max_offchip_buffers_per_se = double_offchip_buffers ? 127 : 63;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue