linux_dsm_epyc7002/drivers/gpu/drm/amd/amdkfd
Kevin Wang cac734c2db drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
if use the legacy method to allocate object, when mqd_hiq need to run
uninit code, it will be cause WARNING call trace.

eg: (s3 suspend test)
[   34.918944] Call Trace:
[   34.918948]  [<ffffffff92961dc1>] dump_stack+0x19/0x1b
[   34.918950]  [<ffffffff92297648>] __warn+0xd8/0x100
[   34.918951]  [<ffffffff9229778d>] warn_slowpath_null+0x1d/0x20
[   34.918991]  [<ffffffffc03ce1fe>] uninit_mqd_hiq_sdma+0x4e/0x50 [amdgpu]
[   34.919028]  [<ffffffffc03d0ef7>] uninitialize+0x37/0xe0 [amdgpu]
[   34.919064]  [<ffffffffc03d15a6>] kernel_queue_uninit+0x16/0x30 [amdgpu]
[   34.919086]  [<ffffffffc03d26c2>] pm_uninit+0x12/0x20 [amdgpu]
[   34.919107]  [<ffffffffc03d4915>] stop_nocpsch+0x15/0x20 [amdgpu]
[   34.919129]  [<ffffffffc03c1dce>] kgd2kfd_suspend.part.4+0x2e/0x50 [amdgpu]
[   34.919150]  [<ffffffffc03c2667>] kgd2kfd_suspend+0x17/0x20 [amdgpu]
[   34.919171]  [<ffffffffc03c103a>] amdgpu_amdkfd_suspend+0x1a/0x20 [amdgpu]
[   34.919187]  [<ffffffffc02ec428>] amdgpu_device_suspend+0x88/0x3a0 [amdgpu]
[   34.919189]  [<ffffffff922e22cf>] ? enqueue_entity+0x2ef/0xbe0
[   34.919205]  [<ffffffffc02e8220>] amdgpu_pmops_suspend+0x20/0x30 [amdgpu]
[   34.919207]  [<ffffffff925c56ff>] pci_pm_suspend+0x6f/0x150
[   34.919208]  [<ffffffff925c5690>] ? pci_pm_freeze+0xf0/0xf0
[   34.919210]  [<ffffffff926b45c6>] dpm_run_callback+0x46/0x90
[   34.919212]  [<ffffffff926b49db>] __device_suspend+0xfb/0x2a0
[   34.919213]  [<ffffffff926b4b9f>] async_suspend+0x1f/0xa0
[   34.919214]  [<ffffffff922c918f>] async_run_entry_fn+0x3f/0x130
[   34.919216]  [<ffffffff922b9d4f>] process_one_work+0x17f/0x440
[   34.919217]  [<ffffffff922bade6>] worker_thread+0x126/0x3c0
[   34.919218]  [<ffffffff922bacc0>] ? manage_workers.isra.25+0x2a0/0x2a0
[   34.919220]  [<ffffffff922c1c31>] kthread+0xd1/0xe0
[   34.919221]  [<ffffffff922c1b60>] ? insert_kthread_work+0x40/0x40
[   34.919222]  [<ffffffff92974c1d>] ret_from_fork_nospec_begin+0x7/0x21
[   34.919224]  [<ffffffff922c1b60>] ? insert_kthread_work+0x40/0x40
[   34.919224] ---[ end trace 38cd9f65c963adad ]---

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Oak Zeng <Oak.Zeng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-02-27 22:19:07 -05:00
..
cik_event_interrupt.c drm/amdkfd: Simplify kfd2kgd interface 2018-11-05 14:21:07 -05:00
cik_int.h drm/amdkfd: Clean up reference of radeon 2018-07-11 22:33:08 -04:00
cik_regs.h drm/amdkfd: Delete a duplicate statement in set_pasid_vmid_mapping() 2018-11-05 14:21:13 -05:00
cwsr_trap_handler_gfx8.asm drm/amdkfd: Fix race between scheduler and context restore 2018-07-11 22:32:46 -04:00
cwsr_trap_handler_gfx9.asm drm/amdkfd: Fix race between scheduler and context restore 2018-07-11 22:32:46 -04:00
cwsr_trap_handler.h drm/amdkfd: Fix race between scheduler and context restore 2018-07-11 22:32:46 -04:00
Kconfig drm/amdkfd: Allow building KFD on ARM64 (v2) 2019-01-14 15:59:37 -05:00
kfd_chardev.c drm i915 gvt, amdgpu, core fixes 2019-01-05 18:25:19 -08:00
kfd_crat.c drm/amdkfd: Fix if preprocessor statement above kfd_fill_iolink_info_for_cpu 2019-02-05 18:10:28 -05:00
kfd_crat.h drm/amdkfd: Only add bi-directional iolink on GPU with XGMI or largebar (v2) 2018-09-10 22:49:33 -05:00
kfd_dbgdev.c drm/amdkfd: Clean up reference of radeon 2018-07-11 22:33:08 -04:00
kfd_dbgdev.h drm/amdkfd: Clean up reference of radeon 2018-07-11 22:33:08 -04:00
kfd_dbgmgr.c
kfd_dbgmgr.h
kfd_debugfs.c drm/amdkfd: Add debugfs interface to trigger HWS hang 2018-07-11 22:33:04 -04:00
kfd_device_queue_manager_cik.c
kfd_device_queue_manager_v9.c drm/amdkfd: Use module parameters noretry as the internal variable name 2018-07-11 22:33:06 -04:00
kfd_device_queue_manager_vi.c drm/amd/amdkfd: Remove duplicate header 2018-11-26 15:54:39 -05:00
kfd_device_queue_manager.c drm/amdkfd: Optimize out sdma doorbell array in kgd2kfd_shared_resources 2019-02-18 18:00:50 -05:00
kfd_device_queue_manager.h drm/amdkfd: Make the number of SDMA queues variable 2018-09-26 21:09:16 -05:00
kfd_device.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
kfd_doorbell.c drm/amdkfd: Fix kernel queue 64 bit doorbell offset calculation 2018-07-11 22:33:01 -04:00
kfd_events.c drm/amdkfd: Optimize out some duplicated code in kfd_signal_iommu_event() 2018-07-13 16:17:47 -04:00
kfd_events.h drm/amdkfd: Implement GPU reset handlers in KFD 2018-07-11 22:32:56 -04:00
kfd_flat_memory.c drm/amdkfd: Added Vega12 and Polaris12 for KFD. 2018-11-19 16:38:13 -05:00
kfd_int_process_v9.c drm/amdkfd: Workaround PASID missing in gfx9 interrupt payload under non HWS 2018-11-19 16:38:14 -05:00
kfd_interrupt.c drm/amdkfd: fix zero reading of VMID and PASID for Hawaii 2018-07-11 22:32:51 -04:00
kfd_iommu.c drm/amdkfd: Fix ATS capablity was not reported correctly on some APUs 2018-09-20 10:25:23 -05:00
kfd_iommu.h
kfd_kernel_queue_cik.c
kfd_kernel_queue_v9.c drm/amd: Interface change to support 64 bit page_table_base 2018-09-26 21:09:17 -05:00
kfd_kernel_queue_vi.c
kfd_kernel_queue.c drm/amdkfd: Added Vega12 and Polaris12 for KFD. 2018-11-19 16:38:13 -05:00
kfd_kernel_queue.h drm/amdkfd: Replace mqd with mqd_mgr as the variable name for mqd_manager 2018-07-11 22:33:07 -04:00
kfd_module.c drm/amdgpu: Remove kgd2kfd function pointers 2019-01-14 15:04:29 -05:00
kfd_mqd_manager_cik.c drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI) 2019-02-27 22:19:07 -05:00
kfd_mqd_manager_v9.c drm/amdkfd: Add proper prefix to functions 2018-11-05 14:21:08 -05:00
kfd_mqd_manager_vi.c drm/amdkfd: Add wavefront context save state retrieval ioctl 2018-09-26 21:09:15 -05:00
kfd_mqd_manager.c drm/amdkfd: Added Vega12 and Polaris12 for KFD. 2018-11-19 16:38:13 -05:00
kfd_mqd_manager.h drm/amdkfd: Add wavefront context save state retrieval ioctl 2018-09-26 21:09:15 -05:00
kfd_packet_manager.c drm/amdkfd: Added Vega12 and Polaris12 for KFD. 2018-11-19 16:38:13 -05:00
kfd_pasid.c drm/amdkfd: Simplify kfd2kgd interface 2018-11-05 14:21:07 -05:00
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: Fix bugs regarding CP queue doorbell mask on SOC15 2019-02-18 18:00:41 -05:00
kfd_process_queue_manager.c drm/amdkfd: Add wavefront context save state retrieval ioctl 2018-09-26 21:09:15 -05:00
kfd_process.c drm/amdkfd: Fix bugs regarding CP queue doorbell mask on SOC15 2019-02-18 18:00:41 -05:00
kfd_queue.c
kfd_topology.c drm/amdkfd: Don't assign dGPUs to APU topology devices 2019-01-14 15:59:50 -05:00
kfd_topology.h drm/amdkfd: kfd expose the hive_id of the device through its node properties 2018-09-10 22:48:43 -05:00
Makefile drm/amdgpu: Merge amdkfd into amdgpu 2018-08-28 11:22:42 -05:00
soc15_int.h