From 314a88d69ab0cea2b8715e3f7c0bbdd840e02a2d Mon Sep 17 00:00:00 2001 From: mtk16965 Date: Sat, 18 Jan 2020 10:13:49 +0800 Subject: [PATCH] [ALPS04421300] HIDL refining [Detail] fix some error of HIDL MTK-Commit-Id: c4b3c65a31fa7e181cd67064123a338e958ad066 Change-Id: Ic512b22308d788267c2e0049cc119b8ec506ed91 CR-Id: ALPS04421300 Feature: OpenGL|ES --- non_plat/attributes | 6 +----- non_plat/mtk_hal_gpu.te | 1 + plat_public/attributes | 10 ++++++++++ 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 plat_public/attributes diff --git a/non_plat/attributes b/non_plat/attributes index d326d7f..e1de43c 100644 --- a/non_plat/attributes +++ b/non_plat/attributes @@ -71,9 +71,5 @@ attribute hal_atci; attribute hal_atci_client; attribute hal_atci_server; -# Date: 2019/04/19 -# GPU HIDL -attribute hal_gpu; -attribute hal_gpu_client; -attribute hal_gpu_server; + diff --git a/non_plat/mtk_hal_gpu.te b/non_plat/mtk_hal_gpu.te index 1522584..4c41a9d 100644 --- a/non_plat/mtk_hal_gpu.te +++ b/non_plat/mtk_hal_gpu.te @@ -71,4 +71,5 @@ allowxperm mtk_hal_gpu proc_ged:file ioctl { GED_BRIDGE_IO_GPU_TUNER_STATUS }; +allow mtk_hal_gpu merged_hal_service:fd use; diff --git a/plat_public/attributes b/plat_public/attributes new file mode 100644 index 0000000..1082e19 --- /dev/null +++ b/plat_public/attributes @@ -0,0 +1,10 @@ +# ============================================== +# MTK Attribute declarations +# ============================================== + +# Date: 2019/05/27 +# GPU HIDL +attribute hal_gpu; +attribute hal_gpu_client; +attribute hal_gpu_server; +