On 14 July 2017 at 16:15, Lionel Landwerlin <lionel.g.landwerlin@xxxxxxxxx> wrote: > 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. > > Reported-by: Matthew Auld <matthew.william.auld@xxxxxxxxx> Fixes: 19f81df2859e ("drm/i915/perf: Add OA unit support for Gen 8+") > Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@xxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> # v4.12+ Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>