diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2020-11-19 09:39:19 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2020-11-19 09:39:19 +0800 |
commit | b0f660cdae53c460c26c517b080d81f657844bc1 (patch) | |
tree | 4353b86fb3a36de8fdd9547cfde0ea88cd91ac75 /sepolicy | |
parent | 20d4d646da5c6a15ec71fb89cb762f215bb9868b (diff) | |
download | hikey-b0f660cdae53c460c26c517b080d81f657844bc1.tar.gz |
hikey960: Set sepolicy for vulkan lib
to fix the physical device not found problem.
Test: cts -m CtsDeqpTestCases --module-arg CtsDeqpTestCases:include-filter:dEQP-VK.*
cts -m CtsGraphicsTestCases android.graphics.cts.VulkanFeaturesTest#testVulkanHardwareFeatures
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I396d56e5d59373b3724a031e192021735da73f25
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 350c678c..e3add29c 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -42,6 +42,7 @@ /vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0 /vendor/bin/hw/android\.hardware\.power@1\.1-service\.hikey-common u:object_r:hal_power_default_exec:s0 +/vendor/lib(64)?/hw/vulkan\.hikey960\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libRSDriverArm\.so u:object_r:same_process_hal_file:s0 /vendor/lib64/libbccArm\.so u:object_r:same_process_hal_file:s0 /vendor/lib64/libbcc\.so u:object_r:same_process_hal_file:s0 |