diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-19 11:08:01 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-19 11:55:14 +0000 |
commit | 8fd7b58a21a32a25a42ba612d7be7ef2c4dc568d (patch) | |
tree | 6fb806b54c187422a4ecb4097082e687332d4196 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 77e2faeb0744515939c4f5651e0d39ead96b39f1 (diff) |
drm/i915/gt: Pull ring submission resume under its caller forcewake
Take advantage of calling xcs_resume under a forcewake by using direct
mmio access. In particular, we can avoid the sleeping variants to allow
resume to be called from softirq context, required for engine resets.
v2: Keep the posting read at the start of resume as a guardian memory
barrier.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210119110802.22228-5-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions