[Intel-gfx] [PATCH v10 1/6] drm/i915/perf: fix flex eu registers programming

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 3 17:07:06 UTC 2017


Quoting Lionel Landwerlin (2017-08-03 17:58:07)
> We were reserving fewer dwords in the ring than necessary. Indeed
> we're always writing all registers once, so discard the actual number
> of registers given by the user and just program the whitelisted ones
> once.
> 
> Fixes: 19f81df2859e ("drm/i915/perf: Add OA unit support for Gen 8+")
> Reported-by: Matthew Auld <matthew.william.auld at gmail.com>
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
> Cc: <stable at vger.kernel.org> # v4.12+

For reference, if you enable CONFIG_DRM_I915_DEBUG_GEM it should catch
these mistakes (by bugging out, you are using netconsole, right?)
-Chris


More information about the Intel-gfx mailing list