drm/amdgpu: Use discovery table's subrevision
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 12 Oct 2023 09:39:38 +0000 (15:09 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Oct 2023 23:02:44 +0000 (19:02 -0400)
commitdd2687f5d9b2cf950fbe17fbc7c4f64489b19cd6
tree0166ba42f3d327337c3eff4d78bae2a5a1b5dbce
parentae8cffe353b510d0bbb12488f7ed0ea01ace4823
drm/amdgpu: Use discovery table's subrevision

Use subrevision of IP version in discovery table to identify SOC
revision id for NBIO v7.9 SOCs. Only newer bootloaders update
subrevision field.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c