mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
msm: kgsl: Fix permission in /sys/kernel/gpu/
Set read permission for sysfs nodes in /sys/kernel/gpu/ to read the value appropriately. CRs-Fixed: 2765368 Change-Id: Iba74b783c47e5a3bd0c0546cb5103f5fb705f74b Signed-off-by: Young Hwan Kwak <ykwak@codeaurora.org>
This commit is contained in:
parent
122f4cad33
commit
ccb168b233
1 changed files with 5 additions and 5 deletions
|
|
@ -1127,15 +1127,15 @@ static const struct attribute *pwrctrl_attr_list[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
static GPU_SYSFS_ATTR(gpu_model, 0200, _gpu_model_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_busy, 0200, _gpu_busy_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_model, 0444, _gpu_model_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_busy, 0444, _gpu_busy_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_min_clock, 0644, _min_clock_mhz_show,
|
||||
_min_clock_mhz_store);
|
||||
static GPU_SYSFS_ATTR(gpu_max_clock, 0644, _max_clock_mhz_show,
|
||||
_max_clock_mhz_store);
|
||||
static GPU_SYSFS_ATTR(gpu_clock, 0200, _clock_mhz_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_freq_table, 0200, _freq_table_mhz_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_tmu, 0200, _gpu_tmu_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_clock, 0444, _clock_mhz_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_freq_table, 0444, _freq_table_mhz_show, NULL);
|
||||
static GPU_SYSFS_ATTR(gpu_tmu, 0444, _gpu_tmu_show, NULL);
|
||||
|
||||
static const struct attribute *gpu_sysfs_attr_list[] = {
|
||||
&gpu_sysfs_attr_gpu_model.attr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue