summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
diff options
context:
space:
mode:
authorHaohui Mai <ricetons@gmail.com>2022-04-25 20:41:38 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-04-26 11:44:01 -0400
commit7dba6e838e741caadcf27ef717b6dcb561e77f89 (patch)
tree666617540b9f3fae90b5d1ff2c924e04423f578f /drivers/gpu/drm/amd/amdgpu/cik_sdma.c
parent9714d357e2ca763cc6a739f66ca67219beafd442 (diff)
downloadlinux-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