From 64d6cc982d5ccf6b396c0dec24611c5c6ef1cc7d Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 12 Feb 2019 12:14:15 -0500 Subject: ac: add radeon_info::marketing_name, replacing the winsys callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tested-by: Dieter Nützel Acked-by: Nicolai Hähnle --- src/amd/common/ac_gpu_info.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/amd/common/ac_gpu_info.c') diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index afbb0239628..fa052c8b861 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -333,6 +333,8 @@ bool ac_query_gpu_info(int fd, amdgpu_device_handle dev, return false; } + info->marketing_name = amdgpu_get_marketing_name(dev); + /* Set which chips have dedicated VRAM. */ info->has_dedicated_vram = !(amdinfo->ids_flags & AMDGPU_IDS_FLAGS_FUSION); -- cgit v1.2.3