]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: fix oa config reconfiguration
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 19 Oct 2019 21:46:47 +0000 (00:46 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 20 Oct 2019 09:01:11 +0000 (10:01 +0100)
commit1c2d03fde8c696e904ab93c023c3c9f4c17e37da
treecfb27178d332fca18634e7da4efd5985070f42d0
parent3b67f56b9419b0c4892382fda3f294fb8fad91fa
drm/i915/perf: fix oa config reconfiguration

The current logic just reapplies the same configuration already stored
into stream->oa_config instead of the newly selected one.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: f4e03b779f6f ("drm/i915/perf: Allow dynamic reconfiguration of the OA stream")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191019214647.27866-1-lionel.g.landwerlin@intel.com
drivers/gpu/drm/i915/i915_perf.c