summaryrefslogtreecommitdiff
path: root/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
diff options
context:
space:
mode:
authorHyunKyung Kim <hk310.kim@samsung.com>2019-10-01 16:41:20 +0900
committerHyunKyung Kim <hk310.kim@samsung.com>2020-06-10 20:14:35 +0900
commit2eda2972d9e315c9d5058644a74386333e9168fc (patch)
treec0275b04c445652c36dfad9058d14e7dd743d281 /libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
parent0b04061d09d655336d0436db6b69455762953095 (diff)
libhwc2.1: Change debug log tag for attribute setting
Change-Id: I9993f93d3686509d952b0a6959e9097e3bdc23cb Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com>
Diffstat (limited to 'libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp')
-rw-r--r--libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp b/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
index 546fd5a..04ac17e 100644
--- a/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
+++ b/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
@@ -61,13 +61,13 @@ int32_t ExynosDeviceInterface::makeDPURestrictions() {
int32_t ret = 0;
struct dpp_restrictions_info *dpuInfo = &mDPUInfo.dpuInfo;
- HDEBUGLOGD(eDebugDefault, "DPP ver : %d, cnt : %d", dpuInfo->ver, dpuInfo->dpp_cnt);
+ HDEBUGLOGD(eDebugAttrSetting, "DPP ver : %d, cnt : %d", dpuInfo->ver, dpuInfo->dpp_cnt);
ExynosResourceManager *resourceManager = mExynosDevice->mResourceManager;
/* format resctriction */
for (int i = 0; i < dpuInfo->dpp_cnt; i++){
dpp_restriction r = dpuInfo->dpp_ch[i].restriction;
- HDEBUGLOGD(eDebugDefault, "id : %d, format count : %d", i, r.format_cnt);
+ HDEBUGLOGD(eDebugAttrSetting, "id : %d, format count : %d", i, r.format_cnt);
}
/* Check attribute overlap */
@@ -78,7 +78,7 @@ int32_t ExynosDeviceInterface::makeDPURestrictions() {
mDPUInfo.overlap[i] = true;
else
attrs.insert(r.attr);
- HDEBUGLOGD(eDebugDefault, "Index : %zu, overlap %d", i, mDPUInfo.overlap[i]);
+ HDEBUGLOGD(eDebugAttrSetting, "Index : %zu, overlap %d", i, mDPUInfo.overlap[i]);
}
for (int i = 0; i < dpuInfo->dpp_cnt; i++){
@@ -93,7 +93,7 @@ int32_t ExynosDeviceInterface::makeDPURestrictions() {
queried_format.format = r.format[j];
queried_format.reserved = 0;
resourceManager->makeFormatRestrictions(queried_format);
- HDEBUGLOGD(eDebugDefault, "%s : %d", getMPPStr(hwType).string(), r.format[j]);
+ HDEBUGLOGD(eDebugAttrSetting, "%s : %d", getMPPStr(hwType).string(), r.format[j]);
}
}
@@ -149,9 +149,9 @@ int32_t ExynosDeviceInterface::updateFeatureTable() {
const int attrMapCnt = sizeof(dpu_attr_map_table)/sizeof(dpu_attr_map_t);
const int dpp_cnt = dpuInfo.dpp_cnt;
- HDEBUGLOGD(eDebugDefault, "Before");
+ HDEBUGLOGD(eDebugAttrSetting, "Before");
for (uint32_t j = 0; j < featureTableCnt; j++){
- HDEBUGLOGD(eDebugDefault, "type : %d, feature : 0x%lx",
+ HDEBUGLOGD(eDebugAttrSetting, "type : %d, feature : 0x%lx",
feature_table[j].hwType,
(unsigned long)feature_table[j].attr);
}
@@ -160,7 +160,7 @@ int32_t ExynosDeviceInterface::updateFeatureTable() {
for (int i = 0; i < dpp_cnt; i++){
dpp_ch_restriction c_r = dpuInfo.dpp_ch[i];
if (mDPUInfo.overlap[i]) continue;
- HDEBUGLOGD(eDebugDefault, "DPU attr : (ch:%d), 0x%lx", i, (unsigned long)c_r.attr);
+ HDEBUGLOGD(eDebugAttrSetting, "DPU attr : (ch:%d), 0x%lx", i, (unsigned long)c_r.attr);
mpp_phycal_type_t hwType = resourceManager.getPhysicalType(i);
// feature table count
for (uint32_t j = 0; j < featureTableCnt; j++){
@@ -175,9 +175,9 @@ int32_t ExynosDeviceInterface::updateFeatureTable() {
}
}
- HDEBUGLOGD(eDebugDefault, "After");
+ HDEBUGLOGD(eDebugAttrSetting, "After");
for (uint32_t j = 0; j < featureTableCnt; j++){
- HDEBUGLOGD(eDebugDefault, "type : %d, feature : 0x%lx",
+ HDEBUGLOGD(eDebugAttrSetting, "type : %d, feature : 0x%lx",
feature_table[j].hwType,
(unsigned long)feature_table[j].attr);
}