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
..
2019-02-27 22:19:07 -05:00
2019-01-24 13:20:42 +01:00
2019-02-11 10:36:00 +01:00
2019-01-24 13:20:42 +01:00
2019-02-04 14:57:34 +10:00
2019-01-29 15:45:06 +01:00
2019-02-05 10:28:15 +01:00
2019-02-18 13:27:15 +10:00
2019-02-05 10:28:13 +01:00
2019-02-04 14:42:34 +10:00
2019-02-07 19:59:44 +09:00
2019-01-29 15:45:06 +01:00
2019-01-29 15:45:21 +01:00
2019-01-29 15:45:06 +01:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-02-18 13:27:15 +10:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-01-29 15:45:21 +01:00
2019-02-04 14:57:34 +10:00
2019-02-20 12:16:37 +10:00
2019-01-29 15:45:06 +01:00
2019-02-20 09:00:03 +10:00
2019-02-18 13:27:15 +10:00
2019-01-28 17:45:28 +01:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-01-29 15:45:21 +01:00
2019-02-19 15:48:41 -05:00
2019-02-11 10:35:35 +01:00
2019-02-18 13:27:15 +10:00
2019-01-30 17:35:29 +01:00
2019-02-22 15:56:42 +10:00
2018-12-11 15:19:42 +01:00
2019-01-29 15:45:06 +01:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-02-11 13:32:49 +10:00
2019-01-29 15:45:06 +01:00
2019-01-24 13:20:42 +01:00
2019-01-28 11:43:38 -05:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-01-25 16:15:36 -05:00
2019-02-06 15:16:08 -08:00
2018-12-07 12:44:16 +01:00
2019-01-30 17:35:29 +01:00
2019-02-18 13:27:15 +10:00
2019-02-18 13:27:15 +10:00
2019-02-18 13:27:15 +10:00
2019-02-04 08:39:31 +02:00
2019-01-24 13:20:42 +01:00
2018-12-17 10:47:17 +01:00
2019-02-04 10:21:17 +01:00
2019-02-05 18:19:00 -05:00
2018-12-24 11:53:50 +01:00
2019-02-18 13:27:15 +10:00
2019-01-10 05:58:52 +10:00
2018-11-26 16:14:27 -05:00
2019-01-14 03:51:14 +02:00
2019-02-04 10:21:17 +01:00
2018-11-20 14:56:18 +01:00
2019-01-29 23:26:12 +02:00
2019-02-04 10:21:17 +01:00
2019-01-07 11:26:31 +01:00
2019-01-15 13:20:56 +01:00
2019-01-11 15:56:40 +01:00
2019-01-11 22:54:29 +01:00
2019-02-07 21:48:28 +01:00
2018-11-22 09:52:27 +01:00
2019-02-08 13:38:51 -08:00
2019-02-06 13:37:38 -05:00
2019-01-12 13:07:30 +01:00
2019-02-08 13:38:51 -08:00
2019-01-10 19:01:06 +02:00
2019-01-17 10:56:38 +01:00
2019-02-18 13:27:15 +10:00
2019-02-04 10:21:17 +01:00
2019-01-14 10:58:37 +01:00
2019-02-08 22:17:08 +01:00
2019-02-04 10:21:17 +01:00
2018-11-20 14:57:25 +01:00
2019-01-17 10:56:45 +01:00
2019-02-04 10:21:17 +01:00
2019-01-10 05:58:52 +10:00
2018-12-20 08:13:29 +01:00
2019-01-29 15:45:21 +01:00
2019-02-18 13:27:15 +10:00
2019-02-04 10:21:17 +01:00
2019-01-10 05:58:52 +10:00
2019-01-10 11:31:58 +01:00
2019-02-18 13:27:15 +10:00
2019-02-07 21:48:28 +01:00
2018-12-11 15:24:30 +01:00
2019-01-12 13:07:58 +01:00
2018-11-15 10:55:30 +01:00
2019-01-12 13:08:12 +01:00
2019-01-08 07:58:37 -05:00
2019-01-11 16:53:55 +01:00
2018-11-22 15:44:05 +01:00
2019-01-24 13:20:42 +01:00
2019-02-04 10:21:17 +01:00
2019-02-07 13:14:06 +02:00
2019-01-24 13:20:42 +01:00
2018-12-11 17:38:38 +01:00
2018-11-30 10:57:18 +01:00
2019-02-04 10:21:17 +01:00
2019-01-17 10:56:38 +01:00
2019-02-08 02:25:56 +02:00