mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 06:20:09 +01:00
amd: add newer small APUs to get_task_num_entries()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38999>
This commit is contained in:
parent
02cfc61cc9
commit
f930ecdc55
1 changed files with 6 additions and 3 deletions
|
|
@ -13,6 +13,7 @@
|
|||
#include "util/u_sync_provider.h"
|
||||
|
||||
#include "addrlib/src/amdgpu_asic_addr.h"
|
||||
#include "amd_family.h"
|
||||
#include "sid.h"
|
||||
#include "util/macros.h"
|
||||
#include "util/u_cpu_detect.h"
|
||||
|
|
@ -2307,10 +2308,12 @@ static uint16_t get_task_num_entries(enum radeon_family fam)
|
|||
case CHIP_VANGOGH:
|
||||
case CHIP_NAVI24:
|
||||
case CHIP_REMBRANDT:
|
||||
case CHIP_RAPHAEL_MENDOCINO:
|
||||
case CHIP_PHOENIX:
|
||||
case CHIP_PHOENIX2:
|
||||
case CHIP_STRIX1:
|
||||
case CHIP_KRACKAN1:
|
||||
return 256;
|
||||
case CHIP_NAVI21:
|
||||
case CHIP_NAVI22:
|
||||
case CHIP_NAVI23:
|
||||
default:
|
||||
return 1024;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue