Mesa (master): vc4: Fix a couple missing '\n's in error output.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Oct 29 00:17:10 UTC 2014
Module: Mesa
Branch: master
Commit: 6576dc1e9264865c59b569ecb13f2fe439620f6c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6576dc1e9264865c59b569ecb13f2fe439620f6c
Author: Eric Anholt <eric at anholt.net>
Date: Fri Oct 24 20:42:51 2014 +0100
vc4: Fix a couple missing '\n's in error output.
---
src/gallium/drivers/vc4/kernel/vc4_validate.c | 2 +-
src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c | 2 +-
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 86b8fa5..67bc5f7 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 dc958c7..56c4a17 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;
}
More information about the mesa-commit
mailing list