summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-10-24 20:42:51 +0100
committerEric Anholt <[email protected]>2014-10-28 17:15:36 -0700
commit6576dc1e9264865c59b569ecb13f2fe439620f6c (patch)
tree7e662dcb32817a04b4aad2d04f4e1aba21253343
parent6ad1c1eec104fbedd20335f0ea4afcd5dba63203 (diff)
vc4: Fix a couple missing '\n's in error output.
-rw-r--r--src/gallium/drivers/vc4/kernel/vc4_validate.c2
-rw-r--r--src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/kernel/vc4_validate.c b/src/gallium/drivers/vc4/kernel/vc4_validate.c
index 86b8fa5069a..67bc5f78737 100644
--- a/src/gallium/drivers/vc4/kernel/vc4_validate.c
+++ b/src/gallium/drivers/vc4/kernel/vc4_validate.c
@@ -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;
}
diff --git a/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c b/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
index dc958c7bf0f..56c4a1767dc 100644
--- a/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
+++ b/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
@@ -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;
}