From cd709b3d2daa6d1b2cff6b3ce328fb6c77b4516c Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 2 Feb 2023 04:11:15 +0000 Subject: [PATCH] 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 --- sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.20.1