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)
commit4d7ba312dd1f94cce23f1f93f33bdf92db090688
tree272ff9c96095872617b6a86ce21ef8995d7f6ac7
parent8639bd70497ac96a83ff26b8118afcdc45f1cfaf
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