]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: Prefer using the pinned_ctx for emitting delays on config
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 12 Oct 2019 09:10:56 +0000 (10:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 12 Oct 2019 16:04:08 +0000 (17:04 +0100)
commit7a0c0adf2ed3fc94f1d2d3c512b3c4b711bd4ed9
tree7f8fe372b6ac4aeff65ebf739b16cd56a9d08aa8
parent91495985d41563613074b450cc79c4668ee4cb5c
drm/i915/perf: Prefer using the pinned_ctx for emitting delays on config

When we are watching a particular context, we want the OA config to be
applied inline with that context such that it takes effect before the
next submission.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191012091056.28686-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_perf.c