Re: [Intel-gfx] [PATCH v2] drm/i915: Pull watermark level validity check out

2013-08-08 Thread Chris Wilson
On Wed, Aug 07, 2013 at 01:24:47PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Refactor the code a bit to split the watermark level validity check into > a separate function. > > Also add hack there that allows us to use it even for LP0 watermarks. > ATM we don't pre-co

[Intel-gfx] [PATCH v2] drm/i915: Pull watermark level validity check out

2013-08-07 Thread ville . syrjala
From: Ville Syrjälä Refactor the code a bit to split the watermark level validity check into a separate function. Also add hack there that allows us to use it even for LP0 watermarks. ATM we don't pre-compute/check the LP0 watermarks, so we just have to clamp them to the maximum and hope things