hwc: Reduce blank/unblank logspam

This is logged in the kernel and if there are excessive delays,
logged in the PowerManager.

Bug:8485194
Change-Id: Ia83b186ccae1fb6de59f200faf28346f84d832b6
diff --git a/libhwcomposer/hwc.cpp b/libhwcomposer/hwc.cpp
index 411057e..a81e761 100644
--- a/libhwcomposer/hwc.cpp
+++ b/libhwcomposer/hwc.cpp
@@ -39,6 +39,7 @@
 
 using namespace qhwc;
 #define VSYNC_DEBUG 0
+#define BLANK_DEBUG 0
 
 static int hwc_device_open(const struct hw_module_t* module,
                            const char* name,
@@ -258,7 +259,7 @@
 
     Locker::Autolock _l(ctx->mBlankLock);
     int ret = 0;
-    ALOGD("%s: %s display: %d", __FUNCTION__,
+    ALOGD_IF(BLANK_DEBUG, "%s: %s display: %d", __FUNCTION__,
           blank==1 ? "Blanking":"Unblanking", dpy);
     if(blank) {
         // free up all the overlay pipes in use
@@ -317,7 +318,7 @@
         return ret;
     }
 
-    ALOGD("%s: Done %s display: %d", __FUNCTION__,
+    ALOGD_IF(BLANK_DEBUG, "%s: Done %s display: %d", __FUNCTION__,
           blank==1 ? "blanking":"unblanking", dpy);
     return 0;
 }