]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5cf6002ba3b1b4ae3e37d5cfad25d47ef97d295
treedabeedd1c7b8646b4c1d74b3c539d9155eea538a
parentffbbf7107c2cc652b7b33cd3c8b73930b1733bc2
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