Bug 85908 - [BSW]igt/kms_render and pm_rpm cause *ERROR* pipe A underrun
Summary: [BSW]igt/kms_render and pm_rpm cause *ERROR* pipe A underrun
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Imre Deak
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 08:50 UTC by lu hua
Modified: 2016-10-10 10:49 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (93.69 KB, text/plain)
2014-11-05 08:50 UTC, lu hua
no flags Details

Description lu hua 2014-11-05 08:50:48 UTC
Created attachment 108938 [details]
dmesg

==System Environment==
--------------------------
Regression:  not sure, it also has bug 82649

Non-working platforms: BSW

==kernel==
--------------------------
drm-intel-nightly/f56717bdf29eb7d6a9ec15f095ea2a6858895473

==Bug detailed description==
--------------------------
It causes  [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun. It also has bug 82649 about fail.

output:
IGT-Version: 1.8-ge622850 (x86_64) (Linux: 3.18.0-rc3_drm-intel-nightly_f56717_20141105+ x86_64)
Beginning test direct-render with 1920x1080 @ 60Hz / RGB565 on pipe A, encoder TMDS, connector eDP
Test direct-render with 1920x1080 @ 60Hz / RGB565 on pipe A, encoder TMDS, connector eDP: PASSED
Beginning test direct-render with 1920x1080 @ 60Hz / XRGB8888 on pipe A, encoder TMDS, connector eDP
Test direct-render with 1920x1080 @ 60Hz / XRGB8888 on pipe A, encoder TMDS, connector eDP: PASSED
Beginning test direct-render with 1920x1080 @ 60Hz / XRGB2101010 on pipe A, encoder TMDS, connector eDP
Test direct-render with 1920x1080 @ 60Hz / XRGB2101010 on pipe A, encoder TMDS, connector eDP: PASSED
Beginning test direct-render with 1920x1080 @ 60Hz / ARGB8888 on pipe A, encoder TMDS, connector eDP
Test direct-render with 1920x1080 @ 60Hz / ARGB8888 on pipe A, encoder TMDS, connector eDP: PASSED
Beginning test direct-render with 1920x1080 @ 60Hz / RGB565 on pipe B, encoder TMDS, connector eDP
Test direct-render with 1920x1080 @ 60Hz / RGB565 on pipe B, encoder TMDS, connector eDP: PASSED
Beginning test direct-render with 1920x1080 @ 60Hz / XRGB8888 on pipe B, encoder TMDS, connector eDP
Test direct-render with 1920x1080 @ 60Hz / XRGB8888 on pipe B, encoder TMDS, connector eDP: PASSED
Beginning test direct-render with 1920x1080 @ 60Hz / XRGB2101010 on pipe B, encoder TMDS, connector eDP
Test direct-render with 1920x1080 @ 60Hz / XRGB2101010 on pipe B, encoder TMDS, connector eDP: PASSED
Beginning test direct-render with 1920x1080 @ 60Hz / ARGB8888 on pipe B, encoder TMDS, connector eDP
Test direct-render with 1920x1080 @ 60Hz / ARGB8888 on pipe B, encoder TMDS, connector eDP: PASSED
Subtest direct-render: SUCCESS (78.505s)


[root@x-bsw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm
<3>[  449.807056] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun
<3>[  449.807235] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
<3>[  459.811162] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun
<3>[  468.779569] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun
<3>[  479.185122] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun
<3>[  488.153517] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun
<3>[  498.163350] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
<3>[  499.964961] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun
<3>[  499.964998] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
<3>[  517.535526] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
<3>[  526.503783] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
<3>[  529.793110] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun
<3>[  529.793307] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun

==Reproduce steps==
---------------------------- 
1.  ./kms_render --run-subtest direct-render
Comment 1 lu hua 2014-11-12 08:11:43 UTC
kms_fence_pin_leak also has this error on BSW.
[root@x-bsw01 tests]# ./kms_fence_pin_leak
IGT-Version: 1.8-gc049c39 (x86_64) (Linux: 3.18.0-rc3_drm-intel-nightly_9a7620_20141112+ x86_64)
................................................................
[root@x-bsw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm
<3>[  108.274532] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun
<3>[  109.771823] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun
<3>[  109.771999] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
Comment 2 lu hua 2014-11-13 06:22:54 UTC
run pm_rpm also has this error.
Comment 3 Yi Sun 2014-12-16 00:15:09 UTC
Since this issue affected 40+ sub cases, take it higher priority.
Comment 4 Imre Deak 2014-12-18 19:45:10 UTC
CC'ing Ville, since he's working on some CHV watermark patches.
Comment 5 lu hua 2014-12-26 03:20:01 UTC
kms_3d also has this error.
root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_3d
IGT-Version: 1.9-geb799b2 (x86_64) (Linux: 3.18.0-rc7_drm-intel-next-queued_140fd3_20141226+ x86_64)
Testing:
    1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 0x20015 0x40 74250 (3D:SBSH)
    1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 0x20015 0x40 74176 (3D:SBSH)
    1920x1080i 50 1920 2448 2492 2640 1080 1084 1094 1125 0x20015 0x40 74250 (3D:SBSH)
    1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 0x1c005 0x40 74250 (3D:TB)
    1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 0x4005 0x40 74250 (3D:FP)
    1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 0x1c005 0x40 74176 (3D:TB)
    1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 0x4005 0x40 74176 (3D:FP)
    1280x720 60 1280 1336 1472 1664 720 721 724 746 0x1c006 0x0 74440 (3D:TB)
    1280x720 60 1280 1336 1472 1664 720 721 724 746 0x4006 0x0 74440 (3D:FP)
    1280x720 60 1280 1390 1430 1650 720 725 730 750 0x1c005 0x40 74250 (3D:TB)
    1280x720 60 1280 1390 1430 1650 720 725 730 750 0x4005 0x40 74250 (3D:FP)
    1280x720 60 1280 1390 1430 1650 720 725 730 750 0x1c005 0x40 74176 (3D:TB)
    1280x720 60 1280 1390 1430 1650 720 725 730 750 0x4005 0x40 74176 (3D:FP)
    1280x720 50 1280 1720 1760 1980 720 725 730 750 0x1c005 0x40 74250 (3D:TB)
    1280x720 50 1280 1720 1760 1980 720 725 730 750 0x4005 0x40 74250 (3D:FP)
root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r | egrep "<[1-6]>" |grep drm
<3>[  441.702497] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
<3>[  442.269490] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun
<3>[  442.269671] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
<3>[  442.861626] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
<3>[  443.427750] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
<3>[  444.070666] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
<3>[  444.613791] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
<3>[  445.223455] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Comment 6 lu hua 2015-01-27 02:59:38 UTC
drv_module_reload also has this error.
root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./drv_module_reload
unbinding /sys/class/vtconsole/vtcon1/: (M) frame buffer device
module successfully unloaded
module successfully loaded again
root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r | egrep "<[1-6]>" |grep drm
<6>[   51.424294] drm_kms_helper: drm: unregistered panic notifier
<6>[   51.843018] [drm] Module unloaded
<6>[   52.622021] [drm] Initialized drm 1.1.0 20060810
<6>[   53.336176] [drm] Memory usable by graphics device = 2048M
<6>[   53.336194] [drm] Replacing VGA console driver
<6>[   53.339087] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
<6>[   53.339091] [drm] Driver supports precise vblank timestamp query.
<6>[   54.014327] fbcon: inteldrmfb (fb0) is primary device
<6>[   54.016482] [drm] Initialized i915 1.6.0 20150117 for 0000:00:02.0 on minor 0
<6>[   54.356930] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
<3>[   54.449639] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Comment 7 Jani Nikula 2015-02-12 12:00:12 UTC
Potentially fixed by
http://mid.gmane.org/1423574909-1074-1-git-send-email-ville.syrjala@linux.intel.com

Ville, can you provide a git repo for easier testing please?
Comment 8 Ander Conselvan de Oliveira 2015-04-28 11:52:31 UTC
(In reply to Jani Nikula from comment #7)
> Potentially fixed by
> http://mid.gmane.org/1423574909-1074-1-git-send-email-ville.syrjala@linux.
> intel.com

Those patches have been merged for a while now. Is this still a problem with -nightly?
Comment 9 ye.tian 2015-04-29 07:18:00 UTC
(In reply to Ander Conselvan de Oliveira from comment #8)
> (In reply to Jani Nikula from comment #7)
> > Potentially fixed by
> > http://mid.gmane.org/1423574909-1074-1-git-send-email-ville.syrjala@linux.
> > intel.com
> 
> Those patches have been merged for a while now. Is this still a problem with
> -nightly?

Tested it on the latest nightly kernel(9a4da5) and latest igt(019ae907), this problem does not exists.
So verified it.
Comment 10 Jari Tahvanainen 2016-10-10 10:49:38 UTC
Closing verified+fixed.


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.