[Intel-gfx] [PATCH 2/7] gem_vmap_blits: Demote warning to note
Ben Widawsky
benjamin.widawsky at intel.com
Sun Sep 1 21:51:21 CEST 2013
The warning that vmap isn't supported is useful, but it shouldn't get in
the way of developers (or distros) being able to use -Werror.
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
tests/gem_vmap_blits.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gem_vmap_blits.c b/tests/gem_vmap_blits.c
index c09bcfc..3e8e458 100644
--- a/tests/gem_vmap_blits.c
+++ b/tests/gem_vmap_blits.c
@@ -51,7 +51,7 @@
#include "intel_gpu_tools.h"
#if !defined(I915_PARAM_HAS_VMAP)
-#warning No vmap support in drm, skipping
+#pragma message("No vmap support in drm, skipping")
int main(int argc, char **argv)
{
fprintf(stderr, "No vmap support in drm.\n");
--
1.8.4
More information about the Intel-gfx
mailing list