summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_layers.cpp
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-12-15 02:25:16 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-12-15 02:25:16 -0800
commit45aa37cc0e6d0aabaca45b3bfa955377e20cb1e8 (patch)
treeb21ecfe84f53ca88e3174d419bbe04e4e76d3920 /sdm/libs/hwc2/hwc_layers.cpp
parente26213c1c8a66ee0a2461b13be306c729fc5574f (diff)
parentd90a6a43cc31c1dbcda05dce2b184cc444893908 (diff)
Merge "display: Enhance debug logging"
Diffstat (limited to 'sdm/libs/hwc2/hwc_layers.cpp')
-rw-r--r--sdm/libs/hwc2/hwc_layers.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/sdm/libs/hwc2/hwc_layers.cpp b/sdm/libs/hwc2/hwc_layers.cpp
index d8b16c1d..cd9ce7be 100644
--- a/sdm/libs/hwc2/hwc_layers.cpp
+++ b/sdm/libs/hwc2/hwc_layers.cpp
@@ -92,7 +92,7 @@ bool GetColorPrimary(const int32_t &dataspace, ColorPrimaries *color_primary) {
*color_primary = ColorPrimaries_BT2020;
break;
default:
- DLOGV_IF(kTagStrategy, "Unsupported Standard Request = %d", standard);
+ DLOGV_IF(kTagClient, "Unsupported Standard Request = %d", standard);
supported_csc = false;
}
return supported_csc;
@@ -121,7 +121,7 @@ bool GetTransfer(const int32_t &dataspace, GammaTransfer *gamma_transfer) {
*gamma_transfer = Transfer_Gamma2_2;
break;
default:
- DLOGV_IF(kTagStrategy, "Unsupported Transfer Request = %d", transfer);
+ DLOGV_IF(kTagClient, "Unsupported Transfer Request = %d", transfer);
supported_transfer = false;
}
return supported_transfer;
@@ -137,7 +137,7 @@ void GetRange(const int32_t &dataspace, ColorRange *color_range) {
*color_range = Range_Limited;
break;
default:
- DLOGV_IF(kTagStrategy, "Unsupported Range Request = %d", range);
+ DLOGV_IF(kTagClient, "Unsupported Range Request = %d", range);
break;
}
}
@@ -320,7 +320,7 @@ HWC2::Error HWCLayer::SetLayerColor(hwc_color_t color) {
}
layer_->solid_fill_color = GetUint32Color(color);
layer_->input_buffer.format = kFormatARGB8888;
- DLOGV_IF(kTagCompManager, "[%" PRIu64 "][%" PRIu64 "] Layer color set to %x", display_id_, id_,
+ DLOGV_IF(kTagClient, "[%" PRIu64 "][%" PRIu64 "] Layer color set to %x", display_id_, id_,
layer_->solid_fill_color);
return HWC2::Error::None;
}
@@ -375,7 +375,7 @@ HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) {
break;
default:
// unknown legacy dataspace
- DLOGW_IF(kTagQDCM, "Unsupported dataspace type %d", dataspace);
+ DLOGW_IF(kTagClient, "Unsupported dataspace type %d", dataspace);
}
}
@@ -734,6 +734,10 @@ DisplayError HWCLayer::SetMetaData(const private_handle_t *pvt_handle, Layer *la
if (getMetaData(handle, GET_PP_PARAM_INTERLACED, &interlaced) == 0) {
interlace = interlaced ? true : false;
}
+ if (interlace != layer_buffer->flags.interlace) {
+ DLOGI("Layer buffer interlaced metadata has changed. old=%d, new=%d",
+ layer_buffer->flags.interlace, interlace);
+ }
uint32_t linear_format = 0;
if (getMetaData(handle, GET_LINEAR_FORMAT, &linear_format) == 0) {