Commit 65fe29ee authored by Tim Gore's avatar Tim Gore Committed by Tvrtko Ursulin

drm/i915:gen9: restrict WaC6DisallowByGfxPause

WaC6DisallowByGfxPause is currently applied unconditionally
but is not required in all revisions.

v2: extend application of workaround to agree with w/a
database, which differs from the HSD.

References: HSD#2133391
Signed-off-by: default avatarTim Gore <tim.gore@intel.com>
Reviewed-by: default avatarSagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469008825-19442-1-git-send-email-tim.gore@intel.com
parent f8ca0c07
...@@ -349,6 +349,8 @@ static int guc_ucode_xfer(struct drm_i915_private *dev_priv) ...@@ -349,6 +349,8 @@ static int guc_ucode_xfer(struct drm_i915_private *dev_priv)
} }
/* WaC6DisallowByGfxPause*/ /* WaC6DisallowByGfxPause*/
if (IS_SKL_REVID(dev, 0, SKL_REVID_C0) ||
IS_BXT_REVID(dev, 0, BXT_REVID_B0))
I915_WRITE(GEN6_GFXPAUSE, 0x30FFF); I915_WRITE(GEN6_GFXPAUSE, 0x30FFF);
if (IS_BROXTON(dev)) if (IS_BROXTON(dev))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment