[Bug 93439] New: [SNB,IVB,HSW,BDW] RPM wakeref not held during HW access (intel_connector_get_hw_state)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 18 06:54:04 PST 2015


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

            Bug ID: 93439
           Summary: [SNB,IVB,HSW,BDW] RPM wakeref not held during HW
                    access (intel_connector_get_hw_state)
           Product: DRI
           Version: XOrg git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: imre.deak at intel.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

The WARN below started to appeared after we added stricter RPM reference
checking asserts. It happens with CRT, LVDS, HDMI, DDI output types. There may
be additional platforms/testcases affected than the ones listed, since a
preceeding unrelated error message may suppress any further errors (we use
WARN_ONCE). Testcases which triggered this WARN or similar one with
intel_connector_get_hw_state/intel_ddi_connector_get_hw_state during CI runs:

SNB:
  igt at kms_flip@basic-flip-vs-wf_vblank
  igt at kms_pipe_crc_basic@read-crc-pipe-a
  igt at kms_pipe_crc_basic@read-crc-pipe-b
  igt at kms_setmode@basic-clone-single-crtc
  igt at kms_pipe_crc_basic@suspend-read-crc-pipe-b
IVB:
  igt at kms_flip@basic-flip-vs-wf_vblank
  igt at kms_pipe_crc_basic@read-crc-pipe-a
  igt at pm_rpm@basic-pci-d3-state
  igt at pm_rpm@basic-rte
HSW:
  igt at kms_flip@basic-flip-vs-modeset
  igt at kms_flip@basic-flip-vs-wf_vblank
BDW:
  igt at kms_flip@basic-flip-vs-wf_vblank
  igt at kms_flip@basic-plain-flip
  igt at kms_pipe_crc_basic@read-crc-pipe-c-frame-sequence
  igt at pm_rpm@basic-pci-d3-state

[   66.151038] ------------[ cut here ]------------
[   66.151071] WARNING: CPU: 0 PID: 5743 at
drivers/gpu/drm/i915/intel_drv.h:1446 gen6_read32+0x238/0x2b0 [i915]()
[   66.151073] RPM wakelock ref not held during HW access
[   66.151075] Modules linked in:
[   66.151077]  x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul
i915 crc32_pclmul mei_me mei lpc_ich broadcom bcm_phy_lib tg3 ptp pps_core
[   66.151093] CPU: 0 PID: 5743 Comm: kms_flip Tainted: G     U         
4.4.0-rc5-gfxbench+ #1
[   66.151095] Hardware name: Dell Inc. XPS 8300  /0Y2MRG, BIOS A06 10/17/2011
[   66.151097]  ffffffffa0186860 ffff8800c06e3aa0 ffffffff813e000c
ffff8800c06e3ae8
[   66.151102]  ffff8800c06e3ad8 ffffffff810746a1 00000000000e1100
ffff88012966f478
[   66.151106]  ffff8800bf2a0000 0000000000000001 ffff8800bf2a0000
ffff8800c06e3b38
[   66.151111] Call Trace:
[   66.151117]  [<ffffffff813e000c>] dump_stack+0x4e/0x82
[   66.151121]  [<ffffffff810746a1>] warn_slowpath_common+0x81/0xc0
[   66.151124]  [<ffffffff81074727>] warn_slowpath_fmt+0x47/0x50
[   66.151129]  [<ffffffff810c5a3d>] ? trace_hardirqs_on+0xd/0x10
[   66.151148]  [<ffffffffa00f6b28>] gen6_read32+0x238/0x2b0 [i915]
[   66.151154]  [<ffffffff81796919>] ? mutex_unlock+0x9/0x10
[   66.151177]  [<ffffffffa0134ee5>] intel_crt_get_hw_state+0x55/0x90 [i915]
[   66.151252]  [<ffffffffa011bf33>] intel_connector_get_hw_state+0x23/0x30
[i915]
[   66.151273]  [<ffffffffa011a63e>] intel_atomic_commit+0xa3e/0x17f0 [i915]
[   66.151280]  [<ffffffff8150e142>] ? drm_atomic_check_only+0x142/0x600
[   66.151287]  [<ffffffff8150ed17>] ?
drm_atomic_add_affected_connectors+0x87/0xf0
[   66.151292]  [<ffffffff8150e632>] drm_atomic_commit+0x32/0x50
[   66.151298]  [<ffffffff814eb705>] drm_atomic_helper_set_config+0x75/0xb0
[   66.151303]  [<ffffffff814fd640>] drm_mode_set_config_internal+0x60/0x110
[   66.151308]  [<ffffffff815023d6>] drm_mode_setcrtc+0x186/0x4f0
[   66.151314]  [<ffffffff811844f8>] ? __might_fault+0x48/0xa0
[   66.151320]  [<ffffffff814f450d>] drm_ioctl+0x13d/0x590
[   66.151325]  [<ffffffff81502250>] ? drm_mode_setplane+0x1b0/0x1b0
[   66.151330]  [<ffffffff811d53ec>] do_vfs_ioctl+0x2fc/0x550
[   66.151335]  [<ffffffff8118dbca>] ? vm_munmap+0x4a/0x60
[   66.151340]  [<ffffffff811e0e5a>] ? __fget_light+0x6a/0x90
[   66.151344]  [<ffffffff811d567c>] SyS_ioctl+0x3c/0x70
[   66.151349]  [<ffffffff8179a45b>] entry_SYSCALL_64_fastpath+0x16/0x73
[   66.151354] ---[ end trace e8574724e8332771 ]---

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


More information about the intel-gfx-bugs mailing list