summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Buckley <mattbuckley@google.com> 2022-08-16 20:07:26 +0000
committer Matt Buckley <mattbuckley@google.com> 2022-08-16 23:05:59 +0000
commita2ad1dc898f4946c86a965cb079072c001caaaf6 (patch)
treead8b86025a4babe489666c4c568a388854e93cf8
parentadd53b161e5118a9ad5db58054ec9074895a8019 (diff)
Add better comments for new adpf cpu multi-display patch
Bug: b/195990840 Test: n/a Change-Id: I65110caecce6728f159a1c7b8b9ed986b52cb9e5
-rw-r--r--services/surfaceflinger/DisplayHardware/PowerAdvisor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/surfaceflinger/DisplayHardware/PowerAdvisor.h b/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
index 859cf3d369..c4a35e0af2 100644
--- a/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
+++ b/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
@@ -251,11 +251,11 @@ private:
RingBuffer<nsecs_t, 2> mCommitStartTimes;
// Buffer of recent expected present times
RingBuffer<nsecs_t, 2> mExpectedPresentTimes;
- // Most recent present fence time, set at the end of the frame once known
+ // Most recent present fence time, provided by SF after composition engine finishes presenting
nsecs_t mLastPresentFenceTime = -1;
- // Most recent present fence time, set at the end of the frame once known
+ // Most recent composition engine present end time, returned with the present fence from SF
nsecs_t mLastSfPresentEndTime = -1;
- // Target for the entire pipeline including gpu
+ // Target duration for the entire pipeline including gpu
std::optional<nsecs_t> mTotalFrameTargetDuration;
// Updated list of display IDs
std::vector<DisplayId> mDisplayIds;