From: jsg Date: Thu, 2 Feb 2023 04:11:15 +0000 (+0000) Subject: drm/amdgpu: remove unconditional trap enable on add gfx11 queues X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cd709b3d2daa6d1b2cff6b3ce328fb6c77b4516c;p=openbsd drm/amdgpu: remove unconditional trap enable on add gfx11 queues From Jonathan Kim 60cd9bb28b973764b43dfa836fc0ac26745d54bd in linux-6.1.y/6.1.9 2de3769830346e68b3de0f4abc0d8e2625ad9dac 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 c304d75e7d7..0e920459c83 100644 --- a/sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c +++ b/sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c @@ -192,7 +192,6 @@ static int mes_v11_0_add_hw_queue(struct amdgpu_mes *mes, mes_add_queue_pkt.trap_handler_addr = input->tba_addr; mes_add_queue_pkt.tma_addr = input->tma_addr; mes_add_queue_pkt.is_kfd_process = input->is_kfd_process; - mes_add_queue_pkt.trap_en = 1; /* For KFD, gds_size is re-used for queue size (needed in MES for AQL queues) */ mes_add_queue_pkt.is_aql_queue = input->is_aql_queue;