powerhint: Support early wake up DPU via DISPLAY_UPDATE_IMMINENT
This hint is set to indicate that the framework is likely to provide a new frame soon. Therefore HWC has additional time to exit power collapse. Set display_update_imminent_timeout_ms align to DPU hibernation timeout. Bug: 164411401 Test: systrace, testLayoutCacheLowHitrateFling Change-Id: Idac388ac8700ed92e9620445a5038af54683df53
This commit is contained in:
parent
3fd056fb40
commit
777a57c92a
2 changed files with 16 additions and 0 deletions
|
@ -597,6 +597,8 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=
|
|||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.display_update_imminent_timeout_ms=50
|
||||
|
||||
# force to blend in P3 mode
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.sys.sf.native_mode=2 \
|
||||
|
|
|
@ -142,6 +142,14 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "DisplayWakeup",
|
||||
"Path": "/sys/devices/platform/1c300000.drmdecon/early_wakeup",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "LimitFlashCurrent",
|
||||
"Path": "vendor.camera.max_flash_current",
|
||||
|
@ -499,6 +507,12 @@
|
|||
"Type": "EndHint",
|
||||
"Value": "DISABLE_TA_BOOST"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
"Node": "DisplayWakeup",
|
||||
"Duration": 50,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
|
||||
"Node": "LimitFlashCurrent",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue