nvir/gv100: enable support for tu1xx
[mesa.git] / src / gallium / drivers / panfrost / pan_blit.c
index 2d44f06227bf853fca728c5e1bac2e5712226a19..038a05b01812e2d77fee17ea9f1925dc7964dae3 100644 (file)
@@ -28,7 +28,8 @@
  */
 
 #include "pan_context.h"
-#include "util/u_format.h"
+#include "pan_util.h"
+#include "util/format/u_format.h"
 
 static void
 panfrost_blitter_save(
@@ -67,7 +68,7 @@ panfrost_u_blitter_blit(struct pipe_context *pipe,
         struct panfrost_context *ctx = pan_context(pipe);
 
         if (!util_blitter_is_blit_supported(ctx->blitter, info)) {
-                fprintf(stderr, "blit unsupported %s -> %s\n",
+                DBG("blit unsupported %s -> %s\n",
                         util_format_short_name(info->src.resource->format),
                         util_format_short_name(info->dst.resource->format));
                 return false;
@@ -92,8 +93,6 @@ panfrost_blit(struct pipe_context *pipe,
         if (panfrost_u_blitter_blit(pipe, info))
                 return;
 
-        fprintf(stderr, "Unhandled blit");
-
         return;
 }
 
@@ -106,7 +105,7 @@ void
 panfrost_blit_wallpaper(struct panfrost_context *ctx, struct pipe_box *box)
 {
         struct panfrost_batch *batch = ctx->wallpaper_batch;
-        struct pipe_blit_info binfo = { };
+        struct pipe_blit_info binfo = {0};
 
         panfrost_blitter_save(ctx, ctx->blitter_wallpaper);