]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34738b9824e9547c19c78aa9f5583ad042457b61
treec144c1a1934bcddfa4b61808454e875c42121d7d
parentaf126a5b953fab1e10583150614b923462900d64
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