[Bug 105185] New: [CI] igt at kms_chv_cursor_fail@pipe-b* - dmesg-warn - WARNING: CPU: 4 PID: 1734 at drivers/gpu/drm/drm_vblank.c:614 drm_calc_vbltimestamp_from_scanoutpos+0x13e/0x2f0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 21 07:09:12 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105185

            Bug ID: 105185
           Summary: [CI] igt at kms_chv_cursor_fail@pipe-b* - dmesg-warn -
                    WARNING: CPU: 4 PID: 1734 at
                    drivers/gpu/drm/drm_vblank.c:614
                    drm_calc_vbltimestamp_from_scanoutpos+0x13e/0x2f0
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: marta.lofstedt at intel.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Same run different SNBs
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4274/shard-snb7/igt@kms_chv_cursor_fail@pipe-b-256x256-left-edge.html
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4274/shard-snb1/igt@kms_chv_cursor_fail@pipe-b-64x64-bottom-edge.html

we hit WARN_ONCE in:

"
        /* If mode timing undefined, just return as no-op:
         * Happens during initial modesetting of a crtc.
         */
        if (mode->crtc_clock == 0) {
                DRM_DEBUG("crtc %u: Noop due to uninitialized mode.\n", pipe);
                WARN_ON_ONCE(drm_drv_uses_atomic_modeset(dev));

                return false;
        }
"

Strange that the "Noop due to uninitialized mode" is not in dmesg.


<4>[   36.477658] WARNING: CPU: 4 PID: 1734 at drivers/gpu/drm/drm_vblank.c:614
drm_calc_vbltimestamp_from_scanoutpos+0x13e/0x2f0
<4>[   36.477692] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic i915 x86_pkg_temp_thermal intel_powerclamp coretemp
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_intel snd_hda_codec
snd_hwdep lpc_ich snd_hda_core broadcom bcm_phy_lib snd_pcm tg3 mei_me mei
prime_numbers
<4>[   36.477750] CPU: 4 PID: 1734 Comm: kms_chv_cursor_ Tainted: G     U      
    4.16.0-rc1-CI-CI_DRM_3809+ #1
<4>[   36.477753] Hardware name: Dell Inc. XPS 8300  /0Y2MRG, BIOS A06
10/17/2011
<4>[   36.477757] RIP: 0010:drm_calc_vbltimestamp_from_scanoutpos+0x13e/0x2f0
<4>[   36.477760] RSP: 0018:ffff88022fb03d10 EFLAGS: 00010086
<4>[   36.477765] RAX: ffffffffa0294b40 RBX: ffff880211280000 RCX:
0000000000000001
<4>[   36.477768] RDX: ffffffff820e7b78 RSI: 0000000000000001 RDI:
ffffffff82068c22
<4>[   36.477771] RBP: ffff88022fb03d70 R08: 0000000000000000 R09:
ffffffff815d24d0
<4>[   36.477774] R10: 0000000000000000 R11: ffffffffa0164ca0 R12:
0000000000000001
<4>[   36.477776] R13: ffff880219a19bf8 R14: ffff880219a19f20 R15:
0000000000000000
<4>[   36.477780] FS:  00007ff22da26a40(0000) GS:ffff88022fb00000(0000)
knlGS:0000000000000000
<4>[   36.477783] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[   36.477786] CR2: 00005564829458c8 CR3: 00000002205da004 CR4:
00000000000606e0
<4>[   36.477788] Call Trace:
<4>[   36.477791]  <IRQ>
<4>[   36.477809]  drm_get_last_vbltimestamp+0x36/0x50
<4>[   36.477815]  drm_update_vblank_count+0x64/0x240
<4>[   36.477827]  drm_crtc_accurate_vblank_count+0x41/0xb0
<4>[   36.477869]  display_pipe_crc_irq_handler+0x176/0x220 [i915]
<4>[   36.477918]  i9xx_pipe_crc_irq_handler+0xfe/0x150 [i915]
<4>[   36.477962]  ironlake_irq_handler+0x618/0xa30 [i915]
<4>[   36.477978]  __handle_irq_event_percpu+0x3c/0x340
<4>[   36.477990]  handle_irq_event_percpu+0x1b/0x50
<4>[   36.477997]  handle_irq_event+0x2f/0x50
<4>[   36.478006]  handle_edge_irq+0xe4/0x1b0
<4>[   36.478017]  handle_irq+0x11/0x20
<4>[   36.478023]  do_IRQ+0x5e/0x120
<4>[   36.478036]  common_interrupt+0x9f/0x9f
<4>[   36.478040]  </IRQ>
<4>[   36.478044] RIP: 0010:vprintk_emit+0x23b/0x4f0
<4>[   36.478047] RSP: 0018:ffffc9000035f900 EFLAGS: 00000246 ORIG_RAX:
ffffffffffffffdd
<4>[   36.478052] RAX: ffff88021073cf40 RBX: 0000000000000007 RCX:
0000000000000006
<4>[   36.478055] RDX: 000000000000131f RSI: ffffffff8210f919 RDI:
ffffffff820c00a7
<4>[   36.478058] RBP: ffffc9000035f950 R08: ffff88021073d8e0 R09:
0000000029d3a949
<4>[   36.478061] R10: 0000000000000000 R11: 0000000000000000 R12:
0000000000000246
<4>[   36.478063] R13: 0000000000000000 R14: 0000000000000030 R15:
0000000000000000
<4>[   36.478099]  printk+0x3e/0x46
<4>[   36.478151]  ? intel_disable_pipe+0x3c/0x170 [i915]
<4>[   36.478160]  drm_printk+0x89/0x90
<4>[   36.478170]  ? trace_hardirqs_on_caller+0xde/0x1c0
<4>[   36.478222]  intel_disable_pipe+0x3c/0x170 [i915]
<4>[   36.478272]  ironlake_crtc_disable+0x6a/0x6d0 [i915]
<4>[   36.478278]  ? __mutex_unlock_slowpath+0x38/0x270
<4>[   36.478332]  intel_atomic_commit_tail+0x1bb/0xce0 [i915]
<4>[   36.478393]  intel_atomic_commit+0x256/0x330 [i915]
<4>[   36.478404]  restore_fbdev_mode_atomic+0x199/0x1f0
<4>[   36.478432]  drm_fb_helper_restore_fbdev_mode_unlocked+0x42/0x90
<4>[   36.478439]  drm_fb_helper_set_par+0x24/0x50
<4>[   36.478486]  intel_fbdev_set_par+0x11/0x60 [i915]
<4>[   36.478494]  fbcon_init+0x594/0x620
<4>[   36.478509]  visual_init+0xca/0x120
<4>[   36.478517]  do_bind_con_driver+0x1bb/0x3a0
<4>[   36.478534]  do_unbind_con_driver+0x1a1/0x210
<4>[   36.478552]  store_bind+0xb8/0x1b0
<4>[   36.478563]  kernfs_fop_write+0xfe/0x180
<4>[   36.478574]  __vfs_write+0x1e/0x130
<4>[   36.478581]  ? rcu_read_lock_sched_held+0x6f/0x80
<4>[   36.478585]  ? rcu_sync_lockdep_assert+0x25/0x50
<4>[   36.478590]  ? __sb_start_write+0xd9/0x1f0
<4>[   36.478594]  ? __sb_start_write+0xf3/0x1f0
<4>[   36.478605]  vfs_write+0xbd/0x1b0
<4>[   36.478614]  SyS_write+0x40/0xa0
<4>[   36.478624]  do_syscall_64+0x68/0x1a0
<4>[   36.478632]  entry_SYSCALL_64_after_hwframe+0x26/0x9b
<4>[   36.478635] RIP: 0033:0x7ff22befe670
<4>[   36.478638] RSP: 002b:00007fff41fed078 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
<4>[   36.478644] RAX: ffffffffffffffda RBX: 000055648293d890 RCX:
00007ff22befe670
<4>[   36.478646] RDX: 0000000000000002 RSI: 0000556480986658 RDI:
0000000000000008
<4>[   36.478649] RBP: 00007fff41fed0a0 R08: 000055648293d903 R09:
0000000000000020
<4>[   36.478652] R10: 0000000000000073 R11: 0000000000000246 R12:
000055648098663c
<4>[   36.478655] R13: 0000556480986606 R14: 000055648293d903 R15:
0000556480986642
<4>[   36.478678] Code: e1 48 c7 c2 78 7b 0e 82 be 01 00 00 00 48 c7 c7 22 8c
06 82 e8 64 ec ff ff 48 8b 83 c8 07 00 00 48 83 78 28 00 0f 84 e2 fe ff ff <0f>
ff 45 31 ed e9 db fe ff ff 41 b8 d3 4d 62 10 89 c8 6a 03 41

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180221/7c0a8abc/attachment.html>


More information about the intel-gfx-bugs mailing list