summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_oa_chv.c
diff options
context:
space:
mode:
authorLionel Landwerlin2017-08-03 18:58:07 +0200
committerLionel Landwerlin2017-08-03 19:17:47 +0200
commit01d928e9a1644eb2e28f684905f888e700c7b9dc (patch)
treee5410ae117517d5ee4d8d179acef3c24a5b710b3 /drivers/gpu/drm/i915/i915_oa_chv.c
parentdrm/i915: add const to bin_attribute (diff)
downloadkernel-qcow2-linux-01d928e9a1644eb2e28f684905f888e700c7b9dc.tar.gz
kernel-qcow2-linux-01d928e9a1644eb2e28f684905f888e700c7b9dc.tar.xz
kernel-qcow2-linux-01d928e9a1644eb2e28f684905f888e700c7b9dc.zip
drm/i915/perf: fix flex eu registers programming
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@gmail.com> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Cc: <stable@vger.kernel.org> # v4.12+ Link: https://patchwork.freedesktop.org/patch/msgid/20170803165812.2373-6-lionel.g.landwerlin@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_oa_chv.c')
0 files changed, 0 insertions, 0 deletions