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