Re: [Intel-gfx] [PATCH] drm/i915: Fix locking in DRRS flush/invalidate hooks

2015-04-09 Thread Ville Syrjälä
On Thu, Apr 09, 2015 at 12:52:19PM +0300, Jani Nikula wrote: > On Thu, 09 Apr 2015, Daniel Vetter wrote: > > We must acquire the mutex before we can check drrs.dp, otherwise > > someone might sneak in with a modeset, clear the pointer after we've > > checked it and then the code will Oops. > > > >

Re: [Intel-gfx] [PATCH] drm/i915: Fix locking in DRRS flush/invalidate hooks

2015-04-09 Thread Jani Nikula
On Thu, 09 Apr 2015, Daniel Vetter wrote: > We must acquire the mutex before we can check drrs.dp, otherwise > someone might sneak in with a modeset, clear the pointer after we've > checked it and then the code will Oops. > > This issue has been introduced in > > commit a93fad0f7fb8a3ff12e8814b630

[Intel-gfx] [PATCH] drm/i915: Fix locking in DRRS flush/invalidate hooks

2015-04-09 Thread Daniel Vetter
We must acquire the mutex before we can check drrs.dp, otherwise someone might sneak in with a modeset, clear the pointer after we've checked it and then the code will Oops. This issue has been introduced in commit a93fad0f7fb8a3ff12e8814b630648f6d187954c Author: Vandana Kannan Date: Sat Jan 1