display: update sysfs early_wake

Allow HWC to modfiy display early_wakeup.

Bug: 207615889
Test: check node attribute
Test: early wakeup works
Change-Id: I29d4cb8c867071f49a882920692dd013dc0b601f
This commit is contained in:
Midas Chien 2021-11-24 21:12:39 +08:00 committed by TreeHugger Robot
parent 43584efad2
commit 11c6bdb6f9
4 changed files with 33 additions and 1 deletions

View file

@ -535,6 +535,10 @@ on fs
chown system system /sys/class/dqe/atc/threshold_3
chown system system /sys/class/dqe/atc/gain_limit
chown system system /sys/class/dqe/atc/lt_calc_ab_shift
chown system system /sys/devices/platform/1c240000.drmdecon/early_wakeup
chmod 0220 /sys/devices/platform/1c240000.drmdecon/early_wakeup
chown system system /sys/devices/platform/1c242000.drmdecon/early_wakeup
chmod 0220 /sys/devices/platform/1c242000.drmdecon/early_wakeup
# Copy DRM Key
# copy /system/app/wv.keys /factory/wv.keys

View file

@ -223,7 +223,7 @@
},
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c300000.drmdecon/early_wakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
"Values": [
"1",
"0"

View file

@ -84,6 +84,14 @@
],
"ResetOnInit": true
},
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
"Values": [
"1",
"0"
]
},
{
"Name": "PowerHALRenderingState",
"Path": "vendor.powerhal.rendering",
@ -365,6 +373,12 @@
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Type": "EndHint",
"Value": "DISABLE_TA_BOOST"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "DisplayWakeup",
"Duration": 50,
"Value": "1"
}
]
}

View file

@ -104,6 +104,14 @@
],
"ResetOnInit": true
},
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
"Values": [
"1",
"0"
]
},
{
"Name": "LimitFlashCurrent",
"Path": "vendor.camera.max_flash_current",
@ -402,6 +410,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",