diff options
| author | Le Ma <[email protected]> | 2022-04-25 14:19:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:44:03 +0000 |
| commit | 20bedf1379b1d4b060e3f43661f35e5447d0cfed (patch) | |
| tree | b3adb3150e3e405f7ce3cea0975ac8533926d342 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/amdgpu: program GRBM_MCM_ADDR for non-AID0 GRBM (diff) | |
| download | kernel-20bedf1379b1d4b060e3f43661f35e5447d0cfed.tar.gz kernel-20bedf1379b1d4b060e3f43661f35e5447d0cfed.zip | |
drm/amdgpu: introduce new doorbell assignment table for GC 9.4.3
Four basic reasons as below to do the change:
1. number of ring expand a lot on GC 9.4.3, and adjustment on old
assignment cannot make each ring in a continuous doorbell space.
2. the SDMA doorbell index should not exceed 0x1FF on SDMA 4.2.2 due to
regDOORBELLx_CTRL_ENTRY.BIF_DOORBELLx_RANGE_OFFSET_ENTRY field width.
3. re-design the doorbell assignment and unify the calculation as
"start + ring/inst id" will make the code much concise.
4. only defining the START/END makes the table look simple
v2: (Lijo)
1. replace name
2. use num_inst_per_aid/sdma_doorbell_range instead of hardcoding
Signed-off-by: Le Ma <[email protected]>
Reviewed-by: Lijo Lazar <[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
