aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2023-11-06 03:36:58 +0000
committerAlex Deucher <[email protected]>2023-11-07 17:03:30 +0000
commit0553eb9f33aa1a89a788682c78bd9747d41e65cb (patch)
tree2fc1d779818d1ed6ec708ec52d38033106475d11 /drivers/gpu/drm/amd/pm
parentdrm/amdgpu/soc21: add mode2 asic reset for SMU IP v14.0.0 (diff)
downloadkernel-0553eb9f33aa1a89a788682c78bd9747d41e65cb.tar.gz
kernel-0553eb9f33aa1a89a788682c78bd9747d41e65cb.zip
drm/amdgpu: Fix sdma 4.4.2 doorbell rptr/wptr init
Doorbell rptr/wptr can be set through multiple ways including direct register initialization. Disable doorbell during hw_fini once the ring is disabled so that during next module reload direct initialization takes effect. Also, move the direct initialization after minor update is set to 1 since rptr/wptr are reinitialized back to 0 which could be lower than the previous doorbell value (ex: cases like module reload). Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Le Ma <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Tested-by: Asad Kamal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm')
0 files changed, 0 insertions, 0 deletions