drm/amdgpu/mes11: enable reg active poll
authorjsg <jsg@openbsd.org>
Fri, 16 Jun 2023 00:42:59 +0000 (00:42 +0000)
committerjsg <jsg@openbsd.org>
Fri, 16 Jun 2023 00:42:59 +0000 (00:42 +0000)
From Jack Xiao
ac2f5739fdca4f532036d1f2e63c2ab55c288f72 in linux-6.1.y/6.1.31
a6b3b618c0f7abc3f543dd0c57b2b19a770bffec in mainline linux

sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c

index d1004f7..9bb1178 100644 (file)
@@ -390,6 +390,7 @@ static int mes_v11_0_set_hw_resources(struct amdgpu_mes *mes)
        mes_set_hw_res_pkt.disable_reset = 1;
        mes_set_hw_res_pkt.disable_mes_log = 1;
        mes_set_hw_res_pkt.use_different_vmid_compute = 1;
+       mes_set_hw_res_pkt.enable_reg_active_poll = 1;
        mes_set_hw_res_pkt.oversubscription_timer = 50;
 
        return mes_v11_0_submit_pkt_and_poll_completion(mes,