]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: get rev_id from strap register or IP-discovery table
authorPerry Yuan <perry.yuan@amd.com>
Tue, 14 Oct 2025 07:05:19 +0000 (15:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Oct 2025 13:47:45 +0000 (09:47 -0400)
commit28d4de7ebf288d628cd3a03c0e57311b94a93ee7
tree528d70c4a42fbec7642cc1f0dc08e81704378591
parentedddaada9e1c5620c184da8c2cdefbf31a930376
drm/amdgpu: get rev_id from strap register or IP-discovery table

Query the sub-revision field in the IP Discovery table for the VFs
to obtain their revision ID.
Meanwhile, read the revision ID from the strap register for the PF.

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c