From: jsg Date: Fri, 16 Jun 2023 00:42:59 +0000 (+0000) Subject: drm/amdgpu/mes11: enable reg active poll X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=84ca4f8dea890810867fd5e49bc2c32d122f3cf8;p=openbsd drm/amdgpu/mes11: enable reg active poll From Jack Xiao ac2f5739fdca4f532036d1f2e63c2ab55c288f72 in linux-6.1.y/6.1.31 a6b3b618c0f7abc3f543dd0c57b2b19a770bffec in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c b/sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c index d1004f77b72..9bb11781279 100644 --- a/sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c +++ b/sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c @@ -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,