diff options
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 45b67d9c39c1..edbdb02a7a3f 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -174,19 +174,19 @@ extern void drm_ut_debug_printk(unsigned int request_level, | |||
174 | __func__, fmt, ##args); \ | 174 | __func__, fmt, ##args); \ |
175 | } while (0) | 175 | } while (0) |
176 | 176 | ||
177 | #define DRM_DEBUG_DRIVER(prefix, fmt, args...) \ | 177 | #define DRM_DEBUG_DRIVER(fmt, args...) \ |
178 | do { \ | 178 | do { \ |
179 | drm_ut_debug_printk(DRM_UT_DRIVER, prefix, \ | 179 | drm_ut_debug_printk(DRM_UT_DRIVER, DRM_NAME, \ |
180 | __func__, fmt, ##args); \ | 180 | __func__, fmt, ##args); \ |
181 | } while (0) | 181 | } while (0) |
182 | #define DRM_DEBUG_KMS(prefix, fmt, args...) \ | 182 | #define DRM_DEBUG_KMS(fmt, args...) \ |
183 | do { \ | 183 | do { \ |
184 | drm_ut_debug_printk(DRM_UT_KMS, prefix, \ | 184 | drm_ut_debug_printk(DRM_UT_KMS, DRM_NAME, \ |
185 | __func__, fmt, ##args); \ | 185 | __func__, fmt, ##args); \ |
186 | } while (0) | 186 | } while (0) |
187 | #define DRM_DEBUG_MODE(prefix, fmt, args...) \ | 187 | #define DRM_DEBUG_MODE(fmt, args...) \ |
188 | do { \ | 188 | do { \ |
189 | drm_ut_debug_printk(DRM_UT_MODE, prefix, \ | 189 | drm_ut_debug_printk(DRM_UT_MODE, DRM_NAME, \ |
190 | __func__, fmt, ##args); \ | 190 | __func__, fmt, ##args); \ |
191 | } while (0) | 191 | } while (0) |
192 | #define DRM_LOG(fmt, args...) \ | 192 | #define DRM_LOG(fmt, args...) \ |
@@ -210,9 +210,9 @@ extern void drm_ut_debug_printk(unsigned int request_level, | |||
210 | NULL, fmt, ##args); \ | 210 | NULL, fmt, ##args); \ |
211 | } while (0) | 211 | } while (0) |
212 | #else | 212 | #else |
213 | #define DRM_DEBUG_DRIVER(prefix, fmt, args...) do { } while (0) | 213 | #define DRM_DEBUG_DRIVER(fmt, args...) do { } while (0) |
214 | #define DRM_DEBUG_KMS(prefix, fmt, args...) do { } while (0) | 214 | #define DRM_DEBUG_KMS(fmt, args...) do { } while (0) |
215 | #define DRM_DEBUG_MODE(prefix, fmt, args...) do { } while (0) | 215 | #define DRM_DEBUG_MODE(fmt, args...) do { } while (0) |
216 | #define DRM_DEBUG(fmt, arg...) do { } while (0) | 216 | #define DRM_DEBUG(fmt, arg...) do { } while (0) |
217 | #define DRM_LOG(fmt, arg...) do { } while (0) | 217 | #define DRM_LOG(fmt, arg...) do { } while (0) |
218 | #define DRM_LOG_KMS(fmt, args...) do { } while (0) | 218 | #define DRM_LOG_KMS(fmt, args...) do { } while (0) |