Commit eab57bf2 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/gfx11: select HDP ref/mask according to gfx ring pipe

Use correct ref/mask for differnent gfx ring pipe. Ported from
ZhenGuo's patch for gfx10.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e864180e
...@@ -5491,7 +5491,7 @@ static void gfx_v11_0_ring_emit_hdp_flush(struct amdgpu_ring *ring) ...@@ -5491,7 +5491,7 @@ static void gfx_v11_0_ring_emit_hdp_flush(struct amdgpu_ring *ring)
} }
reg_mem_engine = 0; reg_mem_engine = 0;
} else { } 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 */ reg_mem_engine = 1; /* pfp */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment