diff options
author | Mika Kuoppala <[email protected]> | 2019-10-15 18:44:49 +0300 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-10-15 18:25:52 +0100 |
commit | 08fff7aeddc9dd72161b4c8fc27fbab12b4b9352 (patch) | |
tree | 640822050ba4cdfd49a3c38c4e730c84d4fce3fe | |
parent | 99db8c59e056e1e1a97845dbd38a3a6f47be6b7d (diff) |
drm/i915/tgl: Wa_1607138340
Avoid possible cs hang with semaphores by disabling
lite restore.
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/i915/gt/intel_lrc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c index d64b4d868b75..44f213fd7604 100644 --- a/drivers/gpu/drm/i915/gt/intel_lrc.c +++ b/drivers/gpu/drm/i915/gt/intel_lrc.c @@ -1048,6 +1048,10 @@ static u64 execlists_update_context(const struct i915_request *rq) desc = ce->lrc_desc; ce->lrc_desc &= ~CTX_DESC_FORCE_RESTORE; + /* Wa_1607138340:tgl */ + if (IS_TGL_REVID(rq->i915, TGL_REVID_A0, TGL_REVID_A0)) + desc |= CTX_DESC_FORCE_RESTORE; + return desc; } |