[Bug 103529] [GM45] GPU hang with mpv fullscreen (bisected)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 31 19:17:06 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103529

--- Comment #2 from Adesh <adeshk at hotmail.com> ---
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);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20171031/e09561a1/attachment.html>


More information about the intel-3d-bugs mailing list