sm6150-common: livedisplay: Renamed AntiFlicker node

Change-Id: I9951abe702730435f840bf041b8cbcf3839fae79
This commit is contained in:
Arian 2021-03-27 13:11:36 +01:00
parent 83f9791ee2
commit afb4a21c3f
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
3 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ namespace V2_0 {
namespace implementation {
static constexpr const char* kAntiFlickerStatusPath =
"/sys/devices/platform/soc/soc:qcom,dsi-display/msm_fb_ea_enable";
"/sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable";
Return<bool> AntiFlicker::isEnabled() {
std::string buf;

View File

@ -1,9 +1,9 @@
on boot
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/msm_fb_ea_enable
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/msm_fb_ea_enable
service vendor.livedisplay-hal-2-0 /vendor/bin/hw/vendor.lineage.livedisplay@2.0-service.xiaomi_sm6150
class hal

View File

@ -3,8 +3,8 @@
# Display
/sys/devices/platform/soc/[a-f0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/panel_info u:object_r:vendor_sysfs_graphics:s0
/sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable u:object_r:sysfs_anti_flicker:s0
/sys/devices/platform/soc/soc:qcom,dsi-display/hbm u:object_r:sysfs_hbm:s0
/sys/devices/platform/soc/soc:qcom,dsi-display/msm_fb_ea_enable u:object_r:sysfs_anti_flicker:s0
# Fingerprint
/dev/goodix_fp u:object_r:fingerprint_device:s0