projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153b642
)
drm/nouveau/core/subdev: compile out messages for unwanted debug levels
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 31 Oct 2017 17:56:19 +0000
(
03:56
+1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 2 Nov 2017 03:32:16 +0000
(13:32 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
b/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
index ca9ed3d68f44eeaa77fb4909d75747a8aa2576fb..a6c21be7537f7f5935f4482e4dd35593ff20680f 100644
(file)
--- a/
drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
+++ b/
drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
@@
-33,7
+33,7
@@
void nvkm_subdev_intr(struct nvkm_subdev *);
/* subdev logging */
#define nvkm_printk_(s,l,p,f,a...) do { \
const struct nvkm_subdev *_subdev = (s); \
- if (
_subdev->debug >= (l)) {
\
+ if (
CONFIG_NOUVEAU_DEBUG >= (l) && _subdev->debug >= (l)) {
\
dev_##p(_subdev->device->dev, "%s: "f, \
nvkm_subdev_name[_subdev->index], ##a); \
} \