OSDN Git Service

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)
commit8814c6d01f7e82e6be70ac04d8bca0fc90757418
treecfb27178d332fca18634e7da4efd5985070f42d0
parent7acf6c9495d075a2f05e90915d03027227b0a1d5
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: 7831e9a965ea ("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