Reviewed-by: Christian König <christian.koe...@amd.com> for the entire series.

Regards,
Christian.

Am 13.05.24 um 22:25 schrieb Alex Deucher:
Use correct ref/mask for differnent gfx ring pipe. Ported from
ZhenGuo's patch for gfx10.

Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c 
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index c87943f6c4436..c8c055ef2f3c2 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -5294,7 +5294,7 @@ static void gfx_v11_0_ring_emit_hdp_flush(struct 
amdgpu_ring *ring)
                }
                reg_mem_engine = 0;
        } else {
-               ref_and_mask = nbio_hf_reg->ref_and_mask_cp0;
+               ref_and_mask = nbio_hf_reg->ref_and_mask_cp0 << ring->pipe;
                reg_mem_engine = 1; /* pfp */
        }

Reply via email to