diff options
| author | Haohui Mai <[email protected]> | 2022-04-25 12:41:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-26 15:44:01 +0000 |
| commit | 7dba6e838e741caadcf27ef717b6dcb561e77f89 (patch) | |
| tree | 666617540b9f3fae90b5d1ff2c924e04423f578f /drivers/gpu/drm/amd/amdgpu/cik_sdma.c | |
| parent | drm/radeon: change cac_weights_* to static (diff) | |
| download | kernel-7dba6e838e741caadcf27ef717b6dcb561e77f89.tar.gz kernel-7dba6e838e741caadcf27ef717b6dcb561e77f89.zip | |
drm/amdgpu/sdma: Fix incorrect calculations of the wptr of the doorbells
This patch fixes the issue where the driver miscomputes the 64-bit
values of the wptr of the SDMA doorbell when initializing the
hardware. SDMA engines v4 and later on have full 64-bit registers for
wptr thus they should be set properly.
Older generation hardwares like CIK / SI have only 16 / 20 / 24bits
for the WPTR, where the calls of lower_32_bits() will be removed in a
following patch.
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Haohui Mai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_sdma.c')
0 files changed, 0 insertions, 0 deletions
