From: Haohui Mai
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 27 +-
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index dd8f4344eeb8..9a1b42cc850
From: Haohui Mai
Remove the accidental shifts on the values of RPTR_BLOCK_SIZE in gfx_v8-v11.
The bug essentially always programs the corresponding fields to zero
instead of the correct value.
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +-
drivers/gpu/drm/amd/amdg
From: Haohui Mai
Clean up redundant, copy-paste code blocks during the intialization of
the doorbells in mqd_init().
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 17 -
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 17 -
2 files changed, 34 d
From: Haohui Mai
The patch fully deactivates the DMA engine before setting up the ring
buffer to avoid potential data races and crashes.
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 109 +++--
1 file changed, 64 insertions(+), 45 deletions(-)
diff
From: Haohui Mai
The patch fully deactivates the DMA engine before setting up the ring
buffer to avoid potential data races and crashes.
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 112 +++--
1 file changed, 67 insertions(+), 45 deletions(-)
diff
From: Haohui Mai
The patch fully deactivates the DMA engine before setting up the ring
buffer to avoid potential data races and crashes.
The v4 patch addresses the comments from Lang Yu .
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 113 ++---
1 f
From: Haohui Mai
The patch fully deactivates the DMA engine before setting up the ring
buffer to avoid potential data races and crashes.
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 110 +
1 file changed, 59 insertions(+), 51 deletions(-)
diff
From: Haohui Mai
The patch fully deactivates the DMA engine before setting up the ring
buffer to avoid potential data races and crashes.
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 94 ++
1 file changed, 50 insertions(+), 44 deletions(-)
diff
From: Haohui Mai
The patch fully deactivates the DMA engine before setting up the ring
buffer to avoid potential data races and crashes.
Signed-off-by: Haohui Mai
---
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 88 +-
1 file changed, 45 insertions(+), 43 deletions(-)
diff