etnaviv: remove superfluous \n from DBG(..) callers
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sat, 10 Mar 2018 14:56:17 +0000 (15:56 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 16 Mar 2018 10:41:27 +0000 (11:41 +0100)
The DBG(..) macro appends a \n already so there is no
need to do it twice.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_blt.c
src/gallium/drivers/etnaviv/etnaviv_rs.c
src/gallium/drivers/etnaviv/etnaviv_screen.c
src/gallium/drivers/etnaviv/etnaviv_texture_state.c

index ec3eac9b2a306d6affb2d2b2499e38c59449ddfc..5d783a4ad9cd70631d1d774005d75cf1eae9c06a 100644 (file)
@@ -556,7 +556,7 @@ etna_blit_blt(struct pipe_context *pctx, const struct pipe_blit_info *blit_info)
 void
 etna_clear_blit_blt_init(struct pipe_context *pctx)
 {
-   DBG("etnaviv: Using BLT blit engine\n");
+   DBG("etnaviv: Using BLT blit engine");
    pctx->clear = etna_clear_blt;
    pctx->blit = etna_blit_blt;
 }
index bd40cebb5375cdfa50aefeae757b7eb896f97850..b8a3b12ae49428257c1ed46bd2fcb8f1453b1fdb 100644 (file)
@@ -801,7 +801,7 @@ etna_blit_rs(struct pipe_context *pctx, const struct pipe_blit_info *blit_info)
 void
 etna_clear_blit_rs_init(struct pipe_context *pctx)
 {
-   DBG("etnaviv: Using RS blit engine\n");
+   DBG("etnaviv: Using RS blit engine");
    pctx->clear = etna_clear_rs;
    pctx->blit = etna_blit_rs;
 }
index de341c855ba5fb4238210176dacd9aaaa5c73784..6c5c00bf2d58e84e02ea24a592721a35bdc41519 100644 (file)
@@ -703,9 +703,9 @@ etna_get_specs(struct etna_screen *screen)
    else
       screen->specs.halti = -1; /* GC7000nanolite / pre-GC2000 except GC880 */
    if (screen->specs.halti >= 0)
-      DBG("etnaviv: GPU arch: HALTI%d\n", screen->specs.halti);
+      DBG("etnaviv: GPU arch: HALTI%d", screen->specs.halti);
    else
-      DBG("etnaviv: GPU arch: pre-HALTI\n");
+      DBG("etnaviv: GPU arch: pre-HALTI");
 
    screen->specs.can_supertile =
       VIV_FEATURE(screen, chipMinorFeatures0, SUPER_TILED);
@@ -821,7 +821,7 @@ etna_get_specs(struct etna_screen *screen)
 
    screen->specs.single_buffer = VIV_FEATURE(screen, chipMinorFeatures4, SINGLE_BUFFER);
    if (screen->specs.single_buffer)
-      DBG("etnaviv: Single buffer mode enabled with %d pixel pipes\n", screen->specs.pixel_pipes);
+      DBG("etnaviv: Single buffer mode enabled with %d pixel pipes", screen->specs.pixel_pipes);
 
    screen->specs.tex_astc = VIV_FEATURE(screen, chipMinorFeatures4, TEXTURE_ASTC);
 
index 0b00ad4969cbbec3266cbd3ce6c6b7a6eee6165a..faa073a71af88c481650551909b464759bbf8403 100644 (file)
@@ -319,7 +319,7 @@ void
 etna_texture_state_init(struct pipe_context *pctx)
 {
    struct etna_context *ctx = etna_context(pctx);
-   DBG("etnaviv: Using state-based texturing\n");
+   DBG("etnaviv: Using state-based texturing");
    ctx->base.create_sampler_state = etna_create_sampler_state_state;
    ctx->base.delete_sampler_state = etna_delete_sampler_state_state;
    ctx->base.create_sampler_view = etna_create_sampler_view_state;