[ALPS04428497] mdp: MMS HIDL for pq version

add pq control for jpeg usage

MTK-Commit-Id: fa4d43a6005c174326f4bea2bdc244a03ac0fc0e

Change-Id: Ia996efb0fcca703514a39fc1a3c1eb2d72e1c1f9
CR-Id: ALPS04428497
Feature: [Module]MDP Driver
This commit is contained in:
Eve 2020-01-18 10:12:50 +08:00
parent a7f37cdfba
commit 38c772248f
4 changed files with 22 additions and 1 deletions

View File

@ -63,3 +63,8 @@ GED_BRIDGE_IO_IOCTLCMD_10
GED_BRIDGE_IO_MONITOR_3D_FENCE GED_BRIDGE_IO_MONITOR_3D_FENCE
GED_BRIDGE_IO_QUERY_INFO GED_BRIDGE_IO_QUERY_INFO
}; };
# Date: 2018/11/08
# Operation : JPEG
# Purpose : JPEG need to use PQ via MMS HIDL
allow hal_graphics_composer_default sysfs_boot_mode:file r_file_perms;

View File

@ -30,3 +30,7 @@ allow mtk_hal_mms ion_device:chr_file { read open ioctl };
allow mtk_hal_mms mtk_cmdq_device:chr_file { read open ioctl }; allow mtk_hal_mms mtk_cmdq_device:chr_file { read open ioctl };
allow mtk_hal_mms mtk_hal_pq_hwservice:hwservice_manager find; allow mtk_hal_mms mtk_hal_pq_hwservice:hwservice_manager find;
allow mtk_hal_mms proc:file r_file_perms; allow mtk_hal_mms proc:file r_file_perms;
# Purpose : Allow to use allocator for JPEG
hal_client_domain(mtk_hal_mms, hal_allocator)
allow mtk_hal_mms mtk_hal_pq:binder call;

View File

@ -102,3 +102,9 @@ get_prop(platform_app, vendor_bluetooth_prop)
get_prop(platform_app, mobile_log_prop) get_prop(platform_app, mobile_log_prop)
get_prop(platform_app, vendor_connsysfw_prop) get_prop(platform_app, vendor_connsysfw_prop)
# Date: 2018/11/08
# Operation : JPEG
# Purpose : JPEG need to use PQ via MMS HIDL
allow platform_app mtk_hal_mms_hwservice:hwservice_manager find;
allow platform_app mtk_hal_mms:binder call;

View File

@ -29,3 +29,9 @@ allow system_app mtk_thermal_config_prop:file { getattr open read };
allow system_app aee_exp_data_file:file r_file_perms; allow system_app aee_exp_data_file:file r_file_perms;
allow system_app aee_exp_data_file:dir r_dir_perms; allow system_app aee_exp_data_file:dir r_dir_perms;
allow system_app md_monitor:unix_stream_socket connectto; allow system_app md_monitor:unix_stream_socket connectto;
# Date: 2018/11/08
# Operation : JPEG
# Purpose : JPEG need to use PQ via MMS HIDL
allow system_app mtk_hal_mms_hwservice:hwservice_manager find;
allow system_app mtk_hal_mms:binder call;