[PATCH v5 0/7] drm/mgag200: Implement VBLANK support
Luck, Tony
tony.luck at intel.com
Thu Oct 10 16:07:06 UTC 2024
> Thanks for testing. Here's another patch to try Ville's suggestion. It
> should disable HW vblank IRQs on your system. Could you please test it
> and report on the results?
Thomas,
Thanks for keeping working on this. Output is different, but still dies with vblank problems.
[ OK ] Started GNOME Display Manager.
[ 329.575813] mgag200 0000:08:00.0: [drm] *ERROR* flip_done timed out
[ 329.582889] mgag200 0000:08:00.0: [drm] *ERROR* [PLANE:32:plane-0] commit wait timed out
[ 329.719779] ------------[ cut here ]------------
[ 329.725174] [CRTC:34:crtc-0] vblank wait timed out
[ 329.730724] WARNING: CPU: 150 PID: 1402 at drivers/gpu/drm/drm_atomic_helper.c:1682 drm_atomic_helper_wait_for_vblanks.part.0+0x24f/0x260 [drm_kms_helper]
[ 329.746264] Modules linked in: xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nf_conntrack_tftp bridge stp llc nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ip_set rfkill nf_tables nfnetlink ip6table_filter ip6_tables iptable_filter sunrpc vfat fat intel_rapl_msr intel_rapl_common intel_uncore_frequency intel_uncore_frequency_common sb_edac iTCO_wdt intel_pmc_bxt iTCO_vendor_support x86_pkg_temp_thermal intel_powerclamp ipmi_ssif coretemp rapl intel_cstate joydev intel_uncore acpi_ipmi pcspkr mei_me i2c_i801 i2c_smbus ipmi_si lpc_ich mei ioatdma wmi ipmi_devintf ipmi_msghandler acpi_pad zram ip_tables crct10dif_pclmul crc32_pclmul mgag200 crc32c_intel i2c_algo_bit ghash_clmulni_intel drm_shmem_helper sha512_ssse3
[ 329.746604] drm_kms_helper sha256_ssse3 mpt3sas sha1_ssse3 ixgbe raid_class mdio drm scsi_transport_sas dca fuse
[ 329.858506] CPU: 150 UID: 0 PID: 1402 Comm: kworker/150:1 Tainted: G W 6.12.0-rc2+ #171
[ 329.869030] Tainted: [W]=WARN
[ 329.872357] Hardware name: Intel Corporation BRICKLAND/BRICKLAND, BIOS BRBDXSD1.86B.0338.V01.1603162127 03/16/2016
[ 329.883941] Workqueue: events drm_fb_helper_damage_work [drm_kms_helper]
[ 329.891472] RIP: 0010:drm_atomic_helper_wait_for_vblanks.part.0+0x24f/0x260 [drm_kms_helper]
[ 329.900937] Code: 00 48 8d 7b 08 e8 41 b7 38 d1 45 85 ff 0f 85 d3 fe ff ff 49 8b 56 20 41 8b b6 d8 00 00 00 48 c7 c7 b0 40 df c0 e8 21 61 30 d1 <0f> 0b e9 b5 fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
[ 329.921932] RSP: 0018:ffffbb9f23277c00 EFLAGS: 00010286
[ 329.927797] RAX: 0000000000000026 RBX: ffff9de18562e028 RCX: 0000000000000000
[ 329.935793] RDX: 0000000000000002 RSI: ffffffff93a00e78 RDI: 00000000ffffffff
[ 329.943786] RBP: ffff9e13d910dc80 R08: 0000000000000000 R09: ffffbb9f23277ac0
[ 329.951778] R10: ffffbb9f23277ab8 R11: ffff9e33811fffe8 R12: 0000000000000000
[ 329.959784] R13: 0000000000000000 R14: ffff9de0ada653f0 R15: 0000000000000000
[ 329.967777] FS: 0000000000000000(0000) GS:ffff9e2032100000(0000) knlGS:0000000000000000
[ 329.976838] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 329.983280] CR2: 0000555ce9d0d030 CR3: 0000003eccc3a004 CR4: 00000000003706f0
[ 329.991273] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 329.999268] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 330.007262] Call Trace:
[ 330.010011] <TASK>
[ 330.012383] ? __warn+0x90/0x1a0
[ 330.016022] ? drm_atomic_helper_wait_for_vblanks.part.0+0x24f/0x260 [drm_kms_helper]
[ 330.024803] ? report_bug+0x1c3/0x1d0
[ 330.028924] ? __irq_work_queue_local+0x48/0x130
[ 330.034116] ? handle_bug+0x5b/0xa0
[ 330.038043] ? exc_invalid_op+0x14/0x70
[ 330.042353] ? asm_exc_invalid_op+0x16/0x20
[ 330.047064] ? drm_atomic_helper_wait_for_vblanks.part.0+0x24f/0x260 [drm_kms_helper]
[ 330.055851] ? __pfx_autoremove_wake_function+0x10/0x10
[ 330.061723] drm_atomic_helper_commit_tail+0x71/0x80 [drm_kms_helper]
[ 330.068954] mgag200_mode_config_helper_atomic_commit_tail+0x28/0x40 [mgag200]
[ 330.077057] commit_tail+0x94/0x130 [drm_kms_helper]
[ 330.082642] drm_atomic_helper_commit+0x13e/0x170 [drm_kms_helper]
[ 330.089597] drm_atomic_commit+0x97/0xb0 [drm]
[ 330.094706] ? __pfx___drm_printfn_info+0x10/0x10 [drm]
[ 330.100624] drm_atomic_helper_dirtyfb+0x185/0x250 [drm_kms_helper]
[ 330.107672] drm_fbdev_shmem_helper_fb_dirty+0x4c/0xb0 [drm_shmem_helper]
[ 330.115282] drm_fb_helper_damage_work+0x83/0x150 [drm_kms_helper]
[ 330.122221] process_one_work+0x214/0x600
[ 330.126727] worker_thread+0x17f/0x320
[ 330.130932] ? __pfx_worker_thread+0x10/0x10
[ 330.135714] kthread+0xe0/0x110
[ 330.139245] ? __pfx_kthread+0x10/0x10
[ 330.143455] ret_from_fork+0x30/0x50
[ 330.147473] ? __pfx_kthread+0x10/0x10
[ 330.151683] ret_from_fork_asm+0x1a/0x30
[ 330.156104] </TASK>
[ 330.158553] irq event stamp: 68963
[ 330.162368] hardirqs last enabled at (68975): [<ffffffff92183fae>] __up_console_sem+0x5e/0x70
[ 330.172011] hardirqs last disabled at (68986): [<ffffffff92183f93>] __up_console_sem+0x43/0x70
[ 330.181647] softirqs last enabled at (68850): [<ffffffff920dac91>] __irq_exit_rcu+0xa1/0x110
[ 330.191195] softirqs last disabled at (69007): [<ffffffff920dac91>] __irq_exit_rcu+0xa1/0x110
[ 330.200734] ---[ end trace 0000000000000000 ]---
[ 340.327342] mgag200 0000:08:00.0: [drm] *ERROR* flip_done timed out
[ 340.334379] mgag200 0000:08:00.0: [drm] *ERROR* [CRTC:34:crtc-0] commit wait timed out
[ 350.566891] mgag200 0000:08:00.0: [drm] *ERROR* flip_done timed out
[ 350.573925] mgag200 0000:08:00.0: [drm] *ERROR* [PLANE:32:plane-0] commit wait timed out
[ 350.710886] ------------[ cut here ]------------
More information about the dri-devel
mailing list