<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [SNB Bisected]igt/gem_reset_stats/close-pending-fork-render causes system hang"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74100#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [SNB Bisected]igt/gem_reset_stats/close-pending-fork-render causes system hang"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74100">bug 74100</a>
from <span class="vcard"><a class="email" href="mailto:huax.lu@intel.com" title="lu hua <huax.lu@intel.com>"> <span class="fn">lu hua</span></a>
</span></b>
<pre>patching file drivers/gpu/drm/i915/intel_uncore.c
Hunk #1 FAILED at 989.
1 out of 1 hunk FAILED -- saving rejects to file
drivers/gpu/drm/i915/intel_uncore.c.rej
drivers/gpu/drm/i915/intel_uncore.c :
if (fw_engine)
dev_priv->uncore.funcs.force_wake_get(dev_priv, fw_engine);
if (IS_GEN6(dev) || IS_GEN7(dev))
dev_priv->uncore.fifo_count =
__raw_i915_read32(dev_priv, GTFIFOCTL) &
GT_FIFO_FREE_ENTRIES_MASK;
spin_unlock_irqrestore(&dev_priv->uncore.lock, irqflags);
return ret;
}
int intel_gpu_reset(struct drm_device *dev)
patch:
@@ -989,9 +989,11 @@ static int gen6_do_reset(struct drm_device *dev)
if (fw_engine)
dev_priv->uncore.funcs.force_wake_get(dev_priv, fw_engine);
- if (IS_GEN6(dev) || IS_GEN7(dev))
- WARN_ON((__raw_i915_read32(dev_priv, GTFIFOCTL) &
- GT_FIFO_FREE_ENTRIES_MASK) != 0);
+ if (IS_GEN6(dev) || IS_GEN7(dev)) {
+ if (WARN_ON((__raw_i915_read32(dev_priv, GTFIFOCTL) &
+ GT_FIFO_FREE_ENTRIES_MASK) != 0))
+ ret = -EIO;
+ }
dev_priv->uncore.fifo_count = 0;</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>