OrangePi_CM5/drivers/gpu/drm/amd/amdkfd
David Yat Sin 18068e0527 drm/amdkfd: Fix GWS queue count
[ Upstream commit 7c6b6e18c890f30965b0589b0a57645e1dbccfde ]

dqm->gws_queue_count and pdd->qpd.mapped_gws_queue need to be updated
each time the queue gets evicted.

Fixes: b8020b0304 ("drm/amdkfd: Enable over-subscription with >1 GWS queue")
Signed-off-by: David Yat Sin <david.yatsin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-09 09:05:05 +02:00
..
Kconfig
…
Makefile
…
cik_event_interrupt.c drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
cik_int.h
…
cik_regs.h
…
cwsr_trap_handler.h drm/amdkfd: Fix spurious debug exception on gfx10 2020-08-10 17:26:51 -04:00
cwsr_trap_handler_gfx8.asm
…
cwsr_trap_handler_gfx9.asm
…
cwsr_trap_handler_gfx10.asm drm/amdkfd: Fix spurious debug exception on gfx10 2020-08-10 17:26:51 -04:00
kfd_chardev.c drm/amdkfd: Fix leak in dmabuf import 2020-12-09 10:06:39 -05:00
kfd_crat.c drm/amdkfd: make CRAT table missing message informational only 2022-04-13 21:00:57 +02:00
kfd_crat.h
…
kfd_dbgdev.c drm/amdkfd: dqm fence memory corruption 2021-04-07 15:00:10 +02:00
kfd_dbgdev.h
…
kfd_dbgmgr.c
…
kfd_dbgmgr.h drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
kfd_debugfs.c drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug 2021-05-11 14:47:30 +02:00
kfd_device.c drm/amdkfd: Fix Incorrect VMIDs passed to HWS 2022-04-20 09:23:20 +02:00
kfd_device_queue_manager.c drm/amdkfd: Fix GWS queue count 2022-05-09 09:05:05 +02:00
kfd_device_queue_manager.h drm/amdkfd: dqm fence memory corruption 2021-04-07 15:00:10 +02:00
kfd_device_queue_manager_cik.c
…
kfd_device_queue_manager_v9.c drm/amdgpu: store noretry parameter per driver instance 2020-09-25 16:55:16 -04:00
kfd_device_queue_manager_v10.c drm/amdkfd: Use same SQ prefetch setting as amdgpu 2020-10-21 23:06:07 -04:00
kfd_device_queue_manager_vi.c
…
kfd_doorbell.c drm/amdkfd: Move process doorbell allocation into kfd device 2020-09-22 12:25:02 -04:00
kfd_events.c drm/amdkfd: Check for potential null return of kmalloc_array() 2022-04-20 09:23:20 +02:00
kfd_events.h drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
kfd_flat_memory.c drm/amdkfd: implement the dGPU fallback path for apu (v6) 2020-08-26 16:40:17 -04:00
kfd_int_process_v9.c
…
kfd_interrupt.c
…
kfd_iommu.c drm/amdkfd: fix build error with AMD_IOMMU_V2=m 2021-05-14 09:50:24 +02:00
kfd_iommu.h drm/amdkfd: fix build error with AMD_IOMMU_V2=m 2021-05-14 09:50:24 +02:00
kfd_kernel_queue.c
…
kfd_kernel_queue.h
…
kfd_module.c drm/amdgpu: Fix handling of KFD initialization failures 2020-09-22 12:24:11 -04:00
kfd_mqd_manager.c drm/amdkfd: Account for SH/SE count when setting up cu masks. 2021-09-18 13:40:33 +02:00
kfd_mqd_manager.h drm/amdkfd: Account for SH/SE count when setting up cu masks. 2021-09-18 13:40:33 +02:00
kfd_mqd_manager_cik.c
…
kfd_mqd_manager_v9.c
…
kfd_mqd_manager_v10.c
…
kfd_mqd_manager_vi.c
…
kfd_packet_manager.c drm/amdkfd: dqm fence memory corruption 2021-04-07 15:00:10 +02:00
kfd_packet_manager_v9.c drm/amdkfd: dqm fence memory corruption 2021-04-07 15:00:10 +02:00
kfd_packet_manager_vi.c drm/amdkfd: dqm fence memory corruption 2021-04-07 15:00:10 +02:00
kfd_pasid.c drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
kfd_pm4_headers.h
…
kfd_pm4_headers_ai.h
…
kfd_pm4_headers_diq.h
…
kfd_pm4_headers_vi.h
…
kfd_pm4_opcodes.h
…
kfd_priv.h drm/amdkfd: dqm fence memory corruption 2021-04-07 15:00:10 +02:00
kfd_process.c drm/amdkfd: fix sysfs kobj leak 2021-07-20 16:05:49 +02:00
kfd_process_queue_manager.c drm/amdkfd: fix sysfs kobj leak 2021-07-20 16:05:49 +02:00
kfd_queue.c
…
kfd_smi_events.c drm/amdkfd: Create file descriptor after client is added to smi_clients list 2022-04-13 21:01:09 +02:00
kfd_smi_events.h drm/amdkfd: Add GPU reset SMI event 2020-08-31 14:40:03 -04:00
kfd_topology.c drm/amdkfd: fix set kfd node ras properties value 2020-08-26 16:40:19 -04:00
kfd_topology.h
…
soc15_int.h
…