]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add "harvest" to IP discovery sysfs
authorLuben Tuikov <luben.tuikov@amd.com>
Mon, 14 Feb 2022 23:02:58 +0000 (18:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Feb 2022 22:02:12 +0000 (17:02 -0500)
commitd1331524d142102c4244b9a85c7045dbff2f6515
tree272ff9c96095872617b6a86ce21ef8995d7f6ac7
parent35ccc7ea78c81d6a119b114eeecafcf22837450b
drm/amdgpu: Add "harvest" to IP discovery sysfs

Add the "harvest" field to the IP attributes in
the IP discovery sysfs visualization, as this
field is present in the binary data.

At the time of this commit, the harvest data isn't
consistently correct in VBIOS, but it is exposed
for completeness, in the hopes that VBIOS will be
fixed in the future.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c