Comment 23 for bug 2009952

Revision history for this message
Roemer Claasen (rclaasen) wrote :

UPDATE 2 after testing 6.4rc5.

Still a PSR-related problem when running without "amdgpu.dcdebugmask=0x10" (see kern.log below), apart from that very happy with 6.4-rc5. The flicker/ tearing issue seems to be solved (yeah!).

Without the kernel parameter I do get the following error though, apparently related to PSR:

Jun 7 14:46:12 rct14s kernel: [ 1057.362873] WARNING: CPU: 3 PID: 226 at drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:226 dmub_psr_enable+0x115/0x120 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.363546] Modules linked in: ccm michael_mic xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables libcrc32c nfnetlink rfcomm snd_seq_dummy snd_hrtimer nvme_fabrics cmac algif_hash algif_skcipher af_alg bnep qrtr_mhi amdgpu snd_soc_dmic snd_acp6x_pdm_dma snd_soc_acp6x_mach snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof intel_rapl_msr intel_rapl_common snd_sof_utils edac_mce_amd snd_soc_core iommu_v2 drm_buddy snd_compress ac97_bus snd_ctl_led gpu_sched snd_pcm_dmaengine qrtr kvm_amd drm_suballoc_helper snd_hda_codec_realtek drm_ttm_helper snd_pci_ps ath11k_pci snd_hda_codec_generic binfmt_misc snd_hda_codec_hdmi ttm snd_rpl_pci_acp6x thinkpad_acpi snd_acp_pci kvm ath11k uvcvideo drm_display_helper nvram snd_hda_intel irqbypass videobuf2_vmalloc ledtrig_audio cec qmi_helpers snd_intel_dspcfg platform_profile crct10dif_pclmul uvc snd_pci_acp6x polyval_clmulni
Jun 7 14:46:12 rct14s kernel: [ 1057.363616] snd_intel_sdw_acpi rc_core videobuf2_memops polyval_generic snd_hda_codec snd_pci_acp5x snd_seq_midi ghash_clmulni_intel input_leds videobuf2_v4l2 drm_kms_helper sha512_ssse3 snd_seq_midi_event mac80211 snd_rn_pci_acp3x aesni_intel i2c_algo_bit snd_hda_core videodev crypto_simd snd_rawmidi snd_acp_config syscopyarea snd_hwdep cryptd sysfillrect videobuf2_common snd_soc_acpi snd_pcm sysimgblt nls_iso8859_1 ccp snd_pci_acp3x rapl mc serio_raw snd_seq hid_multitouch cfg80211 btusb snd_seq_device think_lmi firmware_attributes_class wmi_bmof btrtl snd_timer btbcm libarc4 btintel snd ucsi_acpi btmtk mhi typec_ucsi k10temp typec soundcore mac_hid amd_pmc acpi_tad bluetooth ecdh_generic ecc sch_fq_codel overlay iptable_filter ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables msr parport_pc ppdev lp parport drm ramoops reed_solomon pstore_blk pstore_zone efi_pstore ip_tables x_tables autofs4 nvme nvme_core video hid_generic crc32_pclmul psmouse thunderbolt xhci_pci i2c_piix4 xhci_pci_renesas
Jun 7 14:46:12 rct14s kernel: [ 1057.363702] nvme_common i2c_hid_acpi i2c_hid wmi hid
Jun 7 14:46:12 rct14s kernel: [ 1057.363708] CPU: 3 PID: 226 Comm: kworker/3:1H Not tainted 6.4.0-060400rc5-generic #202306041930
Jun 7 14:46:12 rct14s kernel: [ 1057.363712] Hardware name: LENOVO 21CQCTO1WW/21CQCTO1WW, BIOS R22ET60W (1.30 ) 02/09/2023
Jun 7 14:46:12 rct14s kernel: [ 1057.363714] Workqueue: events_highpri dm_irq_work_func [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.364201] RIP: 0010:dmub_psr_enable+0x115/0x120 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.364777] Code: 45 d0 65 48 2b 04 25 28 00 00 00 75 21 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d 31 c0 31 d2 31 c9 31 f6 31 ff c3 cc cc cc cc <0f> 0b eb d0 e8 e2 71 b1 ee 66 90 90 90 90 90 90 90 90 90 90 90 90
Jun 7 14:46:12 rct14s kernel: [ 1057.364780] RSP: 0018:ffffb3f6c08f3ca8 EFLAGS: 00010246
Jun 7 14:46:12 rct14s kernel: [ 1057.364783] RAX: 0000000000000000 RBX: 00000000000003e9 RCX: 0000000000000000
Jun 7 14:46:12 rct14s kernel: [ 1057.364785] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
Jun 7 14:46:12 rct14s kernel: [ 1057.364786] RBP: ffffb3f6c08f3d20 R08: 0000000000000000 R09: 0000000000000000
Jun 7 14:46:12 rct14s kernel: [ 1057.364788] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
Jun 7 14:46:12 rct14s kernel: [ 1057.364789] R13: ffff96828546aa30 R14: 0000000000000000 R15: ffff9682aa84a9c0
Jun 7 14:46:12 rct14s kernel: [ 1057.364791] FS: 0000000000000000(0000) GS:ffff96899eec0000(0000) knlGS:0000000000000000
Jun 7 14:46:12 rct14s kernel: [ 1057.364792] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 7 14:46:12 rct14s kernel: [ 1057.364794] CR2: 00007fb6c403760c CR3: 0000000483c3a000 CR4: 0000000000750ee0
Jun 7 14:46:12 rct14s kernel: [ 1057.364796] PKRU: 55555554
Jun 7 14:46:12 rct14s kernel: [ 1057.364798] Call Trace:
Jun 7 14:46:12 rct14s kernel: [ 1057.364800] <TASK>
Jun 7 14:46:12 rct14s kernel: [ 1057.364803] ? show_regs+0x6d/0x80
Jun 7 14:46:12 rct14s kernel: [ 1057.364808] ? __warn+0x89/0x160
Jun 7 14:46:12 rct14s kernel: [ 1057.364813] ? dmub_psr_enable+0x115/0x120 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.365007] ? report_bug+0x17e/0x1b0
Jun 7 14:46:12 rct14s kernel: [ 1057.365011] ? handle_bug+0x46/0x90
Jun 7 14:46:12 rct14s kernel: [ 1057.365014] ? exc_invalid_op+0x18/0x80
Jun 7 14:46:12 rct14s kernel: [ 1057.365015] ? asm_exc_invalid_op+0x1b/0x20
Jun 7 14:46:12 rct14s kernel: [ 1057.365017] ? dmub_psr_enable+0x115/0x120 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.365237] ? dmub_psr_enable+0xbe/0x120 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.365417] ? __pfx_dmub_psr_enable+0x10/0x10 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.365596] edp_set_psr_allow_active+0x1ba/0x3a0 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.365773] ? drm_dp_dpcd_write+0x88/0x120 [drm_display_helper]
Jun 7 14:46:12 rct14s kernel: [ 1057.365782] dp_handle_hpd_rx_irq+0x329/0x360 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.365958] dc_link_handle_hpd_rx_irq+0x26/0x40 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.366120] handle_hpd_rx_irq+0xe1/0x2f0 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.366298] dm_irq_work_func+0x19/0x30 [amdgpu]
Jun 7 14:46:12 rct14s kernel: [ 1057.366473] process_one_work+0x225/0x430
Jun 7 14:46:12 rct14s kernel: [ 1057.366476] worker_thread+0x50/0x3f0
Jun 7 14:46:12 rct14s kernel: [ 1057.366477] ? __pfx_worker_thread+0x10/0x10
Jun 7 14:46:12 rct14s kernel: [ 1057.366478] kthread+0xf2/0x120
Jun 7 14:46:12 rct14s kernel: [ 1057.366481] ? __pfx_kthread+0x10/0x10
Jun 7 14:46:12 rct14s kernel: [ 1057.366482] ret_from_fork+0x2c/0x50
Jun 7 14:46:12 rct14s kernel: [ 1057.366484] </TASK>
Jun 7 14:46:12 rct14s kernel: [ 1057.366485] ---[ end trace 0000000000000000 ]---