mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
ac: fix detection of Pro graphics
Fixes: bfb928759 "ac: add radeon_info::is_pro_graphics"
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7542>
This commit is contained in:
parent
44d0d449b1
commit
9374a1ecfe
1 changed files with 3 additions and 3 deletions
|
|
@ -441,9 +441,9 @@ bool ac_query_gpu_info(int fd, void *dev_p,
|
|||
info->chip_external_rev = amdinfo->chip_external_rev;
|
||||
info->marketing_name = amdgpu_get_marketing_name(dev);
|
||||
info->is_pro_graphics = info->marketing_name &&
|
||||
(!strcmp(info->marketing_name, "Pro") ||
|
||||
!strcmp(info->marketing_name, "PRO") ||
|
||||
!strcmp(info->marketing_name, "Frontier"));
|
||||
(!strstr(info->marketing_name, "Pro") ||
|
||||
!strstr(info->marketing_name, "PRO") ||
|
||||
!strstr(info->marketing_name, "Frontier"));
|
||||
|
||||
/* Set which chips have dedicated VRAM. */
|
||||
info->has_dedicated_vram =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue