OSDN Git Service

drm/amdgpu: drive nav10 from the IP discovery table
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Jul 2021 20:49:21 +0000 (16:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:22:58 +0000 (15:22 -0400)
commit524cf3ab85f5a9e574f5fe6797223d70a76704ca
tree39c6403cadb26a2d718b046049d48647c19b60b8
parent63352b7f98fdc33a896576a1ad1b8814c2bf3a5a
drm/amdgpu: drive nav10 from the IP discovery table

Rather than hardcoding based on asic_type, use the IP
discovery table to configure the driver.

Only tested on Navi10 so far.

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