summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/drm/drmP.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index eddd188e9a8b..665176e68b48 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -228,30 +228,11 @@ int drm_err(const char *func, const char *format, ...);
228 drm_ut_debug_printk(DRM_UT_PRIME, DRM_NAME, \ 228 drm_ut_debug_printk(DRM_UT_PRIME, DRM_NAME, \
229 __func__, fmt, ##args); \ 229 __func__, fmt, ##args); \
230 } while (0) 230 } while (0)
231#define DRM_LOG(fmt, args...) \
232 do { \
233 drm_ut_debug_printk(DRM_UT_CORE, NULL, \
234 NULL, fmt, ##args); \
235 } while (0)
236#define DRM_LOG_KMS(fmt, args...) \
237 do { \
238 drm_ut_debug_printk(DRM_UT_KMS, NULL, \
239 NULL, fmt, ##args); \
240 } while (0)
241#define DRM_LOG_DRIVER(fmt, args...) \
242 do { \
243 drm_ut_debug_printk(DRM_UT_DRIVER, NULL, \
244 NULL, fmt, ##args); \
245 } while (0)
246#else 231#else
247#define DRM_DEBUG_DRIVER(fmt, args...) do { } while (0) 232#define DRM_DEBUG_DRIVER(fmt, args...) do { } while (0)
248#define DRM_DEBUG_KMS(fmt, args...) do { } while (0) 233#define DRM_DEBUG_KMS(fmt, args...) do { } while (0)
249#define DRM_DEBUG_PRIME(fmt, args...) do { } while (0) 234#define DRM_DEBUG_PRIME(fmt, args...) do { } while (0)
250#define DRM_DEBUG(fmt, arg...) do { } while (0) 235#define DRM_DEBUG(fmt, arg...) do { } while (0)
251#define DRM_LOG(fmt, arg...) do { } while (0)
252#define DRM_LOG_KMS(fmt, args...) do { } while (0)
253#define DRM_LOG_DRIVER(fmt, arg...) do { } while (0)
254
255#endif 236#endif
256 237
257/*@}*/ 238/*@}*/