Re: [Intel-gfx] [rfc PATCH] drm/i915: Simplify shrinker_lock

2016-07-19 Thread Daniel Vetter
On Sun, Jul 17, 2016 at 10:54:51PM +0100, Chris Wilson wrote: > On Sun, Jul 17, 2016 at 11:45:44AM -0700, Davidlohr Bueso wrote: > > In addition, we can simplify the overall function wrt (2), by first > > checking if we are the lock owner, then address the trylock and > > deal with (2) if locked/co

Re: [Intel-gfx] [PATCH v2] i915: fix build error with -Werror

2016-07-19 Thread Daniel Vetter
On Mon, Jul 04, 2016 at 11:30:06AM -0400, Jeff Mahoney wrote: > This fixes the following build error with -Werror and gcc 6.1: > > drivers/gpu/drm/i915/i915_debugfs.c:2103:6: error: suggest explicit braces to > avoid ambiguous 'else' [-Werror=parentheses] > > Signed-off-by: Jeff Mahoney This d

<    1   2