linux_dsm_epyc7002/drivers/gpu/drm/amd/amdkfd
Yong Zhao f38abc15d1 drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode
The sdma_queue_count increment should be done before
execute_queues_cpsch(), which calls pm_calc_rlib_size() where
sdma_queue_count is used to calculate whether over_subscription is
triggered.

With the previous code, when a SDMA queue is created,
compute_queue_count in pm_calc_rlib_size() is one more than the
actual compute queue number, because the queue_count has been
incremented while sdma_queue_count has not. This patch fixes that.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-04 10:32:41 -05:00
..
cik_event_interrupt.c drm/amdkfd: Eliminate get_atc_vmid_pasid_mapping_valid 2019-10-03 09:11:04 -05:00
cik_int.h
cik_regs.h
cwsr_trap_handler_gfx8.asm drm/amdkfd: Remove dead code from gfx8/gfx9 trap handlers 2019-07-30 23:22:18 -05:00
cwsr_trap_handler_gfx9.asm drm/amdkfd: Remove dead code from gfx8/gfx9 trap handlers 2019-07-30 23:22:18 -05:00
cwsr_trap_handler_gfx10.asm drm/amdkfd: Fix race in gfx10 context restore handler 2019-10-03 09:11:04 -05:00
cwsr_trap_handler.h drm/amdkfd: Fix race in gfx10 context restore handler 2019-10-03 09:11:04 -05:00
Kconfig drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
kfd_chardev.c drm/amdkfd: Improve kfd_process lookup in kfd_ioctl 2020-01-09 16:08:19 -05:00
kfd_crat.c drm/amdkfd: bug fix for out of bounds mem on gpu cache filling info 2019-10-30 11:06:51 -04:00
kfd_crat.h
kfd_dbgdev.c drm/amdkfd: Eliminate unnecessary kernel queue function pointers 2019-12-05 16:24:36 -05:00
kfd_dbgdev.h
kfd_dbgmgr.c drm/amdkfd: Use hex print format for pasid 2019-10-03 09:11:03 -05:00
kfd_dbgmgr.h
kfd_debugfs.c drm/amdkfd: Fix permissions of hang_hws 2020-01-07 11:54:30 -05:00
kfd_device_queue_manager_cik.c
kfd_device_queue_manager_v9.c
kfd_device_queue_manager_v10.c
kfd_device_queue_manager_vi.c
kfd_device_queue_manager.c drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode 2020-02-04 10:32:41 -05:00
kfd_device_queue_manager.h drm/amdkfd: Improve HWS hang detection and handling 2020-01-07 11:54:56 -05:00
kfd_device.c drm/amdkfd: Improve HWS hang detection and handling 2020-01-07 11:54:56 -05:00
kfd_doorbell.c drm/amdkfd: Use better name to indicate the offset is in dwords 2019-11-13 15:29:45 -05:00
kfd_events.c drm/amdkfd: Simplify the mmap offset related bit operations 2019-11-13 15:29:45 -05:00
kfd_events.h
kfd_flat_memory.c drm/amdkfd: Check against device cgroup 2019-10-07 15:11:38 -05:00
kfd_int_process_v9.c drm/amdkfd: Query vmid pasid mapping through stored info for non HWS 2019-10-03 09:11:03 -05:00
kfd_interrupt.c drm/amdkfd: fix a potential NULL pointer dereference (v2) 2019-10-03 09:11:00 -05:00
kfd_iommu.c drm/amdkfd: remove set but not used variable 'top_dev' 2019-11-19 10:12:51 -05:00
kfd_iommu.h
kfd_kernel_queue.c drm/amdkfd: Avoid hanging hardware in stop_cpsch 2020-01-07 11:55:04 -05:00
kfd_kernel_queue.h drm/amdkfd: Eliminate unnecessary kernel queue function pointers 2019-12-05 16:24:36 -05:00
kfd_module.c drm/amdkfd: add missing void argument to function kgd2kfd_init 2019-10-07 15:10:26 -05:00
kfd_mqd_manager_cik.c drm/amdkfd: DIQ should not use HIQ way to allocate memory 2019-11-22 14:27:11 -05:00
kfd_mqd_manager_v9.c drm/amdkfd: use kiq to load the mqd of hiq queue for gfx v9 (v6) 2020-01-16 13:34:50 -05:00
kfd_mqd_manager_v10.c drm/amdkfd: use map_queues for hiq on gfx v10 as well 2020-01-16 13:34:57 -05:00
kfd_mqd_manager_vi.c drm/amdkfd: Remove duplicate functions update_mqd_hiq() 2019-11-22 14:27:11 -05:00
kfd_mqd_manager.c drm/amdkfd: Extend CU mask to 8 SEs (v3) 2019-08-02 10:19:11 -05:00
kfd_mqd_manager.h drm/amdkfd: Extend CU mask to 8 SEs (v3) 2019-08-02 10:19:11 -05:00
kfd_packet_manager_v9.c drm/amdkfd: Rename kfd_kernel_queue_*.c to kfd_packet_manager_*.c 2019-11-19 09:47:23 -05:00
kfd_packet_manager_vi.c drm/amdkfd: Rename kfd_kernel_queue_*.c to kfd_packet_manager_*.c 2019-11-19 09:47:23 -05:00
kfd_packet_manager.c drm/amdkfd: Avoid hanging hardware in stop_cpsch 2020-01-07 11:55:04 -05:00
kfd_pasid.c
kfd_pm4_headers_ai.h
kfd_pm4_headers_diq.h
kfd_pm4_headers_vi.h
kfd_pm4_headers.h
kfd_pm4_opcodes.h
kfd_priv.h drm/amdkfd: Avoid hanging hardware in stop_cpsch 2020-01-07 11:55:04 -05:00
kfd_process_queue_manager.c drm/amdkfd: Avoid hanging hardware in stop_cpsch 2020-01-07 11:55:04 -05:00
kfd_process.c drm/amdgpu: GPU TLB flush API moved to amdgpu_amdkfd 2020-01-16 13:34:33 -05:00
kfd_queue.c
kfd_topology.c drm/amdkfd: expose num_cp_queues data field to topology node (v2) 2019-12-19 10:10:18 -05:00
kfd_topology.h drm/amdkfd: expose num_cp_queues data field to topology node (v2) 2019-12-19 10:10:18 -05:00
Makefile drm/amdkfd: Rename kfd_kernel_queue_*.c to kfd_packet_manager_*.c 2019-11-19 09:47:23 -05:00
soc15_int.h