common: Allow power HAL to write gpu_min_clock
Change-Id: If682c7d4073671b911d5f0cd1be9cd9cf1ecfe3b
diff --git a/common/vendor/genfs_contexts b/common/vendor/genfs_contexts
index ac29e72..b3dd28f 100644
--- a/common/vendor/genfs_contexts
+++ b/common/vendor/genfs_contexts
@@ -55,6 +55,7 @@
genfscon sysfs /devices/virtual/timed_output/vibrator/multi_freq u:object_r:sysfs_vibrator:s0
genfscon sysfs /kernel/irq u:object_r:sysfs_irq:s0
+genfscon sysfs /kernel/gpu/gpu_min_clock u:object_r:sysfs_gpu:s0
genfscon sysfs /module/dhd/parameters u:object_r:sysfs_wifi_writable:s0
diff --git a/common/vendor/hal_power_default.te b/common/vendor/hal_power_default.te
index cd4df7d..74d70c9 100644
--- a/common/vendor/hal_power_default.te
+++ b/common/vendor/hal_power_default.te
@@ -23,3 +23,6 @@
# /sys/devices/system/cpu/cpu[0-9]/cpufreq/scaling_max_freq
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
+
+# /sys/kernel/gpu/gpu_min_freq
+allow hal_power_default sysfs_gpu:file rw_file_perms;