OSDN Git Service

drm/amdgpu: add initial IP discovery support for vega based parts
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jul 2021 18:51:54 +0000 (14:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:23:00 +0000 (15:23 -0400)
commitd4c6e870bdd2fefe199f6cd92a03ea4805a89d2e
tree0cb874c84f0c11648b7822309c057a0fe72c6cd1
parent994470b252dcc0a430da866a17753b5ca3f5cd34
drm/amdgpu: add initial IP discovery support for vega based parts

Hardcode the IP versions for asics without IP discovery tables
and then enumerate the asics based on the IP versions.

TODO: fix SR-IOV support

v2: Squash in HDP fix for Renoir

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