diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_api.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_api.c b/src/gallium/winsys/drm/intel/gem/intel_be_api.c index 09d4ba4729..dd5f814da3 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_api.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_api.c @@ -2,6 +2,7 @@ #include "intel_be_api.h" #include "i915simple/i915_winsys.h" #include "identity/id_drm.h" +#include "trace/tr_drm.h" static void destroy(struct drm_api *api) { @@ -25,8 +26,12 @@ struct drm_api * drm_api_create() { #ifdef DEBUG +#if 0 return identity_drm_create(&intel_be_drm_api); #else + return trace_drm_create(&intel_be_drm_api); +#endif +#else return &intel_be_drm_api; #endif } |