Re: [Intel-gfx] [RFC][PATCH 11/11] drm: Sprinkle lockdep asserts for edid/display_info

2018-03-07 Thread Daniel Vetter
On Tue, Mar 06, 2018 at 01:32:21PM -0500, Harry Wentland wrote: > > > On 2018-03-06 12:13 PM, Daniel Vetter wrote: > > On Tue, Mar 06, 2018 at 11:23:23AM -0500, Harry Wentland wrote: > >> On 2018-03-06 07:18 AM, Ville Syrj??l?? wrote: > >>> On Tue, Mar 06, 2018 at 10:31:27AM +0100, Daniel Vetter

Re: [Intel-gfx] [RFC][PATCH 11/11] drm: Sprinkle lockdep asserts for edid/display_info

2018-03-06 Thread Harry Wentland
On 2018-03-06 12:13 PM, Daniel Vetter wrote: > On Tue, Mar 06, 2018 at 11:23:23AM -0500, Harry Wentland wrote: >> On 2018-03-06 07:18 AM, Ville Syrjälä wrote: >>> On Tue, Mar 06, 2018 at 10:31:27AM +0100, Daniel Vetter wrote: On Tue, Feb 27, 2018 at 02:57:00PM +0200, Ville Syrjala wrote:

Re: [Intel-gfx] [RFC][PATCH 11/11] drm: Sprinkle lockdep asserts for edid/display_info

2018-03-06 Thread Daniel Vetter
On Tue, Mar 06, 2018 at 11:23:23AM -0500, Harry Wentland wrote: > On 2018-03-06 07:18 AM, Ville Syrjälä wrote: > > On Tue, Mar 06, 2018 at 10:31:27AM +0100, Daniel Vetter wrote: > >> On Tue, Feb 27, 2018 at 02:57:00PM +0200, Ville Syrjala wrote: > >>> From: Ville Syrjälä

Re: [Intel-gfx] [RFC][PATCH 11/11] drm: Sprinkle lockdep asserts for edid/display_info

2018-03-06 Thread Harry Wentland
On 2018-03-06 07:18 AM, Ville Syrjälä wrote: > On Tue, Mar 06, 2018 at 10:31:27AM +0100, Daniel Vetter wrote: >> On Tue, Feb 27, 2018 at 02:57:00PM +0200, Ville Syrjala wrote: >>> From: Ville Syrjälä >>> >>> edid and display_info are protected by mode_config.mutex.

Re: [Intel-gfx] [RFC][PATCH 11/11] drm: Sprinkle lockdep asserts for edid/display_info

2018-03-06 Thread Ville Syrjälä
On Tue, Mar 06, 2018 at 10:31:27AM +0100, Daniel Vetter wrote: > On Tue, Feb 27, 2018 at 02:57:00PM +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > edid and display_info are protected by mode_config.mutex. Add lockdep > > asserts to make sure we're not

Re: [Intel-gfx] [RFC][PATCH 11/11] drm: Sprinkle lockdep asserts for edid/display_info

2018-03-06 Thread Daniel Vetter
On Tue, Feb 27, 2018 at 02:57:00PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > edid and display_info are protected by mode_config.mutex. Add lockdep > asserts to make sure we're not accessing things w/o the lock. > > FIXME: pretty sure this will blow up

[Intel-gfx] [RFC][PATCH 11/11] drm: Sprinkle lockdep asserts for edid/display_info

2018-02-27 Thread Ville Syrjala
From: Ville Syrjälä edid and display_info are protected by mode_config.mutex. Add lockdep asserts to make sure we're not accessing things w/o the lock. FIXME: pretty sure this will blow up with amdgpu as they seem to be doing edid updates even from the modeset