]> 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)
commit94362d48ddbea31f1a4ea4aa42bfb0e7b267fe5f
treec144c1a1934bcddfa4b61808454e875c42121d7d
parent1be31792c07410fb6b5e4c2c8a8906c41b48f1b6
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