[PATCH v5 0/7] drm/mgag200: Implement VBLANK support
Luck, Tony
tony.luck at intel.com
Fri Oct 11 16:36:32 UTC 2024
Progress! My system now boots. But there's one WARN_ON dump along the way to the "login:" prompt.
Thanks
-Tony
---
[ 33.111505] Console: switching to colour dummy device 80x25
[ 33.119581] mgag200 0000:08:00.0: vgaarb: deactivate vga console
[ 33.139574] [drm] Initialized mgag200 1.0.0 for 0000:08:00.0 on minor 0
[ 33.157665] fbcon: mgag200drmfb (fb0) is primary device
[ 33.196490] ixgbe 0000:03:00.1: Multiqueue Enabled: Rx Queue count = 63, Tx Queue count = 63 XDP Queue count = 0
[ 33.281367] ixgbe 0000:03:00.1: 16.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x4 link at 0000:00:03.2 (capable of 32.000 Gb/s with 5.0 GT/s PCIe x8 link)
[ 33.282519] ------------[ cut here ]------------
[ 33.282550] mgag200 0000:08:00.0: [drm] drm_WARN_ON(pipe >= dev->num_crtcs)
[ 33.282610] WARNING: CPU: 123 PID: 1774 at drivers/gpu/drm/drm_vblank.c:1488 drm_crtc_vblank_on_config+0x1b5/0x210 [drm]
[ 33.282687] Modules linked in: crct10dif_pclmul crc32_pclmul mgag200(+) crc32c_intel i2c_algo_bit ghash_clmulni_intel drm_shmem_helper sha512_ssse3 drm_kms_helper sha256_ssse3 sha1_ssse3 mpt3sas ixgbe(+) raid_class mdio drm scsi_transport_sas dca fuse
[ 33.282712] CPU: 123 UID: 0 PID: 1774 Comm: systemd-udevd Not tainted 6.12.0-rc2+ #171
[ 33.282716] Hardware name: Intel Corporation BRICKLAND/BRICKLAND, BIOS BRBDXSD1.86B.0338.V01.1603162127 03/16/2016
[ 33.282718] RIP: 0010:drm_crtc_vblank_on_config+0x1b5/0x210 [drm]
[ 33.282743] Code: 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 34 ce 01 d6 48 c7 c1 78 9b b1 c0 4c 89 e2 48 c7 c7 1e d6 b1 c0 48 89 c6 e8 3b 9f 60 d5 <0f> 0b 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 48
[ 33.282745] RSP: 0018:ffffbd1ca3f8f660 EFLAGS: 00010282
[ 33.282749] RAX: 000000000000003f RBX: ffff9ddf0a498000 RCX: 0000000000000000
[ 33.282751] RDX: 0000000000000002 RSI: ffffffff97a00e78 RDI: 00000000ffffffff
[ 33.282753] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 33.282755] R10: 0000000000000001 R11: 0000000000000001 R12: ffff9df257758df0
[ 33.282757] R13: ffff9ddf0a4993f0 R14: ffffffffc0b726c0 R15: ffff9ddf05d33450
[ 33.282758] FS: 00007f66ab8e2b40(0000) GS:ffff9deb61f80000(0000) knlGS:0000000000000000
[ 33.282761] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 33.282763] CR2: 00007f66ab8c7c4b CR3: 000000000bc04003 CR4: 00000000003706f0
[ 33.282765] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 33.282766] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 33.282768] Call Trace:
[ 33.282771] <TASK>
[ 33.282773] ? __warn+0x90/0x1a0
[ 33.282785] ? drm_crtc_vblank_on_config+0x1b5/0x210 [drm]
[ 33.282808] ? report_bug+0x1c3/0x1d0
[ 33.282819] ? handle_bug+0x5b/0xa0
[ 33.282824] ? exc_invalid_op+0x14/0x70
[ 33.282827] ? asm_exc_invalid_op+0x16/0x20
[ 33.282839] ? drm_crtc_vblank_on_config+0x1b5/0x210 [drm]
[ 33.282862] ? mgag200_crtc_set_gamma_linear+0x17a/0x190 [mgag200]
[ 33.282868] ? mgag200_enable_display+0x13b/0x160 [mgag200]
[ 33.282876] drm_crtc_vblank_on+0x28/0x40 [drm]
[ 33.282898] drm_atomic_helper_commit_modeset_enables+0xa6/0x240 [drm_kms_helper]
[ 33.282920] drm_atomic_helper_commit_tail+0x50/0x80 [drm_kms_helper]
[ 33.282931] mgag200_mode_config_helper_atomic_commit_tail+0x28/0x40 [mgag200]
[ 33.282951] commit_tail+0x94/0x130 [drm_kms_helper]
[ 33.282963] drm_atomic_helper_commit+0x13e/0x170 [drm_kms_helper]
[ 33.282975] drm_atomic_commit+0x97/0xb0 [drm]
[ 33.282996] ? __pfx___drm_printfn_info+0x10/0x10 [drm]
[ 33.283027] drm_client_modeset_commit_atomic+0x207/0x250 [drm]
[ 33.283060] drm_client_modeset_commit_locked+0x5b/0x190 [drm]
[ 33.283086] drm_client_modeset_commit+0x24/0x50 [drm]
[ 33.283109] __drm_fb_helper_restore_fbdev_mode_unlocked+0x95/0xd0 [drm_kms_helper]
[ 33.283122] drm_fb_helper_set_par+0x2e/0x40 [drm_kms_helper]
[ 33.283132] fbcon_init+0x2a8/0x560
[ 33.283143] visual_init+0xc4/0x120
[ 33.283150] do_bind_con_driver.isra.0+0x1a1/0x3d0
[ 33.283158] do_take_over_console+0x10b/0x1a0
[ 33.283164] do_fbcon_takeover+0x5c/0xc0
[ 33.283167] fbcon_fb_registered+0x49/0x70
[ 33.283170] do_register_framebuffer+0x184/0x230
[ 33.283179] register_framebuffer+0x20/0x40
[ 33.283182] __drm_fb_helper_initial_config_and_unlock+0x33e/0x590 [drm_kms_helper]
[ 33.283193] ? drm_client_register+0x33/0xc0 [drm]
[ 33.283222] drm_fbdev_shmem_client_hotplug+0x6c/0xc0 [drm_shmem_helper]
[ 33.283228] drm_client_register+0x7b/0xc0 [drm]
[ 33.283254] mgag200_pci_probe+0x90/0x180 [mgag200]
[ 33.283262] local_pci_probe+0x46/0xa0
[ 33.283269] pci_device_probe+0xb5/0x220
[ 33.283277] really_probe+0xd9/0x380
[ 33.283288] __driver_probe_device+0x78/0x150
[ 33.283293] driver_probe_device+0x1e/0x90
[ 33.283297] __driver_attach+0xd6/0x1d0
[ 33.283301] ? __pfx___driver_attach+0x10/0x10
[ 33.283305] bus_for_each_dev+0x66/0xa0
[ 33.283311] bus_add_driver+0x111/0x240
[ 33.283317] driver_register+0x5c/0x120
[ 33.283320] ? __pfx_mgag200_pci_driver_init+0x10/0x10 [mgag200]
[ 33.283326] do_one_initcall+0x62/0x3a0
[ 33.283333] ? __kmalloc_cache_noprof+0x240/0x300
[ 33.283343] do_init_module+0x64/0x240
[ 33.283354] init_module_from_file+0x7a/0xa0
[ 33.283366] idempotent_init_module+0x15f/0x260
[ 33.283378] __x64_sys_finit_module+0x5a/0xb0
[ 33.283383] do_syscall_64+0x73/0x190
[ 33.283396] entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 33.283399] RIP: 0033:0x7f66ac527e0d
[ 33.283403] Code: c8 0c 00 0f 05 eb a9 66 0f 1f 44 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 3b 80 0c 00 f7 d8 64 89 01 48
[ 33.283406] RSP: 002b:00007ffff0c752b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 33.283410] RAX: ffffffffffffffda RBX: 0000557cd3b38d00 RCX: 00007f66ac527e0d
[ 33.283412] RDX: 0000000000000000 RSI: 00007f66ac68132c RDI: 0000000000000010
[ 33.283414] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[ 33.283416] R10: 0000000000000010 R11: 0000000000000246 R12: 00007f66ac68132c
[ 33.283418] R13: 0000557cd3b18eb0 R14: 0000000000000007 R15: 0000557cd3b38f80
[ 33.283429] </TASK>
[ 33.283431] irq event stamp: 45133
[ 33.283433] hardirqs last enabled at (45139): [<ffffffff96187784>] vprintk_emit+0x3d4/0x3e0
[ 33.283444] hardirqs last disabled at (45144): [<ffffffff96187737>] vprintk_emit+0x387/0x3e0
[ 33.283448] softirqs last enabled at (44822): [<ffffffff960dac91>] __irq_exit_rcu+0xa1/0x110
[ 33.283456] softirqs last disabled at (44817): [<ffffffff960dac91>] __irq_exit_rcu+0xa1/0x110
[ 33.283459] ---[ end trace 0000000000000000 ]---
[ 33.283494] Console: switching to colour frame buffer device 128x48
[ 33.379557] ixgbe 0000:03:00.1: MAC: 3, PHY: 0, PBA No: G36748-005
[ 33.399852] mgag200 0000:08:00.0: [drm] fb0: mgag200drmfb frame buffer device
More information about the dri-devel
mailing list