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; +