mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
ac/gpu_info: remove dead GDS query code
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16360>
This commit is contained in:
parent
68441ae771
commit
616e4ca673
1 changed files with 0 additions and 7 deletions
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue