Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-06-10 Thread Steven Noonan
On Wed, Apr 16, 2014 at 3:03 PM, Steven Noonan ste...@uplinklabs.net wrote:
 On Wed, Apr 16, 2014 at 2:46 PM, Jani Nikula
 jani.nik...@linux.intel.com wrote:
 On Tue, 15 Apr 2014, Imre Deak imre.d...@intel.com wrote:
 On Tue, 2014-04-15 at 21:43 +0200, Daniel Vetter wrote:
 On Mon, Apr 14, 2014 at 11:56:03AM -0700, Steven Noonan wrote:
  On Mon, Apr 14, 2014 at 11:35:05AM -0700, Keith Packard wrote:
   Steven Noonan ste...@uplinklabs.net writes:
  
Was using my machine normally, then my mouse cursor vanished. After 
switching
to a VT and back to X11, my cursor came back. But I did notice a 
nasty trace in
dmesg (below).
  
   I don't think the trace below is related to the cursor disappearing.
 
  Any idea what the trace is all about then? Seems it has something to do
  with runtime power management (maybe my aggressive kernel command-line
  options are triggering it).

 Please test without them. Currently runtime pm should be disabled still on
 vlv (since it's incomplete in 3.14). If you've force-enabled that then you
 get to keep all pieces ;-)

 In general don't set any i915 options if you're not a developer or someone
 else who _really_ knows what's going on.

 Note that the lspci output and the

 [ 1795.275026] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed
 register before writing to 70084

 line suggests HSW and the specs for ThinkPad Yoga suggests the same. But
 I don't know how the vlv_* functions can possible end up in those traces
 then, perhaps just a coincidence, random data on stack?

 I'm wondering the same. Perhaps double check your kernel build and
 modules are all right and matching?


 It was a clean build (built in a clean chroot, no ccache or anything
 fancy), so those stack traces are as right as they could be under
 those conditions.

 The good news (or perhaps scary news) is that I've been running
 3.14.1 for the past 36 hours and haven't been able to reproduce either
 problem since then (warnings or ninja mouse cursor). Nothing in the
 changelog for v3.14..v3.14.1 really stands out as a clear fix though.
 The only changes that appear to directly affect my configuration would
 be the futex changes, iwlwifi change, efi change, and ipv6 change.

This issue is haunting me again. This time I'm running 3.14.6. My mouse
cursor vanished, and I have a bunch of warnings in dmesg:

[ 5622.922652] [ cut here ]
[ 5622.922707] WARNING: CPU: 0 PID: 312 at 
drivers/gpu/drm/i915/intel_uncore.c:455 vlv_flisdsi_write+0x1d69/0x2cc0 [i915]()
[ 5622.922710] Device suspended
[ 5622.922714] Modules linked in: cpufreq_stats fuse ctr ccm hid_generic 
hid_sensor_magn_3d hid_sensor_als hid_sensor_gyro_3d hid_sensor_accel_3d 
hid_sensor_trigger industrialio_triggered_buffer kfifo_buf 
hid_sensor_iio_common industrialio hid_sensor_hub hid_multitouch usbhid wacom 
hid btusb joydev bnep bluetooth 6lowpan_iphc tun arc4 nls_cp437 vfat fat iwlmvm 
mac80211 x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi 
iTCO_wdt kvm_intel iTCO_vendor_support kvm crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper iwlwifi 
ablk_helper cryptd microcode psmouse cfg80211 serio_raw snd_hda_codec_conexant 
i2c_i801 lpc_ich snd_hda_codec_generic mfd_core tpm_tis snd_hda_intel thermal 
tpm wmi thinkpad_acpi snd_hda_codec snd_hwdep nvram battery snd_pcm
[ 5622.922796]  ac evdev snd_timer snd soundcore intel_smartconnect 
acpi_cpufreq processor vmnet(O) vmblock(O) vmci(O) vmmon(O) msr ax88179_178a(O) 
usbnet mii efivarfs ext4 crc16 jbd2 mbcache sd_mod crc_t10dif crct10dif_common 
crc32c_intel ahci libahci libata xhci_hcd scsi_mod usbcore usb_common i915 
video intel_gtt i2c_algo_bit drm_kms_helper drm i2c_core e1000e ptp pps_core 
ipmi_poweroff ipmi_msghandler button
[ 5622.922853] CPU: 0 PID: 312 Comm: X Tainted: G   O 3.14.6-1-ec2 #1
[ 5622.922856] Hardware name: LENOVO 20CDCTO1WW/20CDCTO1WW, BIOS GQET35WW (1.15 
) 04/21/2014
[ 5622.922860]  0009 880212319c08 814fd4c3 
880212319c50
[ 5622.922867]  880212319c40 810664ad 00070088 
8802119b8000
[ 5622.922873]  8802119b8028 8802119b8020 03bb0611 
880212319ca0
[ 5622.922880] Call Trace:
[ 5622.922891]  [814fd4c3] dump_stack+0x45/0x56
[ 5622.922900]  [810664ad] warn_slowpath_common+0x7d/0xa0
[ 5622.922906]  [8106651c] warn_slowpath_fmt+0x4c/0x50
[ 5622.922922]  [811dcaf0] ? poll_select_copy_remaining+0x130/0x130
[ 5622.922942]  [a013a849] vlv_flisdsi_write+0x1d69/0x2cc0 [i915]
[ 5622.922963]  [a013af46] vlv_flisdsi_write+0x2466/0x2cc0 [i915]
[ 5622.922986]  [a00f364b] i915_restore_display_reg+0x198b/0x8430 
[i915]
[ 5622.922995]  [81501062] ? mutex_lock+0x12/0x30
[ 5622.923017]  [a00f390f] i915_restore_display_reg+0x1c4f/0x8430 
[i915]
[ 5622.923044]  [a006d060] drm_mode_set_config_internal+0x180/0x260 
[drm]
[ 

Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-06-10 Thread Imre Deak

On Tue, 2014-06-10 at 12:35 -0700, Steven Noonan wrote:
 On Wed, Apr 16, 2014 at 3:03 PM, Steven Noonan ste...@uplinklabs.net wrote:
  On Wed, Apr 16, 2014 at 2:46 PM, Jani Nikula
  jani.nik...@linux.intel.com wrote:
  On Tue, 15 Apr 2014, Imre Deak imre.d...@intel.com wrote:
  On Tue, 2014-04-15 at 21:43 +0200, Daniel Vetter wrote:
  On Mon, Apr 14, 2014 at 11:56:03AM -0700, Steven Noonan wrote:
   On Mon, Apr 14, 2014 at 11:35:05AM -0700, Keith Packard wrote:
Steven Noonan ste...@uplinklabs.net writes:
   
 Was using my machine normally, then my mouse cursor vanished. 
 After switching
 to a VT and back to X11, my cursor came back. But I did notice a 
 nasty trace in
 dmesg (below).
   
I don't think the trace below is related to the cursor disappearing.
  
   Any idea what the trace is all about then? Seems it has something to do
   with runtime power management (maybe my aggressive kernel command-line
   options are triggering it).
 
  Please test without them. Currently runtime pm should be disabled still 
  on
  vlv (since it's incomplete in 3.14). If you've force-enabled that then 
  you
  get to keep all pieces ;-)
 
  In general don't set any i915 options if you're not a developer or 
  someone
  else who _really_ knows what's going on.
 
  Note that the lspci output and the
 
  [ 1795.275026] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed
  register before writing to 70084
 
  line suggests HSW and the specs for ThinkPad Yoga suggests the same. But
  I don't know how the vlv_* functions can possible end up in those traces
  then, perhaps just a coincidence, random data on stack?
 
  I'm wondering the same. Perhaps double check your kernel build and
  modules are all right and matching?
 
 
  It was a clean build (built in a clean chroot, no ccache or anything
  fancy), so those stack traces are as right as they could be under
  those conditions.
 
  The good news (or perhaps scary news) is that I've been running
  3.14.1 for the past 36 hours and haven't been able to reproduce either
  problem since then (warnings or ninja mouse cursor). Nothing in the
  changelog for v3.14..v3.14.1 really stands out as a clear fix though.
  The only changes that appear to directly affect my configuration would
  be the futex changes, iwlwifi change, efi change, and ipv6 change.
 
 This issue is haunting me again. This time I'm running 3.14.6. My mouse
 cursor vanished, and I have a bunch of warnings in dmesg:
 
 [ 5622.922652] [ cut here ]
 [ 5622.922707] WARNING: CPU: 0 PID: 312 at 
 drivers/gpu/drm/i915/intel_uncore.c:455 vlv_flisdsi_write+0x1d69/0x2cc0 
 [i915]()
 [ 5622.922710] Device suspended
 [ 5622.922714] Modules linked in: cpufreq_stats fuse ctr ccm hid_generic 
 hid_sensor_magn_3d hid_sensor_als hid_sensor_gyro_3d hid_sensor_accel_3d 
 hid_sensor_trigger industrialio_triggered_buffer kfifo_buf 
 hid_sensor_iio_common industrialio hid_sensor_hub hid_multitouch usbhid wacom 
 hid btusb joydev bnep bluetooth 6lowpan_iphc tun arc4 nls_cp437 vfat fat 
 iwlmvm mac80211 x86_pkg_temp_thermal intel_powerclamp coretemp 
 snd_hda_codec_hdmi iTCO_wdt kvm_intel iTCO_vendor_support kvm 
 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw 
 gf128mul glue_helper iwlwifi ablk_helper cryptd microcode psmouse cfg80211 
 serio_raw snd_hda_codec_conexant i2c_i801 lpc_ich snd_hda_codec_generic 
 mfd_core tpm_tis snd_hda_intel thermal tpm wmi thinkpad_acpi snd_hda_codec 
 snd_hwdep nvram battery snd_pcm
 [ 5622.922796]  ac evdev snd_timer snd soundcore intel_smartconnect 
 acpi_cpufreq processor vmnet(O) vmblock(O) vmci(O) vmmon(O) msr 
 ax88179_178a(O) usbnet mii efivarfs ext4 crc16 jbd2 mbcache sd_mod crc_t10dif 
 crct10dif_common crc32c_intel ahci libahci libata xhci_hcd scsi_mod usbcore 
 usb_common i915 video intel_gtt i2c_algo_bit drm_kms_helper drm i2c_core 
 e1000e ptp pps_core ipmi_poweroff ipmi_msghandler button
 [ 5622.922853] CPU: 0 PID: 312 Comm: X Tainted: G   O 3.14.6-1-ec2 #1
 [ 5622.922856] Hardware name: LENOVO 20CDCTO1WW/20CDCTO1WW, BIOS GQET35WW 
 (1.15 ) 04/21/2014
 [ 5622.922860]  0009 880212319c08 814fd4c3 
 880212319c50
 [ 5622.922867]  880212319c40 810664ad 00070088 
 8802119b8000
 [ 5622.922873]  8802119b8028 8802119b8020 03bb0611 
 880212319ca0
 [ 5622.922880] Call Trace:
 [ 5622.922891]  [814fd4c3] dump_stack+0x45/0x56
 [ 5622.922900]  [810664ad] warn_slowpath_common+0x7d/0xa0
 [ 5622.922906]  [8106651c] warn_slowpath_fmt+0x4c/0x50
 [ 5622.922922]  [811dcaf0] ? poll_select_copy_remaining+0x130/0x130
 [ 5622.922942]  [a013a849] vlv_flisdsi_write+0x1d69/0x2cc0 [i915]
 [ 5622.922963]  [a013af46] vlv_flisdsi_write+0x2466/0x2cc0 [i915]
 [ 5622.922986]  [a00f364b] i915_restore_display_reg+0x198b/0x8430 
 [i915]
 [ 5622.922995]  [81501062] ? mutex_lock+0x12/0x30
 [ 

Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-16 Thread Jani Nikula
On Tue, 15 Apr 2014, Imre Deak imre.d...@intel.com wrote:
 On Tue, 2014-04-15 at 21:43 +0200, Daniel Vetter wrote:
 On Mon, Apr 14, 2014 at 11:56:03AM -0700, Steven Noonan wrote:
  On Mon, Apr 14, 2014 at 11:35:05AM -0700, Keith Packard wrote:
   Steven Noonan ste...@uplinklabs.net writes:
   
Was using my machine normally, then my mouse cursor vanished. After 
switching
to a VT and back to X11, my cursor came back. But I did notice a nasty 
trace in
dmesg (below).
   
   I don't think the trace below is related to the cursor disappearing.
  
  Any idea what the trace is all about then? Seems it has something to do
  with runtime power management (maybe my aggressive kernel command-line
  options are triggering it).
 
 Please test without them. Currently runtime pm should be disabled still on
 vlv (since it's incomplete in 3.14). If you've force-enabled that then you
 get to keep all pieces ;-)
 
 In general don't set any i915 options if you're not a developer or someone
 else who _really_ knows what's going on.

 Note that the lspci output and the

 [ 1795.275026] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed
 register before writing to 70084

 line suggests HSW and the specs for ThinkPad Yoga suggests the same. But
 I don't know how the vlv_* functions can possible end up in those traces
 then, perhaps just a coincidence, random data on stack?

I'm wondering the same. Perhaps double check your kernel build and
modules are all right and matching?

BR,
Jani.



 For HSW the rc6 kernel option shouldn't make a difference.

 --Imre  


 ___
 Intel-gfx mailing list
 Intel-gfx@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-16 Thread Steven Noonan
On Wed, Apr 16, 2014 at 2:46 PM, Jani Nikula
jani.nik...@linux.intel.com wrote:
 On Tue, 15 Apr 2014, Imre Deak imre.d...@intel.com wrote:
 On Tue, 2014-04-15 at 21:43 +0200, Daniel Vetter wrote:
 On Mon, Apr 14, 2014 at 11:56:03AM -0700, Steven Noonan wrote:
  On Mon, Apr 14, 2014 at 11:35:05AM -0700, Keith Packard wrote:
   Steven Noonan ste...@uplinklabs.net writes:
  
Was using my machine normally, then my mouse cursor vanished. After 
switching
to a VT and back to X11, my cursor came back. But I did notice a 
nasty trace in
dmesg (below).
  
   I don't think the trace below is related to the cursor disappearing.
 
  Any idea what the trace is all about then? Seems it has something to do
  with runtime power management (maybe my aggressive kernel command-line
  options are triggering it).

 Please test without them. Currently runtime pm should be disabled still on
 vlv (since it's incomplete in 3.14). If you've force-enabled that then you
 get to keep all pieces ;-)

 In general don't set any i915 options if you're not a developer or someone
 else who _really_ knows what's going on.

 Note that the lspci output and the

 [ 1795.275026] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed
 register before writing to 70084

 line suggests HSW and the specs for ThinkPad Yoga suggests the same. But
 I don't know how the vlv_* functions can possible end up in those traces
 then, perhaps just a coincidence, random data on stack?

 I'm wondering the same. Perhaps double check your kernel build and
 modules are all right and matching?


It was a clean build (built in a clean chroot, no ccache or anything
fancy), so those stack traces are as right as they could be under
those conditions.

The good news (or perhaps scary news) is that I've been running
3.14.1 for the past 36 hours and haven't been able to reproduce either
problem since then (warnings or ninja mouse cursor). Nothing in the
changelog for v3.14..v3.14.1 really stands out as a clear fix though.
The only changes that appear to directly affect my configuration would
be the futex changes, iwlwifi change, efi change, and ipv6 change.
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-15 Thread Daniel Vetter
On Mon, Apr 14, 2014 at 11:56:03AM -0700, Steven Noonan wrote:
 On Mon, Apr 14, 2014 at 11:35:05AM -0700, Keith Packard wrote:
  Steven Noonan ste...@uplinklabs.net writes:
  
   Was using my machine normally, then my mouse cursor vanished. After 
   switching
   to a VT and back to X11, my cursor came back. But I did notice a nasty 
   trace in
   dmesg (below).
  
  I don't think the trace below is related to the cursor disappearing.
 
 Any idea what the trace is all about then? Seems it has something to do
 with runtime power management (maybe my aggressive kernel command-line
 options are triggering it).

Please test without them. Currently runtime pm should be disabled still on
vlv (since it's incomplete in 3.14). If you've force-enabled that then you
get to keep all pieces ;-)

In general don't set any i915 options if you're not a developer or someone
else who _really_ knows what's going on.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-15 Thread Imre Deak
On Tue, 2014-04-15 at 21:43 +0200, Daniel Vetter wrote:
 On Mon, Apr 14, 2014 at 11:56:03AM -0700, Steven Noonan wrote:
  On Mon, Apr 14, 2014 at 11:35:05AM -0700, Keith Packard wrote:
   Steven Noonan ste...@uplinklabs.net writes:
   
Was using my machine normally, then my mouse cursor vanished. After 
switching
to a VT and back to X11, my cursor came back. But I did notice a nasty 
trace in
dmesg (below).
   
   I don't think the trace below is related to the cursor disappearing.
  
  Any idea what the trace is all about then? Seems it has something to do
  with runtime power management (maybe my aggressive kernel command-line
  options are triggering it).
 
 Please test without them. Currently runtime pm should be disabled still on
 vlv (since it's incomplete in 3.14). If you've force-enabled that then you
 get to keep all pieces ;-)
 
 In general don't set any i915 options if you're not a developer or someone
 else who _really_ knows what's going on.

Note that the lspci output and the

[ 1795.275026] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed
register before writing to 70084

line suggests HSW and the specs for ThinkPad Yoga suggests the same. But
I don't know how the vlv_* functions can possible end up in those traces
then, perhaps just a coincidence, random data on stack?

For HSW the rc6 kernel option shouldn't make a difference.

--Imre  


___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-15 Thread Steven Noonan
On Tue, Apr 15, 2014 at 12:59 PM, Imre Deak imre.d...@intel.com wrote:
 On Tue, 2014-04-15 at 21:43 +0200, Daniel Vetter wrote:
 On Mon, Apr 14, 2014 at 11:56:03AM -0700, Steven Noonan wrote:
  On Mon, Apr 14, 2014 at 11:35:05AM -0700, Keith Packard wrote:
   Steven Noonan ste...@uplinklabs.net writes:
  
Was using my machine normally, then my mouse cursor vanished. After 
switching
to a VT and back to X11, my cursor came back. But I did notice a nasty 
trace in
dmesg (below).
  
   I don't think the trace below is related to the cursor disappearing.
 
  Any idea what the trace is all about then? Seems it has something to do
  with runtime power management (maybe my aggressive kernel command-line
  options are triggering it).

 Please test without them. Currently runtime pm should be disabled still on
 vlv (since it's incomplete in 3.14). If you've force-enabled that then you
 get to keep all pieces ;-)

 In general don't set any i915 options if you're not a developer or someone
 else who _really_ knows what's going on.

 Note that the lspci output and the

 [ 1795.275026] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed
 register before writing to 70084

 line suggests HSW and the specs for ThinkPad Yoga suggests the same. But
 I don't know how the vlv_* functions can possible end up in those traces
 then, perhaps just a coincidence, random data on stack?

 For HSW the rc6 kernel option shouldn't make a difference.

Correct, it's Haswell.
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-14 Thread Steven Noonan
Was using my machine normally, then my mouse cursor vanished. After switching
to a VT and back to X11, my cursor came back. But I did notice a nasty trace in
dmesg (below).

I have a few options specified on my command line related to i915, but these
worked fine through 3.13.9:

i915.lvds_downclock=1 i915.i915_enable_rc6=7 i915.i915_enable_fbc=1

System is a Lenovo ThinkPad S1 Yoga.

lspci:

$ sudo lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM 
Controller [8086:0a04] (rev 0b)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT 
Integrated Graphics Controller [8086:0a16] (rev 0b)
00:03.0 Audio device [0403]: Intel Corporation Device [8086:0a0c] (rev 
0b)
00:14.0 USB controller [0c03]: Intel Corporation Lynx Point-LP USB xHCI 
HC [8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation Lynx 
Point-LP HECI #0 [8086:9c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation Lynx Point-LP HD Audio 
Controller [8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express 
Root Port 1 [8086:9c10] (rev e4)
00:1c.2 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express 
Root Port 3 [8086:9c14] (rev e4)
00:1c.3 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express 
Root Port 4 [8086:9c16] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation Lynx Point-LP USB EHCI 
#1 [8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation Lynx Point-LP LPC 
Controller [8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation Lynx Point-LP SATA 
Controller 1 [AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation Lynx Point-LP SMBus Controller 
[8086:9c22] (rev 04)
04:00.0 Network controller [0280]: Intel Corporation Wireless 7260 
[8086:08b2] (rev 73)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 
[10ec:5227] (rev 01)


Let me know what other information would be helpful. I could do a bisection if
needed, but I'm hoping the stack traces below trigger an aha moment in 
somebody.

Here's the trace:

[ 1703.305960] [ cut here ]
[ 1703.305982] WARNING: CPU: 2 PID: 351 at 
drivers/gpu/drm/i915/intel_uncore.c:453 vlv_flisdsi_write+0x1ea9/0x2ed0 [i915]()
[ 1703.305983] Device suspended
[ 1703.305984] Modules linked in: usb_storage fuse ctr ccm bnep tun wacom 
hid_sensor_accel_3d hid_sensor_magn_3d hid_sensor_gyro_3d hid_sensor_als 
hid_sensor_trigger industrialio_triggered_buffer kfifo_buf 
hid_sensor_iio_common industrialio hid_sensor_hub joydev hid_multitouch usbhid 
btusb hid bluetooth 6lowpan_iphc arc4 nls_cp437 vfat fat iwlmvm 
snd_hda_codec_hdmi x86_pkg_temp_thermal mac80211 intel_powerclamp coretemp 
iTCO_wdt kvm_intel iTCO_vendor_support kvm crct10dif_pclmul crc32_pclmul 
crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul 
glue_helper ablk_helper cryptd microcode snd_hda_codec_conexant 
snd_hda_codec_generic wmi iwlwifi psmouse serio_raw i2c_i801 cfg80211 thermal 
snd_hda_intel tpm_tis tpm snd_hda_codec snd_hwdep snd_pcm thinkpad_acpi nvram 
battery ac snd_timer intel_smartconnect
[ 1703.306011]  evdev snd lpc_ich soundcore mfd_core processor usbip_host(C) 
usbip_core(C) efivarfs ext4 crc16 mbcache jbd2 sd_mod crc_t10dif 
crct10dif_common ahci libahci xhci_hcd libata ehci_pci ehci_hcd scsi_mod 
usbcore usb_common i915 video intel_gtt i2c_algo_bit drm_kms_helper drm 
i2c_core e1000e ptp pps_core ipmi_poweroff ipmi_msghandler button
[ 1703.306028] CPU: 2 PID: 351 Comm: X Tainted: G C   3.14.0-1-ec2 #1
[ 1703.306029] Hardware name: LENOVO 20CDCTO1WW/20CDCTO1WW, BIOS GQET34WW (1.14 
) 02/26/2014
[ 1703.306030]  0009 88021f283d50 814ea57f 
88021f283d98
[ 1703.306032]  88021f283d88 810653dd 8800d2748000 
0004400c
[ 1703.306034]  8800d2748028 8800d2748020 74002529 
88021f283de8
[ 1703.306036] Call Trace:
[ 1703.306037]  IRQ  [814ea57f] dump_stack+0x45/0x56
[ 1703.306044]  [810653dd] warn_slowpath_common+0x7d/0xa0
[ 1703.306046]  [8106544c] warn_slowpath_fmt+0x4c/0x50
[ 1703.306050]  [810a501d] ? enqueue_task_fair+0x43d/0x550
[ 1703.306055]  [a0135d59] vlv_flisdsi_write+0x1ea9/0x2ed0 [i915]
[ 1703.306060]  [a0136530] vlv_flisdsi_write+0x2680/0x2ed0 [i915]
[ 1703.306065]  [a00d3a3a] i915_queue_hangcheck+0x129a/0x2f20 [i915]
[ 1703.306068]  [81099a5c] ? try_to_wake_up+0x28c/0x2a0
[ 1703.306070]  [810c1572] handle_irq_event_percpu+0x62/0x1f0
[ 1703.306072]  [810c173d] handle_irq_event+0x3d/0x60
[ 1703.306074]  [810c44c8] handle_edge_irq+0x108/0x140
[ 1703.306078]  [81016b3e] handle_irq+0x1e/0x40
[ 1703.306081]  [814fba8f] do_IRQ+0x4f/0xe0
[ 1703.306084]  [814f0b2d] common_interrupt+0x6d/0x6d
[ 

Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-14 Thread Keith Packard
Steven Noonan ste...@uplinklabs.net writes:

 Was using my machine normally, then my mouse cursor vanished. After switching
 to a VT and back to X11, my cursor came back. But I did notice a nasty trace 
 in
 dmesg (below).

I don't think the trace below is related to the cursor disappearing.

I found a pair of bugs (one in the intel driver, one in the X server)
which can cause cursor disappearances. I just sent an intel driver patch
to the intel-gfx list with the subject:

[PATCH] load_cursor_argb is supposed to return a Bool, not void

I've posted the X server patch once, and will respond to some review
comments. Either is sufficient to get a cursor back, the intel driver
one means you get a working hardware cursor again, rather than using a
software cursor by mistake.

-- 
keith.pack...@intel.com


pgpelSNxaVj1A.pgp
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-14 Thread Steven Noonan
On Mon, Apr 14, 2014 at 11:35:05AM -0700, Keith Packard wrote:
 Steven Noonan ste...@uplinklabs.net writes:
 
  Was using my machine normally, then my mouse cursor vanished. After 
  switching
  to a VT and back to X11, my cursor came back. But I did notice a nasty 
  trace in
  dmesg (below).
 
 I don't think the trace below is related to the cursor disappearing.

Any idea what the trace is all about then? Seems it has something to do
with runtime power management (maybe my aggressive kernel command-line
options are triggering it).

 I found a pair of bugs (one in the intel driver, one in the X server)
 which can cause cursor disappearances. I just sent an intel driver patch
 to the intel-gfx list with the subject:
 
 [PATCH] load_cursor_argb is supposed to return a Bool, not void
 
 I've posted the X server patch once, and will respond to some review
 comments. Either is sufficient to get a cursor back, the intel driver
 one means you get a working hardware cursor again, rather than using a
 software cursor by mistake.

OK, good to know. Thanks for pointing those out!
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] REGRESSION 3.14 i915 warning mouse cursor vanishing

2014-04-14 Thread Keith Packard
Steven Noonan ste...@uplinklabs.net writes:

 OK, good to know. Thanks for pointing those out!

As Julien points out, this bug only affects people running master from
the X server though...

-- 
keith.pack...@intel.com


pgpHmhnPO7B4K.pgp
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx