drm/amdgpu: fill in IP versions from IP discovery table
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jul 2021 20:57:40 +0000 (16:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:22:58 +0000 (15:22 -0400)
commit54d2b1f402b6fefd50c088d7c3ce3195bad05322
tree4e37b23cd04bb95cfa08b37bcb8f3dce181f7035
parent5f52e9a78061cbced92ed5c64d70f342f5c9b68c
drm/amdgpu: fill in IP versions from IP discovery table

Prerequisite for using IP versions in the driver rather
than asic type.

v2: Use IP_VERSION() macro instead of new function

Reviewed-by: Christian König <christian.koenig@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c