aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorAmber Lin <[email protected]>2021-11-18 00:38:59 -0500
committerAlex Deucher <[email protected]>2021-11-22 14:46:03 -0500
commitee2f17f4d02b14549272aa69da17bdcce2879d1b (patch)
treee1b81aa158561a9025c701f8e5039706fcde8623 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parente39938117e781d0bd21ae45b6c15134f4a6958c5 (diff)
drm/amdkfd: Retrieve SDMA numbers from amdgpu
Instead of hard coding the number of sdma engines and the number of sdma_xgmi engines in the device_info table, get the number of toal SDMA instances from amdgpu. The first two engines are sdma engines and the rest are sdma-xgmi engines unless the ASIC doesn't support XGMI. v2: add kfd_ prefix to non static function names Signed-off-by: Amber Lin <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions