intel/dump_gpu: set default device_override
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 3 Oct 2019 21:55:02 +0000 (00:55 +0300)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Aug 2020 11:27:54 +0000 (11:27 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2201>

src/intel/tools/intel_dump_gpu.c

index 67f8559b9aec6b9eb71fc08106fda1552fcd6030..ba4d2b8a0846271c257d6c49f54b0d30ceb5090c 100644 (file)
@@ -58,7 +58,7 @@ static int drm_fd = -1;
 static char *output_filename = NULL;
 static FILE *output_file = NULL;
 static int verbose = 0;
-static bool device_override;
+static bool device_override = false;
 
 #define MAX_FD_COUNT 64
 #define MAX_BO_COUNT 64 * 1024