Merge "[ALPS04382560] MDP: open mdp device fail" into alps-trunk-q0.basic
Change-Id: I32eb257de568b42ee3405d57bfeb1407addc0836 MTK-Commit-Id: 4c9bdb05011d86bf33434ada19b957201cfe69a2
This commit is contained in:
commit
bed757c9c8
@ -36,3 +36,7 @@ allowxperm appdomain proc_perfmgr:file ioctl {
|
|||||||
FPSGO_QUEUE_CONNECT
|
FPSGO_QUEUE_CONNECT
|
||||||
FPSGO_BQID
|
FPSGO_BQID
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Date : W19.4
|
||||||
|
# Purpose : Allow MDP user access mdp driver
|
||||||
|
allow appdomain mdp_device:chr_file rw_file_perms;
|
||||||
|
@ -226,6 +226,7 @@ type boot_para_block_device,dev_type;
|
|||||||
type mtk_dfrc_device, dev_type;
|
type mtk_dfrc_device, dev_type;
|
||||||
type vbmeta_block_device, dev_type;
|
type vbmeta_block_device, dev_type;
|
||||||
type alarm_device, dev_type;
|
type alarm_device, dev_type;
|
||||||
|
type mdp_device, dev_type;
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
# Sensor common Devices Start
|
# Sensor common Devices Start
|
||||||
|
@ -207,6 +207,7 @@
|
|||||||
/dev/mtk_sched(/.*)? u:object_r:mtk_sched_device:s0
|
/dev/mtk_sched(/.*)? u:object_r:mtk_sched_device:s0
|
||||||
/dev/MTK_SMI(/.*)? u:object_r:MTK_SMI_device:s0
|
/dev/MTK_SMI(/.*)? u:object_r:MTK_SMI_device:s0
|
||||||
/dev/mtk_cmdq(/.*)? u:object_r:mtk_cmdq_device:s0
|
/dev/mtk_cmdq(/.*)? u:object_r:mtk_cmdq_device:s0
|
||||||
|
/dev/mdp_device(/.*)? u:object_r:mdp_device:s0
|
||||||
/dev/mdp_sync(/.*)? u:object_r:mtk_mdp_device:s0
|
/dev/mdp_sync(/.*)? u:object_r:mtk_mdp_device:s0
|
||||||
/dev/mtk_rrc(/.*)? u:object_r:mtk_rrc_device:s0
|
/dev/mtk_rrc(/.*)? u:object_r:mtk_rrc_device:s0
|
||||||
/dev/mtk_dfrc(/.*)? u:object_r:mtk_dfrc_device:s0
|
/dev/mtk_dfrc(/.*)? u:object_r:mtk_dfrc_device:s0
|
||||||
|
@ -50,6 +50,10 @@ set_prop(hal_graphics_composer_default, graphics_hwc_latch_unsignaled_prop)
|
|||||||
#============= hal_graphics_composer_default ==============
|
#============= hal_graphics_composer_default ==============
|
||||||
allow hal_graphics_composer_default mtk_mdp_device:chr_file { read write open ioctl };
|
allow hal_graphics_composer_default mtk_mdp_device:chr_file { read write open ioctl };
|
||||||
|
|
||||||
|
allow hal_graphics_composer_default mdp_device:chr_file rw_file_perms;
|
||||||
|
|
||||||
|
allow hal_graphics_composer_default tee_device:chr_file rw_file_perms;
|
||||||
|
|
||||||
allowxperm hal_graphics_composer_default proc_ged:file ioctl {
|
allowxperm hal_graphics_composer_default proc_ged:file ioctl {
|
||||||
GED_BRIDGE_IO_LOG_BUF_GET
|
GED_BRIDGE_IO_LOG_BUF_GET
|
||||||
GED_BRIDGE_IO_GE_INFO
|
GED_BRIDGE_IO_GE_INFO
|
||||||
|
@ -81,3 +81,13 @@ GED_BRIDGE_IO_IOCTLCMD_0F
|
|||||||
GED_BRIDGE_IO_IOCTLCMD_10
|
GED_BRIDGE_IO_IOCTLCMD_10
|
||||||
GED_BRIDGE_IO_MONITOR_3D_FENCE
|
GED_BRIDGE_IO_MONITOR_3D_FENCE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Date : WK19.4
|
||||||
|
# Operation : P Migration
|
||||||
|
# Purpose: Allow to access /dev/mdp_device driver
|
||||||
|
allow surfaceflinger mdp_device:chr_file rw_file_perms;
|
||||||
|
|
||||||
|
# Date : WK19.09
|
||||||
|
# Purpose: Allow to access property dev/mdp_sync
|
||||||
|
#============= surfaceflinger ==============
|
||||||
|
allow surfaceflinger mtk_mdp_device:chr_file rw_file_perms;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user