drm/amdgpu: store HW IP versions in the driver structure
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jul 2021 20:01:41 +0000 (16:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:22:58 +0000 (15:22 -0400)
commit5f52e9a78061cbced92ed5c64d70f342f5c9b68c
treec144c1a1934bcddfa4b61808454e875c42121d7d
parent81d1bf01e4820962d6ea218ff5b9719e81e5812d
drm/amdgpu: store HW IP versions in the driver structure

So we can check the IP versions directly rather than using
asic type.

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