[Bug,108572] Could not start gimp (probably due to opencl)
diff mbox series

Message ID bug-108572-502-pwVqaauspD@http.bugs.freedesktop.org/
State New
Headers show
Series
  • [Bug,108572] Could not start gimp (probably due to opencl)
Related show

Commit Message

bugzilla-daemon@freedesktop.org Feb. 11, 2019, 11:21 p.m. UTC
https://bugs.freedesktop.org/show_bug.cgi?id=108572

--- Comment #6 from Marco <mpiazza@gmail.com> ---
As previously said, commenting si_clear_buffer makes clinfo and opencl work
again (with mesa master from git)


ndex c6f93e7..1523919 100644
        return &sctx->b;
 fail:

Patch
diff mbox series

--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -616,9 +616,9 @@  static struct pipe_context *si_create_context(struct
pipe_screen *screen,
        if (sctx->chip_class == CIK) {
                /* Clear the NULL constant buffer, because loads should return
zeros. */
                uint32_t clear_value = 0;
-               si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0,
+               /*si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0,
                                sctx->null_const_buf.buffer->width0,
-                               &clear_value, 4, SI_COHERENCY_SHADER);
+                               &clear_value, 4, SI_COHERENCY_SHADER);*/
        }