mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 00:00:47 +02:00
amd/common: some ASICs with gfx9 use compute rings for render
Some ASICs with gfx9 use compute rings for render.
Fixes: 983223de5d - ac/gpu_info: use the kernel-reported
GFX IP version to set gfx_level
-v2: update merge requests num
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18553>
This commit is contained in:
parent
1d15dc04b5
commit
fe8e18c782
1 changed files with 1 additions and 1 deletions
|
|
@ -854,7 +854,7 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info)
|
|||
info->gfx_level = GFX10_3;
|
||||
else if (info->ip[AMD_IP_GFX].ver_major == 10 && info->ip[AMD_IP_GFX].ver_minor == 1)
|
||||
info->gfx_level = GFX10;
|
||||
else if (info->ip[AMD_IP_GFX].ver_major == 9)
|
||||
else if (info->ip[AMD_IP_GFX].ver_major == 9 || info->ip[AMD_IP_COMPUTE].ver_major == 9)
|
||||
info->gfx_level = GFX9;
|
||||
else if (info->ip[AMD_IP_GFX].ver_major == 8)
|
||||
info->gfx_level = GFX8;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue