Re: [PATCH] drm: Don't allow interruptions when opening debugfs/crc

2017-04-07 Thread Chris Wilson
On Fri, Apr 07, 2017 at 06:42:46PM +0200, Daniel Vetter wrote: > On Fri, Apr 07, 2017 at 01:55:00PM +0200, Tomeu Vizoso wrote: > > On 04/07/2017 01:17 PM, Chris Wilson wrote: > > > The code does not like to be interrupted when waiting for the first > > > vblank after opening a debugfs/crc channel,

Re: [PATCH] drm: Don't allow interruptions when opening debugfs/crc

2017-04-07 Thread Daniel Vetter
On Fri, Apr 07, 2017 at 01:55:00PM +0200, Tomeu Vizoso wrote: > On 04/07/2017 01:17 PM, Chris Wilson wrote: > > The code does not like to be interrupted when waiting for the first > > vblank after opening a debugfs/crc channel, so don't. > > > > [66285.716870] WARNING: CPU: 1 PID: 16615 at > > dr

Re: [PATCH] drm: Don't allow interruptions when opening debugfs/crc

2017-04-07 Thread Ville Syrjälä
On Fri, Apr 07, 2017 at 12:17:12PM +0100, Chris Wilson wrote: > The code does not like to be interrupted when waiting for the first > vblank after opening a debugfs/crc channel, so don't. > > [66285.716870] WARNING: CPU: 1 PID: 16615 at > drivers/gpu/drm/drm_debugfs_crc.c:185 crtc_crc_open+0x1d0/

Re: [PATCH] drm: Don't allow interruptions when opening debugfs/crc

2017-04-07 Thread Tomeu Vizoso
On 04/07/2017 01:17 PM, Chris Wilson wrote: > The code does not like to be interrupted when waiting for the first > vblank after opening a debugfs/crc channel, so don't. > > [66285.716870] WARNING: CPU: 1 PID: 16615 at > drivers/gpu/drm/drm_debugfs_crc.c:185 crtc_crc_open+0x1d0/0x1f0 [drm] > [662

[PATCH] drm: Don't allow interruptions when opening debugfs/crc

2017-04-07 Thread Chris Wilson
The code does not like to be interrupted when waiting for the first vblank after opening a debugfs/crc channel, so don't. [66285.716870] WARNING: CPU: 1 PID: 16615 at drivers/gpu/drm/drm_debugfs_crc.c:185 crtc_crc_open+0x1d0/0x1f0 [drm] [66285.716877] Modules linked in: i915 intel_powerclamp crct