Aurabindo Pillai
8783a18409
drm/amd/display: remove an extraneous call for checking dchub clock
when removing the amdgpu module and reinserting it, a call trace is
triggered:
[ 334.230602] RIP: 0010:hubbub2_get_dchub_ref_freq+0xbb/0xe0 [amdgpu]
[ 334.230807] Code: 25 28 00 00 00 75 3c 48 8d 65 f0 5b 41 5c 5d 31 c0 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 c9 45 31 d2 45 31 db e9 55 a1 ca de <0f> 0b eb c6 0f 0b eb c2 d1 eb 8d 83 c0 63 ff ff 3d 20 4e 00 00 76
[ 334.230809] RSP: 0018:ffffbc8b823fb540 EFLAGS: 00010246
[ 334.230811] RAX: 0000000000001000 RBX: 00000000000186a0 RCX: 0000000000000000
[ 334.230812] RDX: ffffbc8b823fb544 RSI: 0000000000000000 RDI: 0000000000000000
[ 334.230813] RBP: ffffbc8b823fb560 R08: 0000000000000000 R09: 0000000000000000
[ 334.230814] R10: 0000000000000000 R11: 000000000000000f R12: ffff9e644f1f2bb0
[ 334.230815] R13: ffff9e6451361300 R14: 0000000000000000 R15: ffff9e6452c00000
[ 334.230816] FS: 00007af7c8519000(0000) GS:ffff9e737dd00000(0000) knlGS:0000000000000000
[ 334.230817] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 334.230818] CR2: 0000703576b9cbd0 CR3: 00000001095a2000 CR4: 0000000000750ee0
[ 334.230819] PKRU: 55555554
[ 334.230820] Call Trace:
[ 334.230822] <TASK>
[ 334.230824] ? show_regs+0x6d/0x80
[ 334.230828] ? __warn+0x89/0x160
[ 334.230832] ? hubbub2_get_dchub_ref_freq+0xbb/0xe0 [amdgpu]
[ 334.231024] ? report_bug+0x17e/0x1b0
[ 334.231028] ? handle_bug+0x46/0x90
[ 334.231030] ? exc_invalid_op+0x18/0x80
[ 334.231032] ? asm_exc_invalid_op+0x1b/0x20
[ 334.231036] ? hubbub2_get_dchub_ref_freq+0xbb/0xe0 [amdgpu]
[ 334.231217] dc_create_resource_pool+0xfd/0x320 [amdgpu]
[ 334.231408] dc_create+0x256/0x700 [amdgpu]
[ 334.231588] ? srso_alias_return_thunk+0x5/0x7f
[ 334.231590] ? dmi_matches+0xa0/0x230
[ 334.231594] amdgpu_dm_init+0x28c/0x25f0 [amdgpu]
[ 334.231791] ? prb_read_valid+0x1c/0x30
[ 334.231795] ? __irq_work_queue_local+0x43/0xf0
[ 334.231798] ? srso_alias_return_thunk+0x5/0x7f
[ 334.231800] ? irq_work_queue+0x2f/0x70
[ 334.231802] ? srso_alias_return_thunk+0x5/0x7f
[ 334.231803] ? __wake_up_klogd.part.0+0x40/0x70
[ 334.231805] ? srso_alias_return_thunk+0x5/0x7f
[ 334.231807] ? vprintk_emit+0xd9/0x210
[ 334.231809] ? set_dev_info+0x130/0x1c0
[ 334.231812] ? srso_alias_return_thunk+0x5/0x7f
[ 334.231813] ? dev_printk_emit+0xa1/0xe0
[ 334.231819] dm_hw_init+0x14/0x30 [amdgpu]
[ 334.231993] amdgpu_device_init+0x23c7/0x2fc0 [amdgpu]
[ 334.232134] ? pci_read_config_word+0x25/0x50
[ 334.232139] amdgpu_driver_load_kms+0x1a/0xd0 [amdgpu]
[ 334.232284] amdgpu_pci_probe+0x1f9/0x620 [amdgpu]
On DCN401, get_dchub_ref_freq() hook is called before init_hw() hook.
Hence, it is expected to trigger an assert. Remove the extraneous call
to get_dchub_ref_freq() to suppress the call trace
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-08-20 22:14:13 -04:00
..
2024-06-28 09:41:04 +10:00
2024-05-24 08:43:25 -07:00
2024-06-21 12:55:12 +02:00
2024-04-18 12:09:14 +01:00
2024-05-04 18:59:47 +02:00
2024-06-30 22:23:39 +02:00
2024-05-06 18:26:47 -07:00
2024-05-22 10:45:12 -07:00
2024-07-05 10:47:28 +02:00
2024-06-14 06:21:25 -06:00
2024-05-23 12:04:36 -07:00
2024-05-22 20:14:47 -04:00
2024-04-11 07:28:37 +01:00
2024-05-15 12:59:55 -06:00
2024-04-13 12:41:01 +02:00
2024-06-24 16:20:58 +10:00
2024-06-12 16:58:05 -07:00
2024-05-22 09:56:00 -07:00
2024-04-23 13:16:03 +02:00
2024-06-22 13:48:11 +09:00
2024-06-24 20:55:11 +02:00
2024-05-16 08:50:32 -07:00
2024-06-27 17:43:15 -07:00
2024-05-28 16:09:17 -07:00
2024-05-19 09:21:03 -07:00
2024-05-09 00:30:37 +09:00
2024-06-11 23:39:26 +05:30
2024-06-21 11:06:56 +10:00
2024-05-13 16:53:53 -07:00
2024-06-04 11:29:52 +02:00
2024-05-03 22:09:50 +02:00
2024-05-09 01:03:39 +09:00
2024-06-15 14:59:26 +09:00
2024-07-05 12:45:41 +02:00
2024-05-22 12:26:46 -07:00
2024-06-27 17:21:28 +02:00
2024-08-20 22:14:13 -04:00
2024-05-04 18:59:41 +02:00
2024-06-08 10:48:11 -07:00
2024-04-16 11:31:09 +02:00
2024-04-12 11:02:58 -07:00
2024-06-06 06:03:29 +00:00
2024-05-30 09:05:19 -07:00
2024-05-22 12:26:46 -07:00
2024-06-28 20:44:38 +02:00
2024-05-23 00:29:19 +02:00
2024-06-09 12:02:34 +01:00
2024-06-21 10:19:36 -03:00
2024-06-24 14:36:11 -04:00
2024-05-22 20:14:47 -04:00
2024-06-27 12:14:19 +02:00
2024-06-23 17:09:26 +02:00
2024-04-11 14:23:47 -07:00
2024-06-16 09:33:28 -07:00
2024-05-17 09:05:46 -07:00
2024-05-31 12:39:15 -05:00
2024-04-29 10:53:31 +02:00
2024-05-28 06:55:59 -06:00
2024-06-12 09:28:04 -07:00
2024-05-17 08:53:47 -07:00
2024-04-25 11:58:52 +02:00
2024-05-14 18:25:53 -07:00
2024-06-14 08:43:39 +01:00
2024-07-05 10:47:28 +02:00
2024-06-20 16:42:30 +02:00
2024-05-21 09:51:42 -07:00
2024-04-29 08:20:07 -07:00
2024-06-27 12:35:58 +02:00
2024-05-29 13:08:31 +01:00
2024-04-25 12:53:30 -05:00
2024-05-23 12:04:36 -07:00
2024-06-26 10:13:04 -07:00
2024-05-03 07:26:39 +02:00
2024-05-30 19:43:47 -05:00
2024-05-17 13:01:24 +02:00
2024-04-25 20:55:53 -07:00
2024-06-04 18:08:31 +02:00
2024-06-24 23:33:38 +02:00
2024-04-16 00:14:43 +02:00
2024-05-23 12:09:22 -07:00
2024-06-03 19:30:47 +05:30
2024-06-17 10:36:56 +02:00
2024-07-05 10:47:28 +02:00
2024-05-27 08:18:31 -07:00
2024-05-28 21:53:51 +02:00
2024-05-20 08:55:18 -07:00
2024-04-30 21:10:37 +02:00
2024-04-29 08:20:06 -07:00
2024-06-18 13:26:44 -07:00
2024-06-22 16:13:19 +02:00
2024-05-14 23:36:19 +09:00
2024-06-16 11:22:57 +02:00
2024-06-12 21:30:43 +01:00
2024-05-06 13:34:12 -06:00
2024-05-18 12:48:37 -07:00
2024-05-23 12:04:36 -07:00
2024-05-07 23:40:46 +02:00
2024-06-24 11:07:06 +02:00
2024-06-30 14:32:24 -07:00
2024-05-08 19:21:51 +01:00
2024-07-05 12:45:41 +02:00
2024-06-03 17:35:24 +05:30
2024-06-19 14:07:13 +01:00
2024-05-08 19:46:11 +01:00
2024-06-27 15:47:30 +02:00
2024-05-21 13:11:44 -07:00
2024-04-29 22:29:44 +02:00
2024-06-25 14:37:05 +02:00
2024-05-31 13:13:39 +03:00
2024-06-30 08:57:43 -07:00
2024-06-13 21:00:25 -04:00
2024-04-23 13:16:03 +02:00
2024-06-30 08:54:24 -07:00
2024-05-22 08:32:48 -04:00
2024-06-12 15:40:39 -06:00
2024-05-23 12:04:36 -07:00
2024-06-24 13:24:02 +02:00
2024-05-19 09:21:03 -07:00
2024-05-23 12:04:36 -07:00
2024-06-15 12:49:57 +02:00
2024-05-24 10:24:49 -07:00
2024-04-29 16:45:53 +02:00
2024-05-10 04:34:52 +09:00