drm/amdgpu: add the IP discovery IP versions for HW INFO data
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 22:09:11 +0000 (18:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:03 +0000 (09:31 -0400)
commitaf14e7c2fc9b60af70b410a7dace116eaa5e4e65
treedabeedd1c7b8646b4c1d74b3c539d9155eea538a
parent041a11095abdd52b38f1ea1355357ecd2b66c0e2
drm/amdgpu: add the IP discovery IP versions for HW INFO data

Use the former pad element to store the IP versions from the
IP discovery table.  This allows userspace to get the IP
version from the kernel to better align with hardware IP
versions.

Proposed mesa patch:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17411/diffs?commit_id=c8a63590dfd0d64e6e6a634dcfed993f135dd075

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
include/uapi/drm/amdgpu_drm.h