]> 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)
commit5f5c382ecfdd06e17316d1c9f1362522c20cdfef
tree7f8fe372b6ac4aeff65ebf739b16cd56a9d08aa8
parent15d0ace1f876e01b9745cb22ee32e3770fe3a6d5
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