Bug 78763 - [ILK Regression]igt/testdisplay causes "WARNING: CPU: 3 PID: 4013 at drivers/gpu/drm/i915/intel_display.c:944 intel_wait_for_pipe_off+0x12e/0x135 [i915]()"
Summary: [ILK Regression]igt/testdisplay causes "WARNING: CPU: 3 PID: 4013 at drivers/...
Status: CLOSED DUPLICATE of bug 54687
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: Todd Previte
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-16 03:01 UTC by Guo Jinxian
Modified: 2016-10-28 09:56 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (125.63 KB, text/plain)
2014-05-16 03:01 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-05-16 03:01:38 UTC
Created attachment 99130 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. 


Non-working platforms: ILK

==kernel==
--------------------------
-nightly: c74cad3c2599b47438b168ca5629fbb00ab63f95 (fails)
-queued: 229b0489aa75a8c51d2f2e124329d3ac326f326d (fails)
    Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Date:   Wed May 14 17:02:17 2014 +0300

    drm/i915: add null render states for gen6, gen7 and gen8

    These are generated with intel-gpu-tools/tools/null_state_gen

    v2: Don't use header file for states (Daniel Vetter)

    v3: Proper URB state size for gen8/GT3 (Damien Lespiau)

    Tested-by: Kristen Carlson Accardi <kristen@linux.intel.com> (v1)
    Tested-by: Oscar Mateo <oscar.mateo@intel.com> (v2)
    Acked-by: Damien Lespiau <damien.lespiau@intel.com>
    Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>


-fixes: 05adaf1f101f25f40f12c29403e6488f0e45f6b6 (fails)
    Author: Jani Nikula <jani.nikula@intel.com>
    Date:   Fri May 9 14:52:34 2014 +0300

    drm/i915/vlv: reset VLV media force wake request register

    Media force wake get hangs the machine when the system is booted without
    displays attached. The assumption is that (at least some versions of)
    the firmware has skipped some initialization in that case.

    Empirical evidence suggests we need to reset the media force wake
    request register in addition to the render one to avoid hangs.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75895
    Reported-by: Imre Deak <imre.deak@intel.com>
    Reported-by: Darren Hart <dvhart@linux.intel.com>
    Tested-by: Darren Hart <dvhart@linux.intel.com>
    Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>

==Bug detailed description==
-----------------------------
igt/testdisplay causes "WARNING: CPU: 3 PID: 4013 at drivers/gpu/drm/i915/intel_display.c:944 intel_wait_for_pipe_off+0x12e/0x135 [i915]()"

Dmesg shows:
[  921.209309] ------------[ cut here ]------------
[  921.209342] WARNING: CPU: 3 PID: 4013 at drivers/gpu/drm/i915/intel_display.c:944 intel_wait_for_pipe_off+0x12e/0x135 [i915]()
[  921.209344] pipe_off wait timed out
[  921.209346] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas snd_hda_intel snd_hda_controller pcspkr snd_hda_codec i2c_i801 snd_hwdep snd_pcm lpc_ich mfd_core snd_timer firewire_ohci snd firewire_core crc_itu_t soundcore wmi battery tpm_tis tpm parport_pc parport ac acpi_cpufreq joydev i915 video button drm_kms_helper drm
[  921.209380] CPU: 3 PID: 4013 Comm: testdisplay Tainted: G        W     3.15.0-rc3_drm-intel-nightly_2be456_20140514+ #2598
[  921.209383] Hardware name: Dell Inc. Latitude E6510/0JKDHD, BIOS A05 08/10/2010
[  921.209385]  00000000 c16a5021 f4993cc0 c102cf1b f8569f80 c2858000 00070008 000977f7
[  921.209392]  f6175db4 c102cf96 00000009 f4993cc0 f85acdb9 f4993cd8 f8569f80 f85ab5ab
[  921.209398]  000003b0 f85acdb9 c2858000 f6175db8 f5bfc000 f856f6da f4993cf4 f804c166
[  921.209405] Call Trace:
[  921.209410]  [<c16a5021>] ? dump_stack+0x3e/0x4e
[  921.209416]  [<c102cf1b>] ? warn_slowpath_common+0x61/0x74
[  921.209443]  [<f8569f80>] ? intel_wait_for_pipe_off+0x12e/0x135 [i915]
[  921.209448]  [<c102cf96>] ? warn_slowpath_fmt+0x29/0x2d
[  921.209474]  [<f8569f80>] ? intel_wait_for_pipe_off+0x12e/0x135 [i915]
[  921.209501]  [<f856f6da>] ? ironlake_crtc_disable+0x85/0x713 [i915]
[  921.209514]  [<f804c166>] ? drm_ut_debug_printk+0x2c/0x30 [drm]
[  921.209540]  [<f8570ab6>] ? __intel_set_mode+0x1a3/0xffd [i915]
[  921.209565]  [<f8571401>] ? __intel_set_mode+0xaee/0xffd [i915]
[  921.209570]  [<c105401b>] ? up+0x9/0x2a
[  921.209574]  [<c105c80d>] ? console_unlock+0x309/0x33d
[  921.209600]  [<f85731e2>] ? intel_set_mode+0x11/0x25 [i915]
[  921.209625]  [<f8573c39>] ? intel_crtc_set_config+0x646/0x8f1 [i915]
[  921.209630]  [<c104e7c9>] ? load_balance+0x106/0x61f
[  921.209644]  [<f80500e0>] ? drm_mode_set_config_internal+0x39/0x8a [drm]
[  921.209657]  [<f80502f4>] ? drm_framebuffer_remove+0x70/0xd6 [drm]
[  921.209670]  [<f8052ecf>] ? drm_mode_rmfb+0xa7/0xcd [drm]
[  921.209683]  [<f8052e28>] ? drm_mode_addfb2+0x5c2/0x5c2 [drm]
[  921.209693]  [<f80488b3>] ? drm_ioctl+0x22e/0x35f [drm]
[  921.209706]  [<f8052e28>] ? drm_mode_addfb2+0x5c2/0x5c2 [drm]
[  921.209710]  [<c16a7ae6>] ? __schedule+0x597/0x6bb
[  921.209715]  [<c10415f2>] ? enqueue_hrtimer+0x10/0x2e
[  921.209719]  [<c1041d5d>] ? __hrtimer_start_range_ns+0x15b/0x259
[  921.209722]  [<c1041e44>] ? __hrtimer_start_range_ns+0x242/0x259
[  921.209727]  [<c1041940>] ? lock_hrtimer_base.isra.26+0x14/0x2d
[  921.209730]  [<c10419e3>] ? hrtimer_try_to_cancel+0x54/0x5a
[  921.209741]  [<f8048685>] ? drm_copy_field+0x47/0x47 [drm]
[  921.209745]  [<c10c92f9>] ? do_vfs_ioctl+0x3fa/0x444
[  921.209750]  [<c1042506>] ? hrtimer_nanosleep+0x73/0xf3
[  921.209753]  [<c104169b>] ? update_rmtp+0x5e/0x5e
[  921.209757]  [<c10c9385>] ? SyS_ioctl+0x42/0x6d
[  921.209762]  [<c16adeac>] ? sysenter_do_call+0x12/0x22
[  921.209765] ---[ end trace 705caa71d149a4fd ]---


==Reproduce steps==
---------------------------- 
1. ./testdisplay -a
Comment 1 Daniel Vetter 2014-05-19 09:20:28 UTC

*** This bug has been marked as a duplicate of bug 54687 ***
Comment 2 Jari Tahvanainen 2016-10-28 09:56:02 UTC
Closing resolved+duplicate as duplicate of closed+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.