diff options
Diffstat (limited to 'include/drm/drm_print.h')
-rw-r--r-- | include/drm/drm_print.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h index 7dbfdebec973..0968e411f562 100644 --- a/include/drm/drm_print.h +++ b/include/drm/drm_print.h @@ -179,6 +179,7 @@ static inline struct drm_printer drm_debug_printer(const char *prefix) #define DRM_UT_ATOMIC 0x10 #define DRM_UT_VBL 0x20 #define DRM_UT_STATE 0x40 +#define DRM_UT_LEASE 0x80 __printf(6, 7) void drm_dev_printk(const struct device *dev, const char *level, @@ -295,6 +296,9 @@ void drm_printk(const char *level, unsigned int category, #define DRM_DEBUG_VBL(fmt, ...) \ drm_printk(KERN_DEBUG, DRM_UT_VBL, fmt, ##__VA_ARGS__) +#define DRM_DEBUG_LEASE(fmt, ...) \ + drm_printk(KERN_DEBUG, DRM_UT_LEASE, fmt, ##__VA_ARGS__) + #define _DRM_DEV_DEFINE_DEBUG_RATELIMITED(dev, level, fmt, args...) \ ({ \ static DEFINE_RATELIMIT_STATE(_rs, \ |