[ALPS04034495] Latch unsignaled buffer

[Detail]
Read latch unsignaled buffer by vendor property.

[Solution]
Read latch unsignaled buffer by vendor property.

MTK-Commit-Id: 62e601385bce5a890d9d46ce81318e4d5c19e643

Change-Id: I5737f589a3d3bb48ad5a30ee2ef670de602b30c3
CR-Id: ALPS04034495
Feature: [Module]SurfaceFlinger/HWComposer
This commit is contained in:
mtk14318 2020-01-18 10:05:54 +08:00 committed by Joen Chen (陳建豪)
parent 898cb3b8d6
commit 99dcd98d32
4 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,7 @@ binder_call(hal_graphics_composer_default, mtk_hal_power)
set_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
get_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
get_prop(hal_graphics_composer_default, graphics_debug_prop)
set_prop(hal_graphics_composer_default, graphics_hwc_latch_unsignaled_prop)
# Date : WK18.03
# Purpose: Allow to access property dev/mdp_sync

View File

@ -199,6 +199,7 @@ type mtk_thermal_config_prop, property_type;
#=============allow composer set property ============================
type graphics_hwc_pid_prop, property_type;
type graphics_debug_prop, property_type;
type graphics_hwc_latch_unsignaled_prop, property_type;
#============= mtkcam property ============================
type mtkcam_prop, property_type;

View File

@ -193,6 +193,7 @@ vendor.gsm.sim.operator.default-name u:object_r:vendor_sim_system_prop:s0
vendor.thermal.manager.data u:object_r:mtk_thermal_config_prop:s0
#=============allow composer set property ============================
vendor.debug.sf.hwc_pid u:object_r:graphics_hwc_pid_prop:s0
vendor.debug.sf.latch_unsignaled u:object_r:graphics_hwc_latch_unsignaled_prop:s0
#=============allow graphics debug property ============================
vendor.debug.sf. u:object_r:graphics_debug_prop:s0

View File

@ -52,5 +52,6 @@ allow surfaceflinger proc_perfmgr:file {open read ioctl};
# Purpose: Allow to dump HWC backtrace
get_prop(surfaceflinger, graphics_hwc_pid_prop)
get_prop(surfaceflinger, graphics_debug_prop)
get_prop(surfaceflinger, graphics_hwc_latch_unsignaled_prop)
allow surfaceflinger hal_graphics_composer_default:dir search;
allow surfaceflinger hal_graphics_composer_default:lnk_file read;