drm/i915: Revert "drm/i915/tgl: Wa_1607138340"
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 8 Jan 2020 16:19:54 +0000 (16:19 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 9 Jan 2020 12:14:02 +0000 (12:14 +0000)
This reverts commit 08fff7aeddc9dd72161b4c8fc27fbab12b4b9352.

For some yet unexplained reason not having this improves stability of some
media workloads.

Promise is that the media hang will be root caused properly and in the
meantime absence of this workaround is unlikely to cause problems.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Sudeep Dutt <sudeep.dutt@intel.com>
Cc: Francesco Balestrieri <francesco.balestrieri@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tony Ye <tony.ye@intel.com>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200108161954.29739-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_lrc.c

index bd74b76..2217c09 100644 (file)
@@ -1351,10 +1351,6 @@ static u64 execlists_update_context(struct i915_request *rq)
         */
        wmb();
 
-       /* Wa_1607138340:tgl */
-       if (IS_TGL_REVID(rq->i915, TGL_REVID_A0, TGL_REVID_A0))
-               desc |= CTX_DESC_FORCE_RESTORE;
-
        ce->lrc_desc &= ~CTX_DESC_FORCE_RESTORE;
        return desc;
 }