MALI: rockchip: add "platform specific code" of rk platform
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / midgard / platform / rk / custom_log.h
index 644aff664f0debf265c536fbedf132e60f0524d6..646fe37498d0509310e004d4cf5a4f5c9a447745 100755 (executable)
@@ -63,7 +63,7 @@ extern "C" {
 #ifdef ENABLE_DEBUG_LOG
 /** Debug log. */
 #define D(fmt, args...) \
-       pr_debug("D : [File] : %s; [Line] : %d; [Func] : %s(); " fmt \
+       pr_info("D : [File] : %s; [Line] : %d; [Func] : %s(); " fmt \
                        "\n",   \
                __FILE__,       \
                __LINE__,       \
@@ -121,17 +121,17 @@ extern "C" {
 #define D_STR(p_str) \
 do { \
        if (!p_str) { \
-               D(#p_str" = NULL."); \
+               D(#p_str " = NULL."); \
        else \
-               D(#p_str" = '%s'.", p_str); \
+               D(#p_str " = '%s'.", p_str); \
 } while (0)
 
 #define E_STR(p_str) \
 do { \
        if (!p_str) \
-               E(#p_str" = NULL."); \
+               E(#p_str " = NULL."); \
        else \
-               E(#p_str" = '%s'.", p_str); \
+               E(#p_str " = '%s'.", p_str); \
 } while (0)
 
 #ifdef ENABLE_DEBUG_LOG