Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 143fce5c authored by Xiang Wang's avatar Xiang Wang
Browse files

Add GPU_LOAD_RESET hint

Bug: 284324521
Test: n/a
Change-Id: I4ef7cf5b6368f7aacf7cf83058b1afa219e6822a
parent 823f5d44
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,4 +41,5 @@ enum SessionHint {
  POWER_EFFICIENCY = 4,
  GPU_LOAD_UP = 5,
  GPU_LOAD_DOWN = 6,
  GPU_LOAD_RESET = 7,
}
+7 −0
Original line number Diff line number Diff line
@@ -65,4 +65,11 @@ enum SessionHint {
     * this hint session can reduce GPU resources and still meet the target duration.
     */
    GPU_LOAD_DOWN = 6,

    /**
     * This hint indicates an upcoming GPU workload that is completely changed and
     * unknown. It means that the hint session should reset GPU resources to a known
     * baseline to prepare for an arbitrary load, and must wake up if inactive.
     */
    GPU_LOAD_RESET = 7,
}