mediacodec_samsung: allow to write force_empty count
Bug: 294335163 Test: android.mediapc.cts.MultiDecoderPerfTest#test4kHbd[6_video/hevc_c2.exynos.hevc.decoder.secure_true] Change-Id: I9c9dfcd8f103900b3e92e9bd8e1f350432f4b36a
This commit is contained in:
parent
7232d53128
commit
68c40b065f
@ -1 +1,2 @@
|
||||
type sysfs_mfc, sysfs_type, fs_type;
|
||||
type sysfs_force_empty, sysfs_type, fs_type;
|
||||
|
@ -1 +1,2 @@
|
||||
genfscon sysfs /devices/platform/mfc/video4linux/video u:object_r:sysfs_mfc:s0
|
||||
genfscon sysfs /kernel/vendor_mm/cma/vframe/force_empty u:object_r:sysfs_force_empty:s0
|
||||
|
@ -14,6 +14,9 @@ allow mediacodec_samsung gpu_device:chr_file rw_file_perms;
|
||||
allow mediacodec_samsung sysfs_mfc:file r_file_perms;
|
||||
allow mediacodec_samsung sysfs_mfc:dir r_dir_perms;
|
||||
|
||||
allow mediacodec_samsung sysfs_force_empty:dir r_file_perms;
|
||||
allow mediacodec_samsung sysfs_force_empty:file rw_file_perms;
|
||||
|
||||
# can use graphics allocator
|
||||
hal_client_domain(mediacodec_samsung, hal_graphics_allocator)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user