gem_vmap_blits: Demote warning to note
authorBen Widawsky <benjamin.widawsky@intel.com>
Sun, 1 Sep 2013 18:47:57 +0000 (11:47 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Tue, 3 Sep 2013 22:31:14 +0000 (15:31 -0700)
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@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
tests/gem_vmap_blits.c

index c09bcfc..3e8e458 100644 (file)
@@ -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");