mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +01:00
ac/gpu_info: silence a valgrind warning due to amdgpu_query_hw_ip_info
Reviewed-by: Mihai Preda <mhpreda@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16509>
This commit is contained in:
parent
9b4c346029
commit
0eb48fa4e9
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,7 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
|||
}
|
||||
|
||||
for (unsigned ip_type = 0; ip_type < AMD_NUM_IP_TYPES; ip_type++) {
|
||||
struct drm_amdgpu_info_hw_ip ip_info;
|
||||
struct drm_amdgpu_info_hw_ip ip_info = {0};
|
||||
|
||||
r = amdgpu_query_hw_ip_info(dev, ip_type, 0, &ip_info);
|
||||
if (r || !ip_info.available_rings)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue