<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GM45] GPU hang with mpv fullscreen (bisected)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103529#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GM45] GPU hang with mpv fullscreen (bisected)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103529">bug 103529</a>
from <span class="vcard"><a class="email" href="mailto:adeshk@hotmail.com" title="Adesh <adeshk@hotmail.com>"> <span class="fn">Adesh</span></a>
</span></b>
<pre>Building tag 17.2.4 with the below change fixes the problem for me.
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c
b/src/mesa/drivers/dri/i965/brw_clear.c
index 5118d96c38..2c9f7d735f 100644
--- a/src/mesa/drivers/dri/i965/brw_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_clear.c
@@ -239,7 +239,7 @@ brw_clear(struct gl_context *ctx, GLbitfield mask)
mt->stencil_mt->r8stencil_needs_update = true;
}
- if (mask & BUFFER_BITS_COLOR) {
+ if (brw->gen >= 6 && (mask & BUFFER_BITS_COLOR)) {
brw_blorp_clear_color(brw, fb, mask, partial_clear,
ctx->Color.sRGBEnabled);
debug_mask("blorp color", mask & BUFFER_BITS_COLOR);</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 the assignee for the bug.</li>
</ul>
</body>
</html>