v3d: remove redefine of VG(x)
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 8 Jul 2020 10:11:32 +0000 (20:11 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 9 Jul 2020 02:08:19 +0000 (12:08 +1000)
Instead just depend on the one in v3d_packet_helpers.h

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5819>

src/gallium/drivers/v3d/v3d_bufmgr.c

index dd8a2e986111bde8bb262bb30c6dfd7916e9851f..48f5a54936c8dbea641d8f826d91b3fc7ad1f312 100644 (file)
 #include "v3d_context.h"
 #include "v3d_screen.h"
 
-#ifdef HAVE_VALGRIND
-#include <valgrind.h>
-#include <memcheck.h>
-#define VG(x) x
-#else
-#define VG(x)
-#endif
-
 static bool dump_stats = false;
 
 static void