Lijo Lazar 0553eb9f33 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 <lijo.lazar@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Tested-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-11-07 12:03:30 -05:00
..
2023-07-17 15:37:57 +02:00
2023-03-14 17:07:48 +01:00
2023-10-23 18:20:06 +10:00
2023-10-23 18:20:06 +10:00
2023-10-23 18:20:06 +10:00
2023-10-23 16:24:55 +02:00
2023-10-23 18:20:06 +10:00
2023-10-23 18:20:06 +10:00
2023-09-20 15:27:44 +02:00
2023-10-23 18:20:06 +10:00
2023-08-24 07:26:06 +10:00
2023-09-20 15:27:44 +02:00
2023-10-23 18:20:06 +10:00
2023-09-26 01:58:28 +02:00