[Intel-gfx] [PATCH] drm: Take mode_config.mutex in setcrtc ioctl

2017-04-06 Thread Daniel Vetter
Legacy drivers insist that we really take all the locks in this path, and the harm in doing so is minimal. Fixes: 2ceb585a956c ("drm: Add explicit acquire ctx handling around ->set_config") Cc: Harry Wentland Cc: Daniel Vetter Cc: Daniel Vetter Cc: Jani Nikula Cc: Sean Paul Cc: David Airlie

[Intel-gfx] [PATCH] drm: Take mode_config.mutex in setcrtc ioctl

2017-04-06 Thread Daniel Vetter
Legacy drivers insist that we really take all the locks in this path, and the harm in doing so is minimal. v2: Like git add, it exists :( Fixes: 2ceb585a956c ("drm: Add explicit acquire ctx handling around ->set_config") Cc: Harry Wentland Cc: Daniel Vetter Cc: Daniel Vetter Cc: Jani Nikula

Re: [Intel-gfx] [PATCH] drm: Take mode_config.mutex in setcrtc ioctl

2017-04-06 Thread Alex Deucher
On Thu, Apr 6, 2017 at 2:55 PM, Daniel Vetter wrote: > Legacy drivers insist that we really take all the locks in this path, > and the harm in doing so is minimal. > > Fixes: 2ceb585a956c ("drm: Add explicit acquire ctx handling around > ->set_config") > Cc: Harry Wentland > Cc: Daniel Vetter >

Re: [Intel-gfx] [PATCH] drm: Take mode_config.mutex in setcrtc ioctl

2017-04-06 Thread Alex Deucher
On Thu, Apr 6, 2017 at 3:06 PM, Daniel Vetter wrote: > Legacy drivers insist that we really take all the locks in this path, > and the harm in doing so is minimal. > > v2: Like git add, it exists :( > > Fixes: 2ceb585a956c ("drm: Add explicit acquire ctx handling around > ->set_config") > Cc: Har

Re: [Intel-gfx] [PATCH] drm: Take mode_config.mutex in setcrtc ioctl

2017-04-06 Thread Daniel Vetter
On Thu, Apr 06, 2017 at 03:09:04PM -0400, Alex Deucher wrote: > On Thu, Apr 6, 2017 at 3:06 PM, Daniel Vetter wrote: > > Legacy drivers insist that we really take all the locks in this path, > > and the harm in doing so is minimal. > > > > v2: Like git add, it exists :( > > > > Fixes: 2ceb585a956c