[Mesa-dev] [PATCH 17/24] targets/omx: define GALLIUM_TRACE when using the trace driver
Christian König
christian.koenig at amd.com
Fri Mar 28 02:40:30 PDT 2014
Am 27.03.2014 22:00, schrieb Emil Velikov:
> Otherwise the omx drivers are explicitly linked but never wrapped in
> order to use it.
On the other hand I'm not sure if we really need the tracer linked in
here, referencing it was just to make drm_target.c happy.
Christian.
> Cc: Christian König <christian.koenig at amd.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> src/gallium/targets/r600/omx/Makefile.am | 3 ++-
> src/gallium/targets/radeonsi/omx/Makefile.am | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/targets/r600/omx/Makefile.am b/src/gallium/targets/r600/omx/Makefile.am
> index 22ef08f..0bae51b 100644
> --- a/src/gallium/targets/r600/omx/Makefile.am
> +++ b/src/gallium/targets/r600/omx/Makefile.am
> @@ -31,7 +31,8 @@ AM_CFLAGS = \
> $(LIBDRM_CFLAGS)
> AM_CPPFLAGS = \
> -I$(top_srcdir)/src/gallium/drivers \
> - -I$(top_srcdir)/src/gallium/winsys
> + -I$(top_srcdir)/src/gallium/winsys \
> + -DGALLIUM_TRACE
>
> omxdir = $(OMX_LIB_INSTALL_DIR)
> omx_LTLIBRARIES = libomx_r600.la
> diff --git a/src/gallium/targets/radeonsi/omx/Makefile.am b/src/gallium/targets/radeonsi/omx/Makefile.am
> index 439e91c..c0e0218 100644
> --- a/src/gallium/targets/radeonsi/omx/Makefile.am
> +++ b/src/gallium/targets/radeonsi/omx/Makefile.am
> @@ -31,7 +31,8 @@ AM_CFLAGS = \
> $(LIBDRM_CFLAGS)
> AM_CPPFLAGS = \
> -I$(top_srcdir)/src/gallium/drivers \
> - -I$(top_srcdir)/src/gallium/winsys
> + -I$(top_srcdir)/src/gallium/winsys \
> + -DGALLIUM_TRACE
>
> omxdir = $(OMX_LIB_INSTALL_DIR)
> omx_LTLIBRARIES = libomx_radeonsi.la
More information about the mesa-dev
mailing list