sm6150-common: livedisplay: Rename AntiFlicker node

Change-Id: I563b4de02ae41755d707da84bc1bbf937228b68c
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
vantoman 2022-04-20 13:30:12 +02:00 committed by donjohanliebert
parent 4adb3b01a4
commit 8470910084
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -1,8 +1,8 @@
on boot 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/anti_flicker
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/hbm chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/anti_flicker
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
service vendor.livedisplay-hal-2-1 /vendor/bin/hw/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150 service vendor.livedisplay-hal-2-1 /vendor/bin/hw/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150

View File

@ -22,7 +22,7 @@
# Display # Display
/dev/xiaomi-touch u:object_r:touchfeature_device:s0 /dev/xiaomi-touch u:object_r:touchfeature_device:s0
/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/[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/anti_flicker u:object_r:sysfs_anti_flicker:s0
/sys/devices/platform/soc/soc:qcom,dsi-display/fod_ui u:object_r:vendor_sysfs_fod:s0 /sys/devices/platform/soc/soc:qcom,dsi-display/fod_ui u:object_r:vendor_sysfs_fod:s0
/sys/devices/platform/soc/soc:qcom,dsi-display/hbm u:object_r:sysfs_hbm:s0 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm u:object_r:sysfs_hbm:s0
/sys/devices/platform/soc/soc:qcom,dsi-display/doze_mode u:object_r:sysfs_doze:s0 /sys/devices/platform/soc/soc:qcom,dsi-display/doze_mode u:object_r:sysfs_doze:s0