projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89258a9
)
drm: add DRM_INFO_ONCE() to print a one-time DRM_INFO() message
author
Jani Nikula
<jani.nikula@intel.com>
Fri, 31 Jan 2014 13:49:07 +0000
(15:49 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 4 Feb 2014 20:05:40 +0000
(21:05 +0100)
Just like DRM_INFO(), but only do it once.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drmP.h
patch
|
blob
|
blame
|
history
diff --git
a/include/drm/drmP.h
b/include/drm/drmP.h
index 04086c5be930e2941f8be91cb0a47107da73ad08..04a7f31301f8fda61ab05cf42a3bea5c28431178 100644
(file)
--- a/
include/drm/drmP.h
+++ b/
include/drm/drmP.h
@@
-199,6
+199,9
@@
int drm_err(const char *func, const char *format, ...);
#define DRM_INFO(fmt, ...) \
printk(KERN_INFO "[" DRM_NAME "] " fmt, ##__VA_ARGS__)
+#define DRM_INFO_ONCE(fmt, ...) \
+ printk_once(KERN_INFO "[" DRM_NAME "] " fmt, ##__VA_ARGS__)
+
/**
* Debug output.
*