Merge "hwc2: Add more tracing"
diff --git a/sdm/libs/core/fb/hw_device.cpp b/sdm/libs/core/fb/hw_device.cpp
index 8d76a09..fa79f75 100644
--- a/sdm/libs/core/fb/hw_device.cpp
+++ b/sdm/libs/core/fb/hw_device.cpp
@@ -1369,7 +1369,7 @@
std::ostringstream dst;
auto file = open(xlog_path, O_CREAT | O_DSYNC | O_RDWR, "w+");
if (file < 0) {
- DLOGE("Couldn't open file: err:%d (%s)",errno, strerror(errno));
+ DLOGE("Couldn't open file: err:%d (%s)", errno, strerror(errno));
return kErrorResources;
}
dst << "+++ MDP:XLOG +++" << std::endl;
diff --git a/sdm/libs/hwc2/hwc_layers.cpp b/sdm/libs/hwc2/hwc_layers.cpp
index 6b5d470..a45fb1f 100644
--- a/sdm/libs/hwc2/hwc_layers.cpp
+++ b/sdm/libs/hwc2/hwc_layers.cpp
@@ -582,7 +582,7 @@
}
}
- uint32_t fps = 0;
+ float fps = 0;
if (getMetaData(handle, GET_REFRESH_RATE , &fps) == 0) {
layer->frame_rate = RoundToStandardFPS(fps);
}