drm/amdgpu/mes11: handle second gfx pipe
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/mes11: handle second gfx pipe
Handle the second pipe in mes_v11_0_set_hw_resources().
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +2 -0
@@ -544,6 +544,8 @@ static int mes_v11_0_set_hw_resources(struct amdgpu_mes *mes) mes_set_hw_res_pkt.enable_reg_active_poll =1 ; mes_set_hw_res_pkt.enable_level_process_quantum_check =1 ; mes_set_hw_res_pkt.oversubscription_timer =50 ; + mes_set_hw_res_pkt.second_gfx_pipe_enabled = + (adev->gfx.me.num_pipe_per_me >1 );if (amdgpu_mes_log_enable) { mes_set_hw_res_pkt.enable_mes_event_int_logging =1 ; mes_set_hw_res_pkt.event_intr_history_gpu_mc_ptr =
Signature · 1 line
2.45.2