diff options
| author | Mukul Joshi <[email protected]> | 2022-05-31 20:25:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:44:13 +0000 |
| commit | 643e40d4c06f8c887af1789c7bf8d279e9c8e4cf (patch) | |
| tree | d6694027e0b64e1e38e3e4e409bd647e0a9d9893 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/amdkfd: add gpu compute cores io links for gfx9.4.3 (diff) | |
| download | kernel-643e40d4c06f8c887af1789c7bf8d279e9c8e4cf.tar.gz kernel-643e40d4c06f8c887af1789c7bf8d279e9c8e4cf.zip | |
drm/amdkfd: Fix SDMA in CPX mode
When creating a user-mode SDMA queue, CP FW expects
driver to use/set virtual SDMA engine id in MAP_QUEUES
packet instead of using the physical SDMA engine id.
Each partition node's virtual SDMA number should start
from 0. However, when allocating doorbell for the queue,
KFD needs to allocate the doorbell from doorbell space
corresponding to the physical SDMA engine id, otherwise
the hwardware will not see the doorbell press.
Signed-off-by: Mukul Joshi <[email protected]>
Reviewed-by: Amber Lin <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
