gallium: Add a cap to check if the driver supports fill_rectangle
[mesa.git] / src / gallium / drivers / nouveau / nv50 / nv50_surface.c
index 1e7718416ad999cd9ab3e661286433bb265d22f6..908c534b92ee669e0092d5984faa428a8498fcfd 100644 (file)
@@ -1082,7 +1082,7 @@ nv50_blit_select_fp(struct nv50_blitctx *ctx, const struct pipe_blit_info *info)
       if (!blitter->fp[targ][mode])
          blitter->fp[targ][mode] =
             nv50_blitter_make_fp(&ctx->nv50->base.pipe, mode, ptarg);
-      pipe_mutex_unlock(blitter->mutex);
+      mtx_unlock(&blitter->mutex);
    }
    ctx->fp = blitter->fp[targ][mode];
 }