]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: get VCN and SDMA instances from IP discovery table
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Aug 2021 15:50:23 +0000 (11:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:23:01 +0000 (15:23 -0400)
commit8119e8da2270252607d037f7e61b691e96b40fd3
tree122f9d6c14340b25d1db59a9e417f33439c771a0
parent6a79208ac606ff3dc5a227cb90fc4ce5c9b7e3e9
drm/amdgpu: get VCN and SDMA instances from IP discovery table

Rather than hardcoding it.  We already have the number of VCN
instances from a previous patch, so just update the VCN
instances for chips with static tables.

v2: squash in checks for SDMA3,4 (Guchun)
v3: clarify VCN changes

Reviewed-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