vc4: Fix a couple missing '\n's in error output.
authorEric Anholt <eric@anholt.net>
Fri, 24 Oct 2014 19:42:51 +0000 (20:42 +0100)
committerEric Anholt <eric@anholt.net>
Wed, 29 Oct 2014 00:15:36 +0000 (17:15 -0700)
src/gallium/drivers/vc4/kernel/vc4_validate.c
src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c

index 86b8fa5069af802609aa70f9a03284558dc0653e..67bc5f7873788cf56bed8575c320ba79a7bc8426 100644 (file)
@@ -478,7 +478,7 @@ validate_tile_binning_config(VALIDATE_ARGS)
        }
        tile_allocation_size = *(uint32_t *)(untrusted + 4);
        if (tile_allocation_size > tile_allocation->base.size) {
-               DRM_ERROR("tile allocation size %d > BO size %d",
+               DRM_ERROR("tile allocation size %d > BO size %d\n",
                          tile_allocation_size, tile_allocation->base.size);
                return -EINVAL;
        }
index dc958c7bf0f4a6938c3ffde19e034ac4f47de466..56c4a1767dc362bf8e3becd500079eea566035f8 100644 (file)
@@ -210,7 +210,7 @@ check_instruction_reads(uint64_t inst,
            raddr_b == QPU_R_UNIF) {
                if (is_tmu_write(waddr_add) || is_tmu_write(waddr_mul)) {
                        DRM_ERROR("uniform read in the same instruction as "
-                                 "texture setup");
+                                 "texture setup\n");
                        return false;
                }