BUILD_OPTION_VIVANTE_ENABLE_VG=1 is always set in
driver_build_sample.sh, so we enable it in the headers by default as
well. The reason behind this is that applications that use
gc_hal_options.h like libGAL do not use the build system to determine if
the macro has been set or not, while the driver passes them on the fly
to the compiler. This fix is required as ioctl() is broken otherwise (
the macro is used inside gcsHAL_INTERFACE and application mistakenly
think that the macro is off while the driver always builds with on).
Signed-off-by: Marius Vlad <marius-cristian.vlad@nxp.com>
#endif
#ifndef gcdENABLE_VG
-# define gcdENABLE_VG 0
+# define gcdENABLE_VG 1
#endif
#ifndef gcdVG_ONLY