]> Git Repo - linux.git/commit
drm/i915/perf: fix flex eu registers programming
authorLionel Landwerlin <[email protected]>
Thu, 3 Aug 2017 16:58:07 +0000 (17:58 +0100)
committerJani Nikula <[email protected]>
Mon, 7 Aug 2017 10:38:50 +0000 (13:38 +0300)
commitb5fa57ddc4a2492441a1391f07d5c8a282271249
tree060a452ec862543f2338cc01c6200887161db4d9
parent5e2d0967acd3fcb202f70534bc4534c4e4216cfa
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 <[email protected]>
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Cc: <[email protected]> # v4.12+
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 01d928e9a1644eb2e28f684905f888e700c7b9dc)
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/i915/i915_perf.c
This page took 0.048483 seconds and 4 git commands to generate.