diff options
author | Haohui Mai <ricetons@gmail.com> | 2022-04-25 20:41:38 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-26 11:44:01 -0400 |
commit | 7dba6e838e741caadcf27ef717b6dcb561e77f89 (patch) | |
tree | 666617540b9f3fae90b5d1ff2c924e04423f578f /drivers/gpu/drm/amd/amdgpu/cik_sdma.c | |
parent | 9714d357e2ca763cc6a739f66ca67219beafd442 (diff) | |
download | linux-7dba6e838e741caadcf27ef717b6dcb561e77f89.tar.bz2 |
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 <christian.koenig@amd.com>
Signed-off-by: Haohui Mai <ricetons@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_sdma.c')
0 files changed, 0 insertions, 0 deletions