intel_extreme: tracing cleanup; no functional change
This commit is contained in:
@@ -216,8 +216,6 @@ DisplayPipe::_Enable(bool enable)
|
||||
|
||||
addr_t targetRegister = fPlaneBase + INTEL_PIPE_CONTROL;
|
||||
|
||||
TRACE("%s: @ %" B_PRIxADDR "\n", __func__, targetRegister);
|
||||
|
||||
write32(targetRegister, (read32(targetRegister) & ~INTEL_PIPE_ENABLED)
|
||||
| (enable ? INTEL_PIPE_ENABLED : 0));
|
||||
read32(targetRegister);
|
||||
|
||||
@@ -16,14 +16,17 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#undef TRACE
|
||||
#define TRACE_FITTER
|
||||
#ifdef TRACE_FITTER
|
||||
extern "C" void _sPrintf(const char* format, ...);
|
||||
# define TRACE(x) _sPrintf x
|
||||
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||
#else
|
||||
# define TRACE(x) ;
|
||||
# define TRACE(x...)
|
||||
#endif
|
||||
|
||||
#define ERROR(x...) _sPrintf("intel_extreme: " x)
|
||||
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||
|
||||
|
||||
// #pragma mark - PanelFitter
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#undef TRACE
|
||||
#define TRACE_PORTS
|
||||
#ifdef TRACE_PORTS
|
||||
# define TRACE(x...) _sPrintf("intel_extreme:" x)
|
||||
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||
#else
|
||||
# define TRACE(x...)
|
||||
#endif
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#undef TRACE
|
||||
#define TRACE_ACCELERANT
|
||||
#ifdef TRACE_ACCELERANT
|
||||
# define TRACE(x...) _sPrintf("intel_extreme:" x)
|
||||
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||
#else
|
||||
# define TRACE(x...)
|
||||
#endif
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
#undef TRACE
|
||||
//#define TRACE_DPMS
|
||||
#ifdef TRACE_DPMS
|
||||
# define TRACE(x...) _sPrintf("intel_extreme accelerant:" x)
|
||||
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||
#else
|
||||
# define TRACE(x...)
|
||||
#endif
|
||||
|
||||
#define ERROR(x...) _sPrintf("intel_extreme accelerant: " x)
|
||||
#define ERROR(x...) _sPrintf("intel_extreme: " x)
|
||||
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||
|
||||
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
#undef TRACE
|
||||
//#define TRACE_ENGINE
|
||||
#ifdef TRACE_ENGINE
|
||||
# define TRACE(x...) _sPrintf("intel_extreme accelerant:" x)
|
||||
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||
#else
|
||||
# define TRACE(x...)
|
||||
#endif
|
||||
|
||||
#define ERROR(x...) _sPrintf("intel_extreme accelerant: " x)
|
||||
#define ERROR(x...) _sPrintf("intel_extreme: " x)
|
||||
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#undef TRACE
|
||||
#define TRACE_MODE
|
||||
#ifdef TRACE_MODE
|
||||
# define TRACE(x...) _sPrintf("intel_extreme:" x)
|
||||
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||
#else
|
||||
# define TRACE(x...)
|
||||
#endif
|
||||
|
||||
@@ -25,12 +25,12 @@
|
||||
#undef TRACE
|
||||
//#define TRACE_OVERLAY
|
||||
#ifdef TRACE_OVERLAY
|
||||
# define TRACE(x...) _sPrintf("intel_extreme accelerant:" x)
|
||||
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||
#else
|
||||
# define TRACE(x...)
|
||||
#endif
|
||||
|
||||
#define ERROR(x...) _sPrintf("intel_extreme accelerant: " x)
|
||||
#define ERROR(x...) _sPrintf("intel_extreme: " x)
|
||||
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||
|
||||
|
||||
|
||||
@@ -29,12 +29,12 @@
|
||||
#undef TRACE
|
||||
#define TRACE_MODE
|
||||
#ifdef TRACE_MODE
|
||||
# define TRACE(x...) _sPrintf("intel_extreme accelerant:" x)
|
||||
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||
#else
|
||||
# define TRACE(x...)
|
||||
#endif
|
||||
|
||||
#define ERROR(x...) _sPrintf("intel_extreme accelerant: " x)
|
||||
#define ERROR(x...) _sPrintf("intel_extreme: " x)
|
||||
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user