Bug 91002 - [BDW] Mplayer xv texture causes *ERROR* Unclaimed register detected
Summary: [BDW] Mplayer xv texture causes *ERROR* Unclaimed register detected
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-17 07:55 UTC by ye.tian
Modified: 2017-07-24 22:46 UTC (History)
2 users (show)

See Also:
i915 platform: BDW
i915 features:


Attachments
dmesg info on stable v4.0.4 (70.35 KB, text/plain)
2015-06-17 07:55 UTC, ye.tian
no flags Details
dmesg info with the fixes kernel (109.49 KB, text/plain)
2015-06-17 07:57 UTC, ye.tian
no flags Details
Xorg.0.log info (18.20 KB, text/plain)
2015-06-17 07:58 UTC, ye.tian
no flags Details

Description ye.tian 2015-06-17 07:55:42 UTC
Created attachment 116546 [details]
dmesg info on stable v4.0.4

==System Environment==       
-----------------------------------------------------
Regression: Yes
Non-working platforms: BDW

==Kernel==
--------------------------------------------------
Kernel:  stable v4.0.4
kernel:  drm-intel-fixes_245ec9
commit 245ec9d85696c3e539b23e210f248698b478379c
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Mon Jun 15 12:59:37 2015 +0300

    Revert "drm/i915: Don't skip request retirement if the active list is empty"

    This reverts commit 0aedb1626566efd72b369c01992ee7413c82a0c5.

==Bug detailed description==
--------------------------------------------------
Mplayer xv texture causes *ERROR* Unclaimed register detected on stable v4.0.4 kernel, It does not exists on the latest drm-intel-nightly branch kernel. It causes Call trace on latest drm-intel-fixes branch kernel.

Stable v4.0.4 output info: 
[drm:hsw_unclaimed_reg_detect.isra.8 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.[drm:hsw_unclaimed_reg_detect.isra.8 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.

Latest fixes kernel output info:
---------------------------------------------------------
[  269.056863] ------------[ cut here ]------------
[  269.056898] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/i915/intel_uncore.c:566 hsw_unclaimed_reg_debug.isra.8+0x62/0x78 [i915]()
[  269.056900] Unclaimed register detected before reading register 0x44200
[  269.056901] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev snd_hda_codec_hdmi pcspkr snd_hda_intel snd_hda_controller snd_hda_codec i2c_i801 snd_hda_core snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq joydev i915 button video drm_kms_helper drm
[  269.056915] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.0-rc8_drm-intel-fixes_245ec9_20150616+ #1504
[  269.056917]  0000000000000000 0000000000000009 ffffffff817a74cc ffff88014ec03dc8
[  269.056920]  ffffffff8103ebde ffff88014a004960 ffffffffa00bddfe ffff88014a004980
[  269.056922]  ffff8801445b0068 0000000000044200 ffff8801445b0070 ffff8801445b0068
[  269.056924] Call Trace:
[  269.056925]  <IRQ>  [<ffffffff817a74cc>] ? dump_stack+0x40/0x50
[  269.056932]  [<ffffffff8103ebde>] ? warn_slowpath_common+0x98/0xb0
[  269.056945]  [<ffffffffa00bddfe>] ? hsw_unclaimed_reg_debug.isra.8+0x62/0x78 [i915]
[  269.056947]  [<ffffffff8103ec3b>] ? warn_slowpath_fmt+0x45/0x4a
[  269.056950]  [<ffffffff8106005f>] ? select_task_rq_fair+0x231/0x59d
[  269.056962]  [<ffffffffa00bddfe>] ? hsw_unclaimed_reg_debug.isra.8+0x62/0x78 [i915]
[  269.056972]  [<ffffffffa00bdfbf>] ? gen6_read32+0x49/0x163 [i915]
[  269.056985]  [<ffffffffa00ac286>] ? gen8_irq_handler+0x4b/0x345 [i915]
[  269.056988]  [<ffffffff81075e94>] ? handle_irq_event_percpu+0x34/0x15b
[  269.056991]  [<ffffffff810862c3>] ? update_wall_time+0x52b/0x544
[  269.056993]  [<ffffffff81075fe9>] ? handle_irq_event+0x2e/0x4d
[  269.056995]  [<ffffffff81078648>] ? handle_edge_irq+0xba/0xcf
[  269.056998]  [<ffffffff810041b5>] ? handle_irq+0x15/0x20
[  269.057000]  [<ffffffff81003c78>] ? do_IRQ+0x41/0xc0
[  269.057002]  [<ffffffff817adaeb>] ? common_interrupt+0x6b/0x6b
[  269.057003]  <EOI>  [<ffffffff816be8a9>] ? cpuidle_enter_state+0xd4/0x188
[  269.057009]  [<ffffffff816be855>] ? cpuidle_enter_state+0x80/0x188
[  269.057011]  [<ffffffff81069588>] ? cpu_startup_entry+0x204/0x31c
[  269.057014]  [<ffffffff81c99e1c>] ? start_kernel+0x413/0x41e
[  269.057017]  [<ffffffff81c99813>] ? set_init_arg+0x4e/0x4e
[  269.057019] ---[ end trace 108f4de1dece6be6 ]---



==Reproduce steps==
----------------------------
1, xinit&
2, mplayer -vo xv:adaptor=0  xxx
Comment 1 ye.tian 2015-06-17 07:57:43 UTC
Created attachment 116547 [details]
dmesg info with the fixes kernel
Comment 2 ye.tian 2015-06-17 07:58:12 UTC
Created attachment 116548 [details]
Xorg.0.log info
Comment 3 Chris Wilson 2015-06-17 08:04:04 UTC
The same error is in 4.0.4, just not as verbose and continuously repeated.
Comment 4 ye.tian 2015-06-17 08:11:48 UTC
It also causes Call trace on the latest drm-intel-next-queued branch kernel as same as the latest drm-intel-fixes branch kernel.
Comment 5 ye.tian 2015-06-19 09:00:29 UTC
It still causes *ERROR* on v3.19.2 and 3.17.0-rc7_drm-intel-fixes_91e564_20141005 kernel.
Comment 6 Jani Nikula 2016-04-25 09:07:33 UTC
Presumed fixed on latest nightly.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.