[Intel-gfx] [PATCH v2 12/17] drm/i915: Store the watermark latency values in dev_priv

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 1 16:23:56 CEST 2013


On Thu, Aug 01, 2013 at 04:18:50PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Rather than having to read the latency values out every time, just
> store them in dev_priv.
> 
> On ILK and IVB there is a difference between some of the latency
> values for different planes, so store the latency values for each
> plane type separately, and apply the necesary fixups during init.
> 
> v2: Fix some checkpatch complaints

As you are now storing these, it would also be useful to add a debugfs
file to dump them out for sanity checking. I leave the request to adjust
them via debugfs to somebody else ;-)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list