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;
|
addr_t targetRegister = fPlaneBase + INTEL_PIPE_CONTROL;
|
||||||
|
|
||||||
TRACE("%s: @ %" B_PRIxADDR "\n", __func__, targetRegister);
|
|
||||||
|
|
||||||
write32(targetRegister, (read32(targetRegister) & ~INTEL_PIPE_ENABLED)
|
write32(targetRegister, (read32(targetRegister) & ~INTEL_PIPE_ENABLED)
|
||||||
| (enable ? INTEL_PIPE_ENABLED : 0));
|
| (enable ? INTEL_PIPE_ENABLED : 0));
|
||||||
read32(targetRegister);
|
read32(targetRegister);
|
||||||
|
|||||||
@@ -16,14 +16,17 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
|
#undef TRACE
|
||||||
#define TRACE_FITTER
|
#define TRACE_FITTER
|
||||||
#ifdef TRACE_FITTER
|
#ifdef TRACE_FITTER
|
||||||
extern "C" void _sPrintf(const char* format, ...);
|
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||||
# define TRACE(x) _sPrintf x
|
|
||||||
#else
|
#else
|
||||||
# define TRACE(x) ;
|
# define TRACE(x...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define ERROR(x...) _sPrintf("intel_extreme: " x)
|
||||||
|
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark - PanelFitter
|
// #pragma mark - PanelFitter
|
||||||
|
|
||||||
|
|||||||
@@ -14,12 +14,12 @@
|
|||||||
#undef TRACE
|
#undef TRACE
|
||||||
//#define TRACE_DPMS
|
//#define TRACE_DPMS
|
||||||
#ifdef TRACE_DPMS
|
#ifdef TRACE_DPMS
|
||||||
# define TRACE(x...) _sPrintf("intel_extreme accelerant:" x)
|
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||||
#else
|
#else
|
||||||
# define TRACE(x...)
|
# define TRACE(x...)
|
||||||
#endif
|
#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__)
|
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,12 +17,12 @@
|
|||||||
#undef TRACE
|
#undef TRACE
|
||||||
//#define TRACE_ENGINE
|
//#define TRACE_ENGINE
|
||||||
#ifdef TRACE_ENGINE
|
#ifdef TRACE_ENGINE
|
||||||
# define TRACE(x...) _sPrintf("intel_extreme accelerant:" x)
|
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||||
#else
|
#else
|
||||||
# define TRACE(x...)
|
# define TRACE(x...)
|
||||||
#endif
|
#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__)
|
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,12 +25,12 @@
|
|||||||
#undef TRACE
|
#undef TRACE
|
||||||
//#define TRACE_OVERLAY
|
//#define TRACE_OVERLAY
|
||||||
#ifdef TRACE_OVERLAY
|
#ifdef TRACE_OVERLAY
|
||||||
# define TRACE(x...) _sPrintf("intel_extreme accelerant:" x)
|
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||||
#else
|
#else
|
||||||
# define TRACE(x...)
|
# define TRACE(x...)
|
||||||
#endif
|
#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__)
|
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -29,12 +29,12 @@
|
|||||||
#undef TRACE
|
#undef TRACE
|
||||||
#define TRACE_MODE
|
#define TRACE_MODE
|
||||||
#ifdef TRACE_MODE
|
#ifdef TRACE_MODE
|
||||||
# define TRACE(x...) _sPrintf("intel_extreme accelerant:" x)
|
# define TRACE(x...) _sPrintf("intel_extreme: " x)
|
||||||
#else
|
#else
|
||||||
# define TRACE(x...)
|
# define TRACE(x...)
|
||||||
#endif
|
#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__)
|
#define CALLED(x...) TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user