[Bug 91883] [HSW, BDW, SKL] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 10 17:34:31 UTC 2017


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

--- Comment #42 from Ville Syrjala <ville.syrjala at linux.intel.com> ---
The bad location of the gamma programming also causes the following spew on
VLV/CHV+DSI on account of assert_dsi_pll() needing to grab the sideband mutex.

[  325.057384] BUG: sleeping func
tion called from invalid context at ../kernel/locking/mutex.c:730
[  325.067116] in_atomic(): 0, irqs_disabled(): 1, pid: 6265, name: Xorg
[  325.074314] 3 locks held by Xorg/6265:
[  325.078497]  #0: [  325.080447]  (
&dev->mode_config.mutex[  325.084536] ){+.+.+.}
, at: [  325.087684] [<ffffffffa02b71f0>] drm_modeset_lock_all+0x40/0x120 [drm]
[  325.094979]  #1: [  325.096928]  (
crtc_ww_class_acquire[  325.100830] ){+.+.+.}
, at: [  325.103970] [<ffffffffa02b71fa>] drm_modeset_lock_all+0x4a/0x120 [drm]
[  325.111266]  #2: [  325.113207]  (
crtc_ww_class_mutex[  325.116912] ){+.+.+.}
, at: [  325.120054] [<ffffffffa02b6efb>] drm_modeset_lock+0x3b/0x130 [drm]
[  325.126961] irq event stamp: 102102
[  325.130846] hardirqs last  enabled at (102101): [  325.135811]
[<ffffffff81641588>] _raw_spin_unlock_irqrestore+0x58
/0x70
[  325.143106] hardirqs last disabled at (102102): [  325.148109]
[<ffffffffa03959f4>] intel_pipe_update_start+0xa4/0x4
70 [i915]
[  325.155792] softirqs last  enabled at (101960): [  325.160783]
[<ffffffffa0340385>] __i915_add_request+0x1b5/0x440 [
i915]
[  325.168078] softirqs last disabled at (101954): [  325.173069]
[<ffffffffa0340385>] __i915_add_request+0x1b5/0x440 [
i915]
[  325.180367] CPU: 1 PID: 6265 Comm: Xorg Tainted: G        W      
4.9.0-rc2-ffrd+ #545
[  325.189215] Hardware name: Intel Corp. VALLEYVIEW C0 PLATFORM/BYT-T FFD8,
BIOS BLAKFF81.X64.0088.R10.1403240443 FFD8
_X64_R_2014_13_1_00 03/24/2014
[  325.203892]  ffffc90002c9f8e8 ffffffff81342777 0000000000000000
ffff88006eeb94c0
[  325.212180]  ffffc90002c9f920 ffffffff810b0e0c ffffffff819ad3d8
00000000000002da
[  325.220458]  0000000000000000 ffff880070058000 ffff88006eeb94c0
ffffc90002c9f948
[  325.228737] Call Trace:
[  325.231471]  [<ffffffff81342777>] dump_stack+0x67/0x90
[  325.237214]  [<ffffffff810b0e0c>] ___might_sleep+0x16c/0x260
[  325.243537]  [<ffffffff810b0f4c>] __might_sleep+0x4c/0x90
[  325.249569]  [<ffffffff8163c45d>] mutex_lock_nested+0x3d/0x440
[  325.256087]  [<ffffffff810d1cfa>] ? __lock_is_held+0x4a/0x70
[  325.262441]  [<ffffffffa0374f68>] assert_dsi_pll+0x28/0xd0 [i915]
[  325.269281]  [<ffffffffa0363a87>] i9xx_load_luts_internal+0x47/0x1d0 [i915]
[  325.277092]  [<ffffffffa0363c2b>] i9xx_load_luts+0x1b/0x20 [i915]
[  325.283932]  [<ffffffffa0364465>] intel_color_load_luts+0x15/0x20 [i915]
[  325.291451]  [<ffffffffa0369c44>] intel_begin_crtc_commit+0x84/0x200 [i915]
[  325.299243]  [<ffffffffa023e4ca>]
drm_atomic_helper_commit_planes_on_crtc+0x5a/0x270 [drm_kms_helper]
[  325.309581]  [<ffffffffa0379bd3>] intel_update_crtc+0x93/0x100 [i915]
[  325.316809]  [<ffffffffa0379cab>] intel_update_crtcs+0x6b/0x90 [i915]
[  325.324038]  [<ffffffffa037a3d5>] intel_atomic_commit_tail+0x325/0x1030
[i915]
[  325.332110]  [<ffffffff810d1cfa>] ? __lock_is_held+0x4a/0x70
[  325.338466]  [<ffffffffa037b613>] intel_atomic_commit+0x533/0x600 [i915]
[  325.345963]  [<ffffffffa02bd4e2>] ? drm_property_reference_blob+0x12/0x20
[drm]
[  325.354146]  [<ffffffffa02b820b>] drm_atomic_commit+0x4b/0x50 [drm]
[  325.361157]  [<ffffffffa023e065>]
drm_atomic_helper_legacy_gamma_set+0x155/0x1a0 [drm_kms_helper]
[  325.371105]  [<ffffffffa0368f89>] intel_atomic_legacy_gamma_set+0x19/0xa0
[i915]
[  325.379385]  [<ffffffffa02bfcd5>] drm_mode_gamma_set_ioctl+0x195/0x1a0 [drm]
[  325.387276]  [<ffffffffa02a3039>] drm_ioctl+0x209/0x460 [drm]
[  325.393710]  [<ffffffffa02bfb40>] ? drm_mode_crtc_set_gamma_size+0xa0/0xa0
[drm]
[  325.401979]  [<ffffffff810f5970>] ? rcu_lockdep_current_cpu_online+0x60/0x80
[  325.409857]  [<ffffffff810d1cfa>] ? __lock_is_held+0x4a/0x70
[  325.416182]  [<ffffffff81214803>] do_vfs_ioctl+0x93/0x6b0
[  325.422215]  [<ffffffff81221e73>] ? __fget+0x113/0x200
[  325.427955]  [<ffffffff81221d65>] ? __fget+0x5/0x200
[  325.433501]  [<ffffffff81214e64>] SyS_ioctl+0x44/0x80
[  325.439145]  [<ffffffff81001e0e>] do_syscall_64+0x5e/0x350
[  325.445274]  [<ffffffff81641e24>] entry_SYSCALL64_slow_path+0x25/0x25
[  325.452934] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure
on pipe A (start=20470 end=20494) time 
395258 us, min 1192, max 1199, scanline start 971, end 801

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


More information about the intel-gfx-bugs mailing list