diff options
author | Chris Wilson <[email protected]> | 2021-01-19 11:08:01 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2021-01-19 11:55:14 +0000 |
commit | 8fd7b58a21a32a25a42ba612d7be7ef2c4dc568d (patch) | |
tree | 6fb806b54c187422a4ecb4097082e687332d4196 /lib/mpi/mpi-sub-ui.c | |
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 <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions