sdm: Add layer format information in commit dump.
CRs-Fixed: 2017028
Change-Id: I82c9304a6fe88ad437ebfb692fa21d2fc188c366
diff --git a/sdm/libs/core/fb/hw_device.cpp b/sdm/libs/core/fb/hw_device.cpp
index 999265e..0630187 100644
--- a/sdm/libs/core/fb/hw_device.cpp
+++ b/sdm/libs/core/fb/hw_device.cpp
@@ -391,6 +391,8 @@
const mdp_rect &dst_rect = layer.dst_rect;
DLOGI("layer = %d, pipe_ndx = %x, z = %d, flags = %x",
i, layer.pipe_ndx, layer.z_order, layer.flags);
+ DLOGI("src_width = %d, src_height = %d, src_format = %d",
+ layer.buffer.width, layer.buffer.height, layer.buffer.format);
DLOGI("src_rect: x = %d, y = %d, w = %d, h = %d",
src_rect.x, src_rect.y, src_rect.w, src_rect.h);
DLOGI("dst_rect: x = %d, y = %d, w = %d, h = %d",