vc4_bufmgr: Remove duplicative VC definition
authorJohn Stultz <john.stultz@linaro.org>
Thu, 12 Mar 2020 21:21:50 +0000 (21:21 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Mar 2020 21:20:08 +0000 (21:20 +0000)
This is already defined in
  src/broadcom/cle/v3d_packet_helpers.h:42:9

And was causing build issues in AOSP when building with mmma

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4175>

src/gallium/drivers/vc4/vc4_bufmgr.c

index 549c4f8f43d94d81d600445e5ff7adc753b6c592..f7ac1698ee3de95811b131b05169f913d8a9b3fa 100644 (file)
 #include "vc4_context.h"
 #include "vc4_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