diff options
author | Oak Zeng <Oak.Zeng@amd.com> | 2019-02-08 16:44:35 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-24 13:21:02 -0400 |
commit | 065e4bdfa1f3ab2884c110394d8b7e7ebe3b988c (patch) | |
tree | 394fb2b07be9c284e2e2b14be07329b4927355b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | e78579aab7c3e112b85bf92d76432b917c841b5b (diff) |
drm/amdkfd: Fix sdma queue map issue
Previous codes assumes there are two sdma engines.
This is not true e.g., Raven only has 1 SDMA engine.
Fix the issue by using sdma engine number info in
device_info.
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions