Skip to contentSkip to conversation

drm/amd/display: Don't spam debug messages

PATCH In review Harry Wentland 3 participants 4 messages Apr 9, 2018 – Apr 10, 2018 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Don't spam debug messages

---
 drivers/gpu/drm/amd/display/include/logger_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/include/logger_types.h +1 -1
index 4f332e80cecc..b608a0830801 100644
@@ -32,7 +32,7 @@
 
 #define DC_LOG_ERROR(...) DRM_ERROR(__VA_ARGS__)
 #define DC_LOG_WARNING(...) DRM_WARN(__VA_ARGS__)
-#define DC_LOG_DEBUG(...) DRM_INFO(__VA_ARGS__)
+#define DC_LOG_DEBUG(...) DRM_DEBUG_KMS(__VA_ARGS__)
 #define DC_LOG_DC(...) DRM_DEBUG_KMS(__VA_ARGS__)
 #define DC_LOG_DTN(...) DRM_DEBUG_KMS(__VA_ARGS__)
 #define DC_LOG_SURFACE(...) pr_debug("[SURFACE]:"__VA_ARGS__)
Signature · 6 lines
2.15.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20180409180615.15900-1-harry.wentland-5C7GfCeVMHo@public.gmane.org

Tested-by
#2 lore raw

Works for me!

Thanks,
Tom

Quoted 11 lines · Harry Wentland
---
  drivers/gpu/drm/amd/display/include/logger_types.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/include/logger_types.h +0 -0
index 4f332e80cecc..b608a0830801 100644

drivers/gpu/drm/amd/display/include/logger_types.h line 38

Quoted 8 lines
drivers/gpu/drm/amd/display/include/logger_types.h +1 -1
@@ -32,7 +32,7 @@
 
  #define DC_LOG_ERROR(...) DRM_ERROR(__VA_ARGS__)
  #define DC_LOG_WARNING(...) DRM_WARN(__VA_ARGS__)
-#define DC_LOG_DEBUG(...) DRM_INFO(__VA_ARGS__)
+#define DC_LOG_DEBUG(...) DRM_DEBUG_KMS(__VA_ARGS__)
  #define DC_LOG_DC(...) DRM_DEBUG_KMS(__VA_ARGS__)
  #define DC_LOG_DTN(...) DRM_DEBUG_KMS(__VA_ARGS__)
  #define DC_LOG_SURFACE(...) pr_debug("[SURFACE]:"__VA_ARGS__)

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#3 lore raw
In reply to a message not in the archive

Ping

Quoted 11 lines · Harry Wentland
---
 drivers/gpu/drm/amd/display/include/logger_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/include/logger_types.h +0 -0
index 4f332e80cecc..b608a0830801 100644

drivers/gpu/drm/amd/display/include/logger_types.h line 38

Quoted 8 lines
drivers/gpu/drm/amd/display/include/logger_types.h +1 -1
@@ -32,7 +32,7 @@
 
 #define DC_LOG_ERROR(...) DRM_ERROR(__VA_ARGS__)
 #define DC_LOG_WARNING(...) DRM_WARN(__VA_ARGS__)
-#define DC_LOG_DEBUG(...) DRM_INFO(__VA_ARGS__)
+#define DC_LOG_DEBUG(...) DRM_DEBUG_KMS(__VA_ARGS__)
 #define DC_LOG_DC(...) DRM_DEBUG_KMS(__VA_ARGS__)
 #define DC_LOG_DTN(...) DRM_DEBUG_KMS(__VA_ARGS__)
 #define DC_LOG_SURFACE(...) pr_debug("[SURFACE]:"__VA_ARGS__)

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 25fa8982-9c92-b23e-d3ab-b86d463c0cd1-5C7GfCeVMHo@public.gmane.org

Reviewed-by Leo (Sunpeng) Li
#5 lore raw
Quoted 4 lines · Harry Wentland

Ping

Quoted 1 line · Harry Wentland
Quoted 10 lines
Quoted 10 lines
---
  drivers/gpu/drm/amd/display/include/logger_types.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/include/logger_types.h +0 -0
index 4f332e80cecc..b608a0830801 100644
@@ -32,7 +32,7 @@
 
Quoted 8 lines

drivers/gpu/drm/amd/display/include/logger_types.h line 38

Quoted 8 lines
drivers/gpu/drm/amd/display/include/logger_types.h +1 -1
  #define DC_LOG_ERROR(...) DRM_ERROR(__VA_ARGS__)
  #define DC_LOG_WARNING(...) DRM_WARN(__VA_ARGS__)
-#define DC_LOG_DEBUG(...) DRM_INFO(__VA_ARGS__)
+#define DC_LOG_DEBUG(...) DRM_DEBUG_KMS(__VA_ARGS__)
  #define DC_LOG_DC(...) DRM_DEBUG_KMS(__VA_ARGS__)
  #define DC_LOG_DTN(...) DRM_DEBUG_KMS(__VA_ARGS__)
  #define DC_LOG_SURFACE(...) pr_debug("[SURFACE]:"__VA_ARGS__)

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx