From 616e4ca673eef571616ca430e0d35da825cd37ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 5 May 2022 14:41:06 -0400 Subject: [PATCH] ac/gpu_info: remove dead GDS query code Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/common/ac_gpu_info.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 4a7406d..c7903d6 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -486,7 +486,6 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info, { struct drm_amdgpu_info_device device_info = {0}; struct amdgpu_buffer_size_alignments alignment_info = {0}; - struct amdgpu_gds_resource_info gds = {0}; uint32_t vce_version = 0, vce_feature = 0, uvd_version = 0, uvd_feature = 0; int r, i, j; amdgpu_device_handle dev = dev_p; @@ -602,12 +601,6 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info, return false; } - r = amdgpu_query_gds_info(dev, &gds); - if (r) { - fprintf(stderr, "amdgpu: amdgpu_query_gds_info failed.\n"); - return false; - } - if (info->drm_minor >= 9) { struct drm_amdgpu_memory_info meminfo = {0}; -- 2.7.4