diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-09-06 23:17:47 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-09-06 23:17:47 +0000 |
commit | feb54388c3e057d7e3358cc3049a7b1dbf877518 (patch) | |
tree | a03e96f23359ec42ffe2f40432c98ff4b963859f | |
parent | 79c4fd7f670202da70e07f57eee2ddcd74859f1c (diff) | |
parent | afbc2293eb633e0dbfac32d8e4ef712fc6aa94b8 (diff) | |
download | zuma-feb54388c3e057d7e3358cc3049a7b1dbf877518.tar.gz |
Snap for 10770143 from afbc2293eb633e0dbfac32d8e4ef712fc6aa94b8 to udc-qpr1-release
Change-Id: Id3866bee767c877c7174d42ba5302cdb483e0464
-rw-r--r-- | libhwc2.1/libresource/ExynosResourceManagerModule.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libhwc2.1/libresource/ExynosResourceManagerModule.cpp b/libhwc2.1/libresource/ExynosResourceManagerModule.cpp index afb5efd..c2befbd 100644 --- a/libhwc2.1/libresource/ExynosResourceManagerModule.cpp +++ b/libhwc2.1/libresource/ExynosResourceManagerModule.cpp @@ -574,13 +574,15 @@ int32_t ExynosResourceManagerModule::otfMppReordering(ExynosDisplay *display, std::sort(otfMPPs.begin(), otfMPPs.end(), orderPolicy); - String8 after; - for (uint32_t i = 0; i < otfMPPs.size(); i++) { - ExynosMPPModule *mpp = (ExynosMPPModule *)otfMPPs[i]; - after.appendFormat("%s) ->", mpp->mName.string()); - } + if (hwcCheckDebugMessages(eDebugLoadBalancing)) { + String8 after; + for (uint32_t i = 0; i < otfMPPs.size(); i++) { + ExynosMPPModule *mpp = (ExynosMPPModule *)otfMPPs[i]; + after.appendFormat("(%s) -> ", mpp->mName.string()); + } - HDEBUGLOGD(eDebugLoadBalancing, "%s %p, %s", __func__, src.bufferHandle, after.string()); + ALOGD("%s %p, %s", __func__, src.bufferHandle, after.string()); + } return 0; } |