[Bug 117131] vga_switcheroo does not switch IGP -> DIS ( IGP == i915 , DIS == radeon )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=117131

--- Comment #5 from Jason Vas Dias <jason.vas.dias@xxxxxxxxx> ---
OK, I tried adding 'radeon.dpm=1' to kernel command line:

fbcon=map:01 radeon.modeset=1 radeon.dpm=1 video=radeon:1920x1080@60e \
drm_kms_helper.edid_firmware=edid/1920x1080.bin


(I have copied a valid 1920x1080.bin to /lib/firmware/edid/1920x1080.bin made
 by translating the EDID dumped by FGLRX to binary:
 $ tail -n +150 /var/log/Xorg.0.log | head -n 9  
[    13.280] (II) fglrx(0): EDID (in hex):
[    13.280] (II) fglrx(0):     00ffffffffffff000daeb11500000000
[    13.280] (II) fglrx(0):     01160104902213780231d59f56589527
[    13.280] (II) fglrx(0):     15505400000001010101010101010101
[    13.280] (II) fglrx(0):     010101010101963b803271383e405a3c
[    13.280] (II) fglrx(0):     690058c21000001a9b2580ee70382340
[    13.280] (II) fglrx(0):     3523350058c21000001a000000fe0056
[    13.280] (II) fglrx(0):     434d3858024e31353648470a00000000
[    13.280] (II) fglrx(0):     000041319e0000000002010a20200005
 $ tail -n +151 /var/log/Xorg.0.log | head -n 8  | sed -r 's/^.*[[:space:]]+//'
| tr -d '\n' | perl -e 'while(<>){ while( $_ =~ /([0-9a-f][0-9a-f])/g){ $v=eval
"0x$1"; print pack("C",$v); } }' > /tmp/neptune_edid.bin
 $ od -t x1 /tmp/neptune_edid.bin 
0000000 00 ff ff ff ff ff ff 00 0d ae b1 15 00 00 00 00
0000020 01 16 01 04 90 22 13 78 02 31 d5 9f 56 58 95 27
0000040 15 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
0000060 01 01 01 01 01 01 96 3b 80 32 71 38 3e 40 5a 3c
0000100 69 00 58 c2 10 00 00 1a 9b 25 80 ee 70 38 23 40
0000120 35 23 35 00 58 c2 10 00 00 1a 00 00 00 fe 00 56
0000140 43 4d 38 58 02 4e 31 35 36 48 47 0a 00 00 00 00
0000160 00 00 41 31 9e 00 00 00 00 02 01 0a 20 20 00 05
0000200

I attempt to get this loaded both by kernel command line argument
and in xorg.conf, but it never gets to that stage .  
)


Now, with the radeon.dpm=1 kernel boot parameter specified, the 
dmesg log produced by the command :

$ { echo ON >/sys/kernel/debug/vgaswitcheroo/switch; 
   echo DIS >/sys/kernel/debug/vgaswitcheroo/switch; sleep 1; 
   echo OFF >/sys/kernel/debug/vgaswitcheroo/switch; sleep 1; 
   cp /sys/kernel/debug/vgaswitcheroo/switch ~/vga_switcheroo_switch_at_X; 
Xorg  -logverbose 7 -verbose 7 :0 vt04 || 
   { echo ON >/sys/kernel/debug/vgaswitcheroo/switch; 
     echo IGP >/sys/kernel/debug/vgaswitcheroo/switch; } ; 
  } & 
  ( sleep 3; cat /sys/kernel/debug/vgaswitcheroo/switch \
    > ~/vga_switcheroo_switch_last; 
    xterm & 
  )
... wait 60 seconds for screen to blank no matter what key I press...
[   468.365] (II) LoadModule: "glamoregl"
[   468.366] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[   468.404] (II) Module glamoregl: vendor="X.Org Foundation"
[   468.404]    compiled for 1.18.3, module version = 1.0.0
[   468.404]    ABI class: X.Org ANSI C Emulation, version 0.4
[   468.404] (II) glamor: OpenGL accelerated X.org driver based.
[   468.629] (II) glamor: EGL version 1.4 (DRI2):
[   468.632] (II) RADEON(0): glamor detected, initialising EGL layer.
[   468.632] (II) RADEON(0): KMS Color Tiling: enabled
[   468.632] (II) RADEON(0): KMS Color Tiling 2D: enabled
[   468.632] (II) RADEON(0): KMS Pageflipping: enabled
[   468.632] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[   468.632] (II) RADEON(0): Initializing outputs ...
[   468.632] (II) RADEON(0): 0 crtcs needed for screen.
[   468.632] (II) RADEON(0): Allocated crtc nr. 0 to this screen.
[   468.632] (II) RADEON(0): Allocated crtc nr. 1 to this screen.
[   468.632] (II) RADEON(0): Allocated crtc nr. 2 to this screen.
[   468.632] (II) RADEON(0): Allocated crtc nr. 3 to this screen.
[   468.632] (II) RADEON(0): Allocated crtc nr. 4 to this screen.
[   468.632] (II) RADEON(0): Allocated crtc nr. 5 to this screen.
[   468.632] (WW) RADEON(0): No outputs definitely connected, trying again...
[   468.632] (WW) RADEON(0): Unable to find connected outputs - setting
1024x768 initial framebuffer
[   468.632] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless
otherwise stated.
[   468.632] (II) RADEON(0): mem size init: gart size :7fbcc000 vram size:
s:100000000 visible:ff916000
[   468.632] (==) RADEON(0): DPI set to (96, 96)
[   468.632] (II) Loading sub module "ramdac"
[   468.632] (II) LoadModule: "ramdac"
[   468.632] (II) Module "ramdac" already built-in
[   468.632] (EE) RADEON(0): No modes.
[   468.632] (II) RADEON(0): RADEONFreeScreen
[   468.632] (II) UnloadModule: "radeon"
[   468.632] (II) UnloadSubModule: "glamoregl"
[   468.632] (II) Unloading glamoregl
[   468.632] (II) UnloadSubModule: "fb"
[   468.632] (II) Unloading fb
[   468.633] (EE) Screen(s) found, but none have a usable configuration.
[   468.633] (EE) 
Fatal server error:
[   468.633] (EE) no screens found(EE) 
...
$ dmesg > /var/log/dmesg-4.5.0-drm-problem-4.log 
$ cat /var/log/dmesg-4.5.0-drm-problem-4.log 
[  409.640975] i915: switched off
[  410.909809] ------------[ cut here ]------------
[  410.909838] WARNING: CPU: 0 PID: 4397 at
drivers/gpu/drm/i915/intel_display.c:9475 hsw_enable_pc8+0x4f6/0x750()
[  410.909847] Power well on
[  410.909852] Modules linked in:
[  410.909864] CPU: 0 PID: 4397 Comm: bash Tainted: G        W       4.5.0 #3
[  410.909873] Hardware name: Notebook                         P15SM           
               /P15SM                           , BIOS 4.6.5 12/26/2013
[  410.909885]  0000000000000286 000000004aadfe03 ffff880413c57c08
ffffffff814d9550
[  410.909901]  ffff880413c57c50 ffffffff821be4f0 ffff880413c57c40
ffffffff810608b2
[  410.909914]  ffff880414b20000 ffff880414f174f8 ffff880414f17508
ffff880414f17000
[  410.909927] Call Trace:
[  410.909940]  [<ffffffff814d9550>] dump_stack+0x99/0xd9
[  410.909955]  [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
[  410.909965]  [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
[  410.909977]  [<ffffffff818710e6>] hsw_enable_pc8+0x4f6/0x750
[  410.909991]  [<ffffffff817efd8e>] intel_suspend_complete+0xee/0x720
[  410.910000]  [<ffffffff817f03fd>] i915_drm_suspend_late+0x3d/0xe0
[  410.910010]  [<ffffffff817f04ea>] i915_suspend_switcheroo+0x4a/0xb0
[  410.910024]  [<ffffffff8173d817>] ? radeon_atpx_switchto+0x197/0x1b0
[  410.910037]  [<ffffffff818adfc9>] i915_switcheroo_set_state+0x39/0x80
[  410.910050]  [<ffffffff818db1b8>] vga_switchoff.part.2+0x18/0x40
[  410.910059]  [<ffffffff818db2e4>] vga_switchto_stage2+0x104/0x110
[  410.910068]  [<ffffffff818da459>] ? vga_set_default_device+0x29/0x40
[  410.910078]  [<ffffffff818db689>] vga_switcheroo_debugfs_write+0x2e9/0x390
[  410.910092]  [<ffffffff811f7115>] ? do_filp_open+0xa5/0x100
[  410.910104]  [<ffffffff811e6507>] __vfs_write+0x37/0x120
[  410.910114]  [<ffffffff810850e5>] ? preempt_count_sub+0xa5/0xf0
[  410.910126]  [<ffffffff810a7626>] ? update_fast_ctr+0x46/0x70
[  410.910134]  [<ffffffff810a7697>] ? percpu_down_read+0x17/0x50
[  410.910144]  [<ffffffff811e6d89>] vfs_write+0xa9/0x1a0
[  410.910154]  [<ffffffff811e7998>] SyS_write+0x58/0xd0
[  410.910165]  [<ffffffff812050b3>] ? __close_fd+0xa3/0xd0                     
[  410.910180]  [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d        
[  410.910189] ---[ end trace 015a5ef8b36b4997 ]---                             
[  410.910200] ------------[ cut here ]------------                             
[  410.910211] WARNING: CPU: 0 PID: 4397 at
drivers/gpu/drm/i915/intel_display.c:9486 hsw_enable_pc8+0x574/0x750()          
[  410.910220] PCH PWM1 enabled                                                 
[  410.910224] Modules linked in:                                               
[  410.910233] CPU: 0 PID: 4397 Comm: bash Tainted: G        W       4.5.0 #3   
[  410.910240] Hardware name: Notebook                         P15SM           
               /P15SM                           , BIOS 4.6.5 12/26/2013         
[  410.910251]  0000000000000286 000000004aadfe03 ffff880413c57c08
ffffffff814d9550                                                                
[  410.910264]  ffff880413c57c50 ffffffff821be4f0 ffff880413c57c40
ffffffff810608b2                                                                
[  410.910277]  ffff880414b20000 ffff880414f174f8 ffff880414f17508
ffff880414f17000                                                                
[  410.910290] Call Trace:                                                      
[  410.910297]  [<ffffffff814d9550>] dump_stack+0x99/0xd9                       
[  410.910307]  [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0             
[  410.910317]  [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80                
[  410.910328]  [<ffffffff81871164>] hsw_enable_pc8+0x574/0x750                 
[  410.910337]  [<ffffffff817efd8e>] intel_suspend_complete+0xee/0x720          
[  410.910347]  [<ffffffff817f03fd>] i915_drm_suspend_late+0x3d/0xe0            
[  410.910356]  [<ffffffff817f04ea>] i915_suspend_switcheroo+0x4a/0xb0          
[  410.910367]  [<ffffffff8173d817>] ? radeon_atpx_switchto+0x197/0x1b0         
[  410.910378]  [<ffffffff818adfc9>] i915_switcheroo_set_state+0x39/0x80        
[  410.910387]  [<ffffffff818db1b8>] vga_switchoff.part.2+0x18/0x40             
[  410.910396]  [<ffffffff818db2e4>] vga_switchto_stage2+0x104/0x110            
[  410.910405]  [<ffffffff818da459>] ? vga_set_default_device+0x29/0x40         
[  410.910414]  [<ffffffff818db689>] vga_switcheroo_debugfs_write+0x2e9/0x390
[  410.910426]  [<ffffffff811f7115>] ? do_filp_open+0xa5/0x100
[  410.910436]  [<ffffffff811e6507>] __vfs_write+0x37/0x120
[  410.910444]  [<ffffffff810850e5>] ? preempt_count_sub+0xa5/0xf0
[  410.910454]  [<ffffffff810a7626>] ? update_fast_ctr+0x46/0x70
[  410.910462]  [<ffffffff810a7697>] ? percpu_down_read+0x17/0x50
[  410.910472]  [<ffffffff811e6d89>] vfs_write+0xa9/0x1a0
[  410.910482]  [<ffffffff811e7998>] SyS_write+0x58/0xd0
[  410.910491]  [<ffffffff812050b3>] ? __close_fd+0xa3/0xd0
[  410.910502]  [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
[  410.910510] ---[ end trace 015a5ef8b36b4998 ]---
[  413.448159] [drm] probing gen 2 caps for device 8086:c01 = 261ad03/e
[  413.448166] [drm] PCIE gen 3 link speeds already enabled
[  413.452386] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[  413.452501] radeon 0000:01:00.0: WB enabled
[  413.452505] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000100000c00 and cpu addr 0xffff880414ef9c00
[  413.452510] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr
0x0000000100000c04 and cpu addr 0xffff880414ef9c04
[  413.452514] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr
0x0000000100000c08 and cpu addr 0xffff880414ef9c08
[  413.452518] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000100000c0c and cpu addr 0xffff880414ef9c0c
[  413.452522] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr
0x0000000100000c10 and cpu addr 0xffff880414ef9c10
[  413.452900] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000075a18 and cpu addr 0xffffc90000435a18
[  413.473006] radeon 0000:01:00.0: fence driver on ring 6 use gpu addr
0x0000000100000c18 and cpu addr 0xffff880414ef9c18
[  413.473010] radeon 0000:01:00.0: fence driver on ring 7 use gpu addr
0x0000000100000c1c and cpu addr 0xffff880414ef9c1c
[  413.621611] [drm] ring test on 0 succeeded in 2 usecs
[  413.621618] [drm] ring test on 1 succeeded in 1 usecs
[  413.621622] [drm] ring test on 2 succeeded in 1 usecs
[  413.621630] [drm] ring test on 3 succeeded in 3 usecs
[  413.621637] [drm] ring test on 4 succeeded in 3 usecs
[  413.798718] [drm] ring test on 5 succeeded in 2 usecs
[  413.798723] [drm] UVD initialized successfully.
[  413.908769] [drm] ring test on 6 succeeded in 15 usecs
[  413.908781] [drm] ring test on 7 succeeded in 4 usecs
[  413.908783] [drm] VCE initialized successfully.
[  413.908827] f 0#2: signaled from fence_wait
[  413.908831] [drm] ib test on ring 0 succeeded in 0 usecs
[  413.908857] f 1#2: signaled from fence_wait
[  413.908860] [drm] ib test on ring 1 succeeded in 0 usecs
[  413.908884] f 2#2: signaled from fence_wait
[  413.908887] [drm] ib test on ring 2 succeeded in 0 usecs
[  413.908907] f 3#2: signaled from fence_wait
[  413.908909] [drm] ib test on ring 3 succeeded in 0 usecs
[  413.908928] f 4#2: signaled from fence_wait
[  413.908930] [drm] ib test on ring 4 succeeded in 0 usecs
[  414.560648] f 5#4: signaled from fence_wait
[  414.560655] [drm] ib test on ring 5 succeeded
[  415.061640] f 6#4: signaled from fence_wait
[  415.061643] [drm] ib test on ring 6 succeeded
[  415.562656] f 7#4: signaled from fence_wait
[  415.562663] [drm] ib test on ring 7 succeeded
[  415.562727] switching from power state:
[  415.562731]  ui class: none
[  415.562735]  internal class: boot 
[  415.562739]  caps: 
[  415.562742]  uvd    vclk: 0 dclk: 0
[  415.562746]          power level 0    sclk: 30000 mclk: 15000 vddc: 900
vddci: 850 pcie gen: 3
[  415.562749]  status: c b 
[  415.562754] switching to power state:
[  415.562756]  ui class: performance
[  415.562759]  internal class: none
[  415.562763]  caps: 
[  415.562766]  uvd    vclk: 0 dclk: 0
[  415.562769]          power level 0    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 3
[  415.562774]          power level 1    sclk: 45000 mclk: 125000 vddc: 900
vddci: 975 pcie gen: 3
[  415.562778]          power level 2    sclk: 85000 mclk: 125000 vddc: 1025
vddci: 975 pcie gen: 3
[  415.562782]          power level 3    sclk: 90000 mclk: 125000 vddc: 1050
vddci: 975 pcie gen: 3
[  415.562785]  status: r 
[  415.636375] device: 'vcs4': device_add
[  415.636395] PM: Adding info for No Bus:vcs4
[  415.636427] device: 'vcsa4': device_add
[  415.636450] PM: Adding info for No Bus:vcsa4
[  421.276941] ACPI Error: No handler for Region [EC81] (ffff88041d8d9bd0)
[EmbeddedControl] (20160108/evregion-166)
[  421.276945] ACPI Error: Region EmbeddedControl (ID=3) has no handler
(20160108/exfldio-299)
[  421.276950] ACPI Error: Method parse/execution failed
[\_SB.PCI0.PEG0.PEGP.SGOF] (Node ffff88041d8fca50), AE_NOT_EXIST
(20160108/psparse-542)
[  421.276954] ACPI Error: Method parse/execution failed
[\_SB.PCI0.PEG0.PEGP._OFF] (Node ffff88041d8fce88), AE_NOT_EXIST
(20160108/psparse-542)
[  421.276957] ACPI Error: Method parse/execution failed [\_SB.PCI0.GFX0.ATPX]
(Node ffff88041d9034b0), AE_NOT_EXIST (20160108/psparse-542)
[  421.276962] failed to evaluate ATPX got AE_NOT_EXIST
[  466.256270] [drm] probing gen 2 caps for device 8086:c01 = 261ad03/e
[  466.256277] [drm] PCIE gen 3 link speeds already enabled
[  466.261331] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[  466.261488] radeon 0000:01:00.0: WB enabled
[  466.261492] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000100000c00 and cpu addr 0xffff880414ef9c00
[  466.261494] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr
0x0000000100000c04 and cpu addr 0xffff880414ef9c04
[  466.261496] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr
0x0000000100000c08 and cpu addr 0xffff880414ef9c08
[  466.261499] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000100000c0c and cpu addr 0xffff880414ef9c0c
[  466.261501] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr
0x0000000100000c10 and cpu addr 0xffff880414ef9c10
[  466.261871] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000075a18 and cpu addr 0xffffc90000435a18
[  466.281980] radeon 0000:01:00.0: fence driver on ring 6 use gpu addr
0x0000000100000c18 and cpu addr 0xffff880414ef9c18
[  466.281982] radeon 0000:01:00.0: fence driver on ring 7 use gpu addr
0x0000000100000c1c and cpu addr 0xffff880414ef9c1c
[  466.433191] [drm] ring test on 0 succeeded in 2 usecs
[  466.433194] [drm] ring test on 1 succeeded in 1 usecs
[  466.433198] [drm] ring test on 2 succeeded in 1 usecs
[  466.433203] [drm] ring test on 3 succeeded in 3 usecs
[  466.433209] [drm] ring test on 4 succeeded in 3 usecs
[  466.610282] [drm] ring test on 5 succeeded in 2 usecs
[  466.610286] [drm] UVD initialized successfully.
[  466.720326] [drm] ring test on 6 succeeded in 14 usecs
[  466.720335] [drm] ring test on 7 succeeded in 3 usecs
[  466.720336] [drm] VCE initialized successfully.
[  466.720397] f 0#3: signaled from fence_wait
[  466.720399] [drm] ib test on ring 0 succeeded in 0 usecs
[  466.720421] f 1#3: signaled from fence_wait
[  466.720423] [drm] ib test on ring 1 succeeded in 0 usecs
[  466.720443] f 2#3: signaled from fence_wait
[  466.720444] [drm] ib test on ring 2 succeeded in 0 usecs
[  466.720461] f 3#9: signaled from fence_wait
[  466.720462] [drm] ib test on ring 3 succeeded in 0 usecs
[  466.720480] f 4#3: signaled from fence_wait
[  466.720480] [drm] ib test on ring 4 succeeded in 0 usecs
[  467.372424] f 5#6: signaled from fence_wait
[  467.372435] [drm] ib test on ring 5 succeeded
[  467.873422] f 6#6: signaled from fence_wait
[  467.873433] [drm] ib test on ring 6 succeeded
[  468.374418] f 7#6: signaled from fence_wait
[  468.374429] [drm] ib test on ring 7 succeeded
[  468.374552] switching from power state:
[  468.374557]  ui class: none
[  468.374562]  internal class: boot 
[  468.374568]  caps: 
[  468.374572]  uvd    vclk: 0 dclk: 0
[  468.374578]          power level 0    sclk: 30000 mclk: 15000 vddc: 900
vddci: 850 pcie gen: 3
[  468.374580]  status: c b 
[  468.374588] switching to power state:
[  468.374590]  ui class: performance
[  468.374594]  internal class: none
[  468.374599]  caps: 
[  468.374603]  uvd    vclk: 0 dclk: 0
[  468.374607]          power level 0    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 3
[  468.374612]          power level 1    sclk: 45000 mclk: 125000 vddc: 900
vddci: 975 pcie gen: 3
[  468.374616]          power level 2    sclk: 85000 mclk: 125000 vddc: 1025
vddci: 975 pcie gen: 3
[  468.374620]          power level 3    sclk: 90000 mclk: 125000 vddc: 1050
vddci: 975 pcie gen: 3
[  468.374622]  status: r 
[  468.653614] ------------[ cut here ]------------
[  468.653618] WARNING: CPU: 1 PID: 4407 at
drivers/gpu/drm/i915/intel_pm.c:3646 ilk_update_wm+0x15a/0x160()
[  468.653619] WARN_ON(cstate->base.active != intel_crtc->active)
[  468.653619] Modules linked in:
[  468.653621] CPU: 1 PID: 4407 Comm: Xorg Tainted: G        W       4.5.0 #3
[  468.653621] Hardware name: Notebook                         P15SM           
               /P15SM                           , BIOS 4.6.5 12/26/2013
[  468.653623]  0000000000000286 00000000a05f76dd ffff8804190bf7f8
ffffffff814d9550
[  468.653624]  ffff8804190bf840 ffffffff821b74d8 ffff8804190bf830
ffffffff810608b2
[  468.653625]  ffff88041cc06000 ffff88041d25b800 ffff880414b20000
ffff88041cc06000
[  468.653626] Call Trace:
[  468.653629]  [<ffffffff814d9550>] dump_stack+0x99/0xd9
[  468.653632]  [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
[  468.653633]  [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
[  468.653634]  [<ffffffff817fefca>] ilk_update_wm+0x15a/0x160
[  468.653635]  [<ffffffff81803e1e>] intel_update_watermarks+0x1e/0x20
[  468.653637]  [<ffffffff8186abb1>] intel_pre_plane_update+0x71/0xb0
[  468.653638]  [<ffffffff8186b667>] intel_atomic_commit+0x667/0x1870
[  468.653641]  [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
[  468.653643]  [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
[  468.653643]  [<ffffffff81640d77>] ?
drm_atomic_add_affected_connectors+0x27/0xf0
[  468.653644]  [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
[  468.653647]  [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
[  468.653648]  [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
[  468.653649]  [<ffffffff8161f083>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
[  468.653650]  [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
[  468.653652]  [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
[  468.653654]  [<ffffffff813b502d>] ? free_extent_state+0x8d/0x110
[  468.653655]  [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
[  468.653657]  [<ffffffff814f71b3>] ? __this_cpu_preempt_check+0x13/0x20
[  468.653660]  [<ffffffff811dc024>] ? memcg_check_events+0x44/0x2c0
[  468.653662]  [<ffffffff81200f58>] ? igrab+0x48/0x50
[  468.653664]  [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
[  468.653666]  [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
[  468.653669]  [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
[  468.653670]  [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
[  468.653671]  [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
[  468.653673]  [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
[  468.653675]  [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
[  468.653675]  [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
[  468.653676]  [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
[  468.653677]  [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
[  468.653679]  [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
[  468.653681]  [<ffffffff811e863e>] ? ____fput+0xe/0x10
[  468.653683]  [<ffffffff8107d498>] ? task_work_run+0x78/0x90
[  468.653684]  [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
[  468.653686]  [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
[  468.653687] ---[ end trace 015a5ef8b36b4999 ]---
[  468.653690] ------------[ cut here ]------------
[  468.653691] WARNING: CPU: 1 PID: 4407 at
drivers/gpu/drm/i915/intel_uncore.c:599 hsw_unclaimed_reg_debug+0x69/0x90()
[  468.653692] Unclaimed register detected before writing to register 0x4510c
[  468.653692] Modules linked in:
[  468.653693] CPU: 1 PID: 4407 Comm: Xorg Tainted: G        W       4.5.0 #3
[  468.653693] Hardware name: Notebook                         P15SM           
               /P15SM                           , BIOS 4.6.5 12/26/2013
[  468.653695]  0000000000000086 00000000a05f76dd ffff8804190bf608
ffffffff814d9550
[  468.653696]  ffff8804190bf650 ffffffff821bce90 ffff8804190bf640
ffffffff810608b2
[  468.653697]  ffff880414b20000 ffff880414b20000 000000000004510c
0000000000000000
[  468.653697] Call Trace:
[  468.653698]  [<ffffffff814d9550>] dump_stack+0x99/0xd9
[  468.653699]  [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
[  468.653700]  [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
[  468.653701]  [<ffffffff81846589>] hsw_unclaimed_reg_debug+0x69/0x90
[  468.653702]  [<ffffffff818494b2>] hsw_write32+0x82/0x1c0
[  468.653703]  [<ffffffff817fbae5>] _ilk_disable_lp_wm+0xc5/0xd0
[  468.653704]  [<ffffffff817fe9e6>] ilk_program_watermarks+0x4a6/0x930
[  468.653705]  [<ffffffff817fefa4>] ilk_update_wm+0x134/0x160
[  468.653706]  [<ffffffff81803e1e>] intel_update_watermarks+0x1e/0x20
[  468.653707]  [<ffffffff8186abb1>] intel_pre_plane_update+0x71/0xb0
[  468.653708]  [<ffffffff8186b667>] intel_atomic_commit+0x667/0x1870
[  468.653709]  [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
[  468.653710]  [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
[  468.653711]  [<ffffffff81640d77>] ?
drm_atomic_add_affected_connectors+0x27/0xf0
[  468.653712]  [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
[  468.653713]  [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
[  468.653714]  [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
[  468.653715]  [<ffffffff8161f083>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
[  468.653716]  [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
[  468.653717]  [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
[  468.653718]  [<ffffffff813b502d>] ? free_extent_state+0x8d/0x110
[  468.653719]  [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
[  468.653720]  [<ffffffff814f71b3>] ? __this_cpu_preempt_check+0x13/0x20
[  468.653721]  [<ffffffff811dc024>] ? memcg_check_events+0x44/0x2c0
[  468.653722]  [<ffffffff81200f58>] ? igrab+0x48/0x50
[  468.653724]  [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
[  468.653725]  [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
[  468.653727]  [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
[  468.653728]  [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
[  468.653729]  [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
[  468.653730]  [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
[  468.653730]  [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
[  468.653731]  [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
[  468.653732]  [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
[  468.653733]  [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
[  468.653734]  [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
[  468.653735]  [<ffffffff811e863e>] ? ____fput+0xe/0x10
[  468.653737]  [<ffffffff8107d498>] ? task_work_run+0x78/0x90
[  468.653738]  [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
[  468.653739]  [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
[  468.653740] ---[ end trace 015a5ef8b36b499a ]---
[  468.653742] ------------[ cut here ]------------
[  468.653743] WARNING: CPU: 1 PID: 4407 at
drivers/gpu/drm/i915/intel_sprite.c:104 intel_pipe_update_start+0x30c/0x320()
[  468.653744] WARN_ON(drm_crtc_vblank_get(&crtc->base))
[  468.653744] Modules linked in:
[  468.653745] CPU: 1 PID: 4407 Comm: Xorg Tainted: G        W       4.5.0 #3
[  468.653745] Hardware name: Notebook                         P15SM           
               /P15SM                           , BIOS 4.6.5 12/26/2013
[  468.653746]  0000000000000086 00000000a05f76dd ffff8804190bf750
ffffffff814d9550
[  468.653747]  ffff8804190bf798 ffffffff821c2c00 ffff8804190bf788
ffffffff810608b2
[  468.653748]  0000000000000437 ffff88041cc06000 0000000000000431
ffff880414f17000
[  468.653748] Call Trace:
[  468.653749]  [<ffffffff814d9550>] dump_stack+0x99/0xd9
[  468.653750]  [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
[  468.653751]  [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
[  468.653753]  [<ffffffff81880a0c>] intel_pipe_update_start+0x30c/0x320
[  468.653755]  [<ffffffff810a11c0>] ? wake_atomic_t_function+0x60/0x60
[  468.653756]  [<ffffffff8185c90a>] intel_begin_crtc_commit+0x4a/0x1b0
[  468.653758]  [<ffffffff8161bf2b>]
drm_atomic_helper_commit_planes_on_crtc+0x5b/0x270
[  468.653759]  [<ffffffff81803e1e>] ? intel_update_watermarks+0x1e/0x20
[  468.653760]  [<ffffffff8186b76e>] intel_atomic_commit+0x76e/0x1870
[  468.653761]  [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
[  468.653762]  [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
[  468.653762]  [<ffffffff81640d77>] ?
drm_atomic_add_affected_connectors+0x27/0xf0
[  468.653763]  [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
[  468.653764]  [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
[  468.653765]  [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
[  468.653766]  [<ffffffff8161f083>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
[  468.653768]  [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
[  468.653768]  [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
[  468.653769]  [<ffffffff813b502d>] ? free_extent_state+0x8d/0x110
[  468.653770]  [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
[  468.653771]  [<ffffffff814f71b3>] ? __this_cpu_preempt_check+0x13/0x20
[  468.653772]  [<ffffffff811dc024>] ? memcg_check_events+0x44/0x2c0
[  468.653773]  [<ffffffff81200f58>] ? igrab+0x48/0x50
[  468.653775]  [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
[  468.653776]  [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
[  468.653778]  [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
[  468.653779]  [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
[  468.653780]  [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
[  468.653781]  [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
[  468.653781]  [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
[  468.653782]  [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
[  468.653783]  [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
[  468.653784]  [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
[  468.653785]  [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
[  468.653786]  [<ffffffff811e863e>] ? ____fput+0xe/0x10
[  468.653787]  [<ffffffff8107d498>] ? task_work_run+0x78/0x90
[  468.653789]  [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
[  468.653790]  [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
[  468.653791] ---[ end trace 015a5ef8b36b499b ]---
[  468.653797] [drm:intel_pipe_update_end] *ERROR* Atomic update failure on
pipe A (start=1801 end=4294967295) time 462855734 us, min 1073, max 1079,
scanline start 1127, end 198
[  468.653797] ------------[ cut here ]------------
[  468.653798] WARNING: CPU: 1 PID: 4407 at drivers/gpu/drm/drm_irq.c:1320
drm_wait_one_vblank+0x177/0x1c0()
[  468.653799] vblank not available on crtc 0, ret=-22
[  468.653799] Modules linked in:
[  468.653800] CPU: 1 PID: 4407 Comm: Xorg Tainted: G        W       4.5.0 #3
[  468.653800] Hardware name: Notebook                         P15SM           
               /P15SM                           , BIOS 4.6.5 12/26/2013
[  468.653801]  0000000000000286 00000000a05f76dd ffff8804190bf7f0
ffffffff814d9550
[  468.653802]  ffff8804190bf838 ffffffff8215da84 ffff8804190bf828
ffffffff810608b2
[  468.653803]  ffff880414f17000 0000000000000000 ffff880415755800
ffff88041cc06000
[  468.653803] Call Trace:
[  468.653804]  [<ffffffff814d9550>] dump_stack+0x99/0xd9
[  468.653805]  [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
[  468.653806]  [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
[  468.653807]  [<ffffffff8162698c>] ? drm_vblank_get+0x7c/0xd0
[  468.653808]  [<ffffffff81626be7>] drm_wait_one_vblank+0x177/0x1c0
[  468.653809]  [<ffffffff8161c024>] ?
drm_atomic_helper_commit_planes_on_crtc+0x154/0x270
[  468.653811]  [<ffffffff8186b715>] intel_atomic_commit+0x715/0x1870
[  468.653812]  [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
[  468.653812]  [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
[  468.653813]  [<ffffffff81640d77>] ?
drm_atomic_add_affected_connectors+0x27/0xf0
[  468.653814]  [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
[  468.653815]  [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
[  468.653816]  [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
[  468.653817]  [<ffffffff8161f083>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
[  468.653818]  [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
[  468.653819]  [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
[  468.653820]  [<ffffffff813b502d>] ? free_extent_state+0x8d/0x110
[  468.653821]  [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
[  468.653822]  [<ffffffff814f71b3>] ? __this_cpu_preempt_check+0x13/0x20
[  468.653823]  [<ffffffff811dc024>] ? memcg_check_events+0x44/0x2c0
[  468.653824]  [<ffffffff81200f58>] ? igrab+0x48/0x50
[  468.653825]  [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
[  468.653827]  [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
[  468.653828]  [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
[  468.653830]  [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
[  468.653830]  [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
[  468.653831]  [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
[  468.653832]  [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
[  468.653833]  [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
[  468.653833]  [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
[  468.653834]  [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
[  468.653836]  [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
[  468.653837]  [<ffffffff811e863e>] ? ____fput+0xe/0x10
[  468.653838]  [<ffffffff8107d498>] ? task_work_run+0x78/0x90
[  468.653839]  [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
[  468.653840]  [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
[  468.653841] ---[ end trace 015a5ef8b36b499c ]---
[  468.653842] ------------[ cut here ]------------
[  468.653843] WARNING: CPU: 1 PID: 4407 at
drivers/gpu/drm/i915/intel_pm.c:3646 ilk_update_wm+0x15a/0x160()
[  468.653844] WARN_ON(cstate->base.active != intel_crtc->active)
[  468.653844] Modules linked in:
[  468.653845] CPU: 1 PID: 4407 Comm: Xorg Tainted: G        W       4.5.0 #3
[  468.653845] Hardware name: Notebook                         P15SM           
               /P15SM                           , BIOS 4.6.5 12/26/2013
[  468.653846]  0000000000000286 00000000a05f76dd ffff8804190bf820
ffffffff814d9550
[  468.653847]  ffff8804190bf868 ffffffff821b74d8 ffff8804190bf858
ffffffff810608b2
[  468.653848]  ffff88041cc06000 ffff88041d25b800 ffff880414b20000
ffff88041cc06000
[  468.653848] Call Trace:
[  468.653849]  [<ffffffff814d9550>] dump_stack+0x99/0xd9
[  468.653850]  [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
[  468.653851]  [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
[  468.653852]  [<ffffffff8187930a>] ? intel_frontbuffer_flush+0x6a/0x80
[  468.653853]  [<ffffffff817fefca>] ilk_update_wm+0x15a/0x160
[  468.653854]  [<ffffffff81803e1e>] intel_update_watermarks+0x1e/0x20
[  468.653855]  [<ffffffff8186b77b>] intel_atomic_commit+0x77b/0x1870
[  468.653856]  [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
[  468.653857]  [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
[  468.653858]  [<ffffffff81640d77>] ?
drm_atomic_add_affected_connectors+0x27/0xf0
[  468.653858]  [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
[  468.653859]  [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
[  468.653860]  [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
[  468.653861]  [<ffffffff8161f083>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
[  468.653862]  [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
[  468.653863]  [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
[  468.653864]  [<ffffffff813b502d>] ? free_extent_state+0x8d/0x110
[  468.653865]  [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
[  468.653866]  [<ffffffff814f71b3>] ? __this_cpu_preempt_check+0x13/0x20
[  468.653867]  [<ffffffff811dc024>] ? memcg_check_events+0x44/0x2c0
[  468.653868]  [<ffffffff81200f58>] ? igrab+0x48/0x50
[  468.653870]  [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
[  468.653871]  [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
[  468.653873]  [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
[  468.653874]  [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
[  468.653875]  [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
[  468.653875]  [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
[  468.653876]  [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
[  468.653877]  [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
[  468.653878]  [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
[  468.653878]  [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
[  468.653880]  [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
[  468.653881]  [<ffffffff811e863e>] ? ____fput+0xe/0x10
[  468.653882]  [<ffffffff8107d498>] ? task_work_run+0x78/0x90
[  468.653883]  [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
[  468.653885]  [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
[  468.653885] ---[ end trace 015a5ef8b36b499d ]---
[  468.653888] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on
pipe A
[  468.653890] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on
pipe B
[  468.653891] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on
pipe C
[  468.653904] ------------[ cut here ]------------
[  468.653906] WARNING: CPU: 1 PID: 4407 at
drivers/gpu/drm/i915/intel_sprite.c:104 intel_pipe_update_start+0x30c/0x320()
[  468.653906] WARN_ON(drm_crtc_vblank_get(&crtc->base))
[  468.653906] Modules linked in:
[  468.653907] CPU: 1 PID: 4407 Comm: Xorg Tainted: G        W       4.5.0 #3
[  468.653907] Hardware name: Notebook                         P15SM           
               /P15SM                           , BIOS 4.6.5 12/26/2013
[  468.653908]  0000000000000086 00000000a05f76dd ffff8804190bf768
ffffffff814d9550
[  468.653909]  ffff8804190bf7b0 ffffffff821c2c00 ffff8804190bf7a0
ffffffff810608b2
[  468.653910]  0000000000000437 ffff88041cc06000 0000000000000431
ffff880414f17000
[  468.653911] Call Trace:
[  468.653911]  [<ffffffff814d9550>] dump_stack+0x99/0xd9
[  468.653913]  [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
[  468.653914]  [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
[  468.653915]  [<ffffffff81880a0c>] intel_pipe_update_start+0x30c/0x320
[  468.653916]  [<ffffffff810a11c0>] ? wake_atomic_t_function+0x60/0x60
[  468.653917]  [<ffffffff8185c90a>] intel_begin_crtc_commit+0x4a/0x1b0
[  468.653919]  [<ffffffff8161bf2b>]
drm_atomic_helper_commit_planes_on_crtc+0x5b/0x270
[  468.653920]  [<ffffffff8186b76e>] intel_atomic_commit+0x76e/0x1870
[  468.653921]  [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
[  468.653922]  [<ffffffff81640d77>] ?
drm_atomic_add_affected_connectors+0x27/0xf0
[  468.653923]  [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
[  468.653924]  [<ffffffff8161df27>] drm_fb_helper_pan_display+0x1e7/0x250
[  468.653925]  [<ffffffff81882eba>] intel_fbdev_pan_display+0x1a/0x60
[  468.653926]  [<ffffffff8154be3b>] fb_pan_display+0xdb/0x170
[  468.653926]  [<ffffffff8154c4c7>] fb_set_var+0x267/0x460
[  468.653927]  [<ffffffff814f71b3>] ? __this_cpu_preempt_check+0x13/0x20
[  468.653929]  [<ffffffff811dc024>] ? memcg_check_events+0x44/0x2c0
[  468.653930]  [<ffffffff81200f58>] ? igrab+0x48/0x50
[  468.653931]  [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
[  468.653933]  [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
[  468.653934]  [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
[  468.653936]  [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
[  468.653936]  [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
[  468.653937]  [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
[  468.653938]  [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
[  468.653939]  [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
[  468.653939]  [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
[  468.653940]  [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
[  468.653941]  [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
[  468.653943]  [<ffffffff811e863e>] ? ____fput+0xe/0x10
[  468.653944]  [<ffffffff8107d498>] ? task_work_run+0x78/0x90
[  468.653945]  [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
[  468.653946]  [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
[  468.653947] ---[ end trace 015a5ef8b36b499e ]---
[  468.653951] [drm:intel_pipe_update_end] *ERROR* Atomic update failure on
pipe A (start=1801 end=4294967295) time 462855889 us, min 1073, max 1079,
scanline start 1127, end 198
[  468.655372] i915: switched on
[  469.062869] i2c i2c-9: master_xfer[0] W, addr=0x50, len=1
[  469.062872] i2c i2c-9: master_xfer[1] R, addr=0x50, len=1
[  474.269102] ACPI Error: No handler for Region [EC81] (ffff88041d8d9bd0)
[EmbeddedControl] (20160108/evregion-166)
[  474.269724] ACPI Error: Region EmbeddedControl (ID=3) has no handler
(20160108/exfldio-299)
[  474.270325] ACPI Error: Method parse/execution failed
[\_SB.PCI0.PEG0.PEGP.SGOF] (Node ffff88041d8fca50), AE_NOT_EXIST
(20160108/psparse-542)
[  474.270940] ACPI Error: Method parse/execution failed
[\_SB.PCI0.PEG0.PEGP._OFF] (Node ffff88041d8fce88), AE_NOT_EXIST
(20160108/psparse-542)
[  474.271548] ACPI Error: Method parse/execution failed [\_SB.PCI0.GFX0.ATPX]
(Node ffff88041d9034b0), AE_NOT_EXIST (20160108/psparse-542)
[  474.272164] failed to evaluate ATPX got AE_NOT_EXIST


The 2 copies of the vga_switcheroo/switch created by command were :

::::::::::::::
/root/vga_switcheroo_switch_at_X
::::::::::::::
0:DIS:+:DynOff:0000:01:00.0
1:IGD: :Off:0000:00:02.0
::::::::::::::
/root/vga_switcheroo_switch_last
::::::::::::::
0:DIS:+:DynOff:0000:01:00.0
1:IGD: :Off:0000:00:02.0

And when the terminal finally returns it is still at:

0:DIS:+:DynOff:0000:01:00.0
1:IGD: :Off:0000:00:02.0

which is nonsensical, because we know the i915 never relinquished control
and is being used.

So it looks like the Radeon driver thinks it has power control, but doesn't.

Does anyone know what 'DynOff' state means ?
Or how to transition from 'DynOff' to 'Pwr' ?
The 'ON' command to vga_switcheroo/switch does not work in state:
0:DIS: :DynOff:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0
to transition DIS from 'DynOff' into 'Pwr' state.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux