[Bug 101623] [IGT][BDW] kms_frontbuffer_tracking at fbc-*draw* has inconsistent results

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 29 07:12:07 UTC 2017


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

--- Comment #15 from Marta Löfstedt <marta.lofstedt at intel.com> ---
While spinning a testlist with all kms_frontbuffer_tracking tests. I can no
longer reproduce the "FBC disabled" issue on BDW NUCi5 with drm-tip
git at ee53909d971

Instead I hit:

[ 2739.847719] WARN_ON(fbc->active)
[ 2739.847795] ------------[ cut here ]------------
[ 2739.847884] WARNING: CPU: 2 PID: 25732 at
drivers/gpu/drm/i915/intel_fbc.c:1173 __intel_fbc_disable+0xdf/0x110 [i915]
[ 2739.847886] Modules linked in: rfcomm bnep arc4 iwlmvm binfmt_misc
nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp mac80211
coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel
aes_x86_64 crypto_simd cryptd glue_helper iwlwifi intel_cstate
snd_hda_codec_realtek intel_rapl_perf snd_soc_rt5640 snd_hda_codec_hdmi
snd_hda_codec_generic snd_soc_rl6231 snd_soc_ssm4567 snd_soc_core cfg80211
snd_hda_intel btusb btrtl btbcm snd_hda_codec btintel snd_compress snd_hwdep
bluetooth snd_hda_core input_leds snd_seq lpc_ich ir_rc6_decoder snd_pcm
ecdh_generic mei_me shpchp snd_seq_device mei snd_timer rc_rc6_mce
ir_lirc_codec lirc_dev snd acpi_als nuvoton_cir snd_soc_sst_acpi rc_core
elan_i2c snd_soc_sst_match kfifo_buf dw_dmac dw_dmac_core industrialio 8250_dw
spi_pxa2xx_platform
[ 2739.847959]  acpi_pad soundcore mac_hid parport_pc ppdev lp parport
ip_tables x_tables autofs4 i915 hid_generic usbhid i2c_algo_bit drm_kms_helper
syscopyarea sysfillrect sysimgblt fb_sys_fops drm e1000e ptp ahci libahci
pps_core video sdhci_acpi i2c_hid sdhci hid
[ 2739.847997] CPU: 2 PID: 25732 Comm: kms_frontbuffer Tainted: G     U  W     
 4.13.0-rc6+ #41
[ 2739.847999] Hardware name:                  /NUC5i5RYB, BIOS
RYBDWi35.86A.0365.2017.0704.1050 07/04/2017
[ 2739.848002] task: ffff8e428b314500 task.stack: ffffa86e42f84000
[ 2739.848070] RIP: 0010:__intel_fbc_disable+0xdf/0x110 [i915]
[ 2739.848072] RSP: 0018:ffffa86e42f87940 EFLAGS: 00010286
[ 2739.848076] RAX: 0000000000000014 RBX: ffff8e4283078000 RCX:
ffffffffae25f1c8
[ 2739.848079] RDX: 0000000000000000 RSI: 0000000000000096 RDI:
0000000000000247
[ 2739.848081] RBP: ffffa86e42f87950 R08: 0000000000000014 R09:
00000000000046a9
[ 2739.848082] R10: ffffa86e40cdfe30 R11: 0000000000000014 R12:
ffff8e428c0f6000
[ 2739.848084] R13: ffff8e428307abf0 R14: ffff8e428c8da000 R15:
ffff8e4283078000
[ 2739.848088] FS:  00007f185b9eea40(0000) GS:ffff8e4296d00000(0000)
knlGS:0000000000000000
[ 2739.848090] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2739.848092] CR2: 000055de0dc3eeb8 CR3: 000000024b808000 CR4:
00000000003406e0
[ 2739.848095] Call Trace:
[ 2739.848161]  intel_fbc_disable+0x5f/0x70 [i915]
[ 2739.848224]  intel_atomic_commit_tail+0x153/0xfa0 [i915]
[ 2739.848291]  ? intel_atomic_commit_ready+0x48/0x5c [i915]
[ 2739.848338]  ? __i915_sw_fence_complete+0xf8/0x1a0 [i915]
[ 2739.848407]  intel_atomic_commit+0x18c/0x240 [i915]
[ 2739.848444]  drm_atomic_commit+0x4b/0x50 [drm]
[ 2739.848500]  hsw_pipe_A_crc_wa+0x6b/0x170 [i915]
[ 2739.848554]  get_new_crc_ctl_reg+0x143/0x330 [i915]
[ 2739.848607]  intel_crtc_set_crc_source+0x8b/0x200 [i915]
[ 2739.848634]  crtc_crc_open+0xf1/0x2b0 [drm]
[ 2739.848642]  ? kmem_cache_alloc_trace+0x181/0x190
[ 2739.848650]  full_proxy_open+0xff/0x1c0
[ 2739.848656]  do_dentry_open+0x1fc/0x300
[ 2739.848662]  ? full_proxy_release+0x90/0x90
[ 2739.848667]  vfs_open+0x4e/0x80
[ 2739.848672]  path_openat+0x614/0x1490
[ 2739.848677]  ? __slab_free+0xa9/0x300
[ 2739.848682]  ? __slab_free+0xa9/0x300
[ 2739.848687]  ? _copy_to_user+0x2a/0x40
[ 2739.848712]  ? crc_control_write+0x7e/0x100 [drm]
[ 2739.848717]  do_filp_open+0x99/0x110
[ 2739.848723]  ? __check_object_size+0xb3/0x190
[ 2739.848729]  ? __alloc_fd+0x46/0x170
[ 2739.848735]  do_sys_open+0x130/0x220
[ 2739.848740]  ? do_sys_open+0x130/0x220
[ 2739.848746]  SyS_openat+0x14/0x20
[ 2739.848752]  entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 2739.848755] RIP: 0033:0x7f1859be875a
[ 2739.848757] RSP: 002b:00007ffd45522540 EFLAGS: 00000246 ORIG_RAX:
0000000000000101
[ 2739.848761] RAX: ffffffffffffffda RBX: 0000564f1343a5a0 RCX:
00007f1859be875a
[ 2739.848763] RDX: 0000000000000000 RSI: 00007ffd45522600 RDI:
0000000000000006
[ 2739.848765] RBP: 00007ffd45522740 R08: 0000000000000000 R09:
000000000000000f
[ 2739.848767] R10: 0000000000000000 R11: 0000000000000246 R12:
0000000000000001
[ 2739.848769] R13: 0000564f1254bb6a R14: 00007ffd45522950 R15:
0000564f12762a60
[ 2739.848772] Code: e1 ea 68 c0 e8 24 77 ed ec 0f ff 80 bb d2 2c 00 00 00 0f
84 6f ff ff ff 48 c7 c6 fb ea 68 c0 48 c7 c7 e1 ea 68 c0 e8 02 77 ed ec <0f> ff
41 80 bc 24 b8 04 00 00 00 0f 84 5a ff ff ff 48 c7 c6 10 
[ 2739.848845] ---[ end trace d6ff4a47c036fe0f ]---
[ 2739.848995] WARN_ON(fbc->active)
[ 2739.849030] ------------[ cut here ]------------
[ 2739.849103] WARNING: CPU: 2 PID: 25732 at
drivers/gpu/drm/i915/intel_fbc.c:1141 intel_fbc_enable+0x4a1/0x550 [i915]
[ 2739.849104] Modules linked in: rfcomm bnep arc4 iwlmvm binfmt_misc
nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp mac80211
coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel
aes_x86_64 crypto_simd cryptd glue_helper iwlwifi intel_cstate
snd_hda_codec_realtek intel_rapl_perf snd_soc_rt5640 snd_hda_codec_hdmi
snd_hda_codec_generic snd_soc_rl6231 snd_soc_ssm4567 snd_soc_core cfg80211
snd_hda_intel btusb btrtl btbcm snd_hda_codec btintel snd_compress snd_hwdep
bluetooth snd_hda_core input_leds snd_seq lpc_ich ir_rc6_decoder snd_pcm
ecdh_generic mei_me shpchp snd_seq_device mei snd_timer rc_rc6_mce
ir_lirc_codec lirc_dev snd acpi_als nuvoton_cir snd_soc_sst_acpi rc_core
elan_i2c snd_soc_sst_match kfifo_buf dw_dmac dw_dmac_core industrialio 8250_dw
spi_pxa2xx_platform
[ 2739.849174]  acpi_pad soundcore mac_hid parport_pc ppdev lp parport
ip_tables x_tables autofs4 i915 hid_generic usbhid i2c_algo_bit drm_kms_helper
syscopyarea sysfillrect sysimgblt fb_sys_fops drm e1000e ptp ahci libahci
pps_core video sdhci_acpi i2c_hid sdhci hid
[ 2739.849207] CPU: 2 PID: 25732 Comm: kms_frontbuffer Tainted: G     U  W     
 4.13.0-rc6+ #41
[ 2739.849209] Hardware name:                  /NUC5i5RYB, BIOS
RYBDWi35.86A.0365.2017.0704.1050 07/04/2017
[ 2739.849211] task: ffff8e428b314500 task.stack: ffffa86e42f84000
[ 2739.849280] RIP: 0010:intel_fbc_enable+0x4a1/0x550 [i915]
[ 2739.849283] RSP: 0018:ffffa86e42f878c0 EFLAGS: 00010282
[ 2739.849286] RAX: 0000000000000014 RBX: ffff8e4283078000 RCX:
ffffffffae25f1c8
[ 2739.849288] RDX: 0000000000000000 RSI: 0000000000000092 RDI:
0000000000000247
[ 2739.849290] RBP: ffffa86e42f87910 R08: 0000000000000014 R09:
00000000000046e0
[ 2739.849292] R10: ffffa86e42f87670 R11: 0000000000000014 R12:
ffff8e428c0f6000
[ 2739.849294] R13: ffff8e42867e9000 R14: ffff8e4283410e00 R15:
ffff8e428c8da000
[ 2739.849298] FS:  00007f185b9eea40(0000) GS:ffff8e4296d00000(0000)
knlGS:0000000000000000
[ 2739.849300] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2739.849302] CR2: 000055de0dc3eeb8 CR3: 000000024b808000 CR4:
00000000003406e0
[ 2739.849303] Call Trace:
[ 2739.849373]  intel_update_crtc+0x7a/0xd0 [i915]
[ 2739.849441]  intel_update_crtcs+0x6b/0x80 [i915]
[ 2739.849508]  intel_atomic_commit_tail+0x2e9/0xfa0 [i915]
[ 2739.849575]  ? intel_atomic_commit_ready+0x48/0x5c [i915]
[ 2739.849622]  ? __i915_sw_fence_complete+0xf8/0x1a0 [i915]
[ 2739.849689]  intel_atomic_commit+0x18c/0x240 [i915]
[ 2739.849722]  drm_atomic_commit+0x4b/0x50 [drm]
[ 2739.849779]  hsw_pipe_A_crc_wa+0x6b/0x170 [i915]
[ 2739.849833]  get_new_crc_ctl_reg+0x143/0x330 [i915]
[ 2739.849886]  intel_crtc_set_crc_source+0x8b/0x200 [i915]
[ 2739.849912]  crtc_crc_open+0xf1/0x2b0 [drm]
[ 2739.849918]  ? kmem_cache_alloc_trace+0x181/0x190
[ 2739.849925]  full_proxy_open+0xff/0x1c0
[ 2739.849931]  do_dentry_open+0x1fc/0x300
[ 2739.849936]  ? full_proxy_release+0x90/0x90
[ 2739.849942]  vfs_open+0x4e/0x80
[ 2739.849947]  path_openat+0x614/0x1490
[ 2739.849951]  ? __slab_free+0xa9/0x300
[ 2739.849956]  ? __slab_free+0xa9/0x300
[ 2739.849960]  ? _copy_to_user+0x2a/0x40
[ 2739.849986]  ? crc_control_write+0x7e/0x100 [drm]
[ 2739.849991]  do_filp_open+0x99/0x110
[ 2739.849997]  ? __check_object_size+0xb3/0x190
[ 2739.850002]  ? __alloc_fd+0x46/0x170
[ 2739.850008]  do_sys_open+0x130/0x220
[ 2739.850013]  ? do_sys_open+0x130/0x220
[ 2739.850019]  SyS_openat+0x14/0x20
[ 2739.850024]  entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 2739.850027] RIP: 0033:0x7f1859be875a
[ 2739.850029] RSP: 002b:00007ffd45522540 EFLAGS: 00000246 ORIG_RAX:
0000000000000101
[ 2739.850033] RAX: ffffffffffffffda RBX: 0000564f1343a5a0 RCX:
00007f1859be875a
[ 2739.850035] RDX: 0000000000000000 RSI: 00007ffd45522600 RDI:
0000000000000006
[ 2739.850037] RBP: 00007ffd45522740 R08: 0000000000000000 R09:
000000000000000f
[ 2739.850039] R10: 0000000000000000 R11: 0000000000000246 R12:
0000000000000001
[ 2739.850041] R13: 0000564f1254bb6a R14: 00007ffd45522950 R15:
0000564f12762a60
[ 2739.850044] Code: c6 c8 3a 6a c0 48 c7 c7 e1 ea 68 c0 e8 1a 60 ed ec 0f ff
e9 f6 fb ff ff 48 c7 c6 fb ea 68 c0 48 c7 c7 e1 ea 68 c0 e8 00 60 ed ec <0f> ff
e9 ce fb ff ff 49 8b 94 24 30 2c 00 00 41 03 94 24 08 3f

-- 
You are receiving this mail because:
You are the QA Contact 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/20170829/be8331bb/attachment-0001.html>


More information about the intel-gfx-bugs mailing list