diff options
author | Praveen Paneri <praveen.paneri@intel.com> | 2015-06-26 13:50:45 +0530 |
---|---|---|
committer | Mihai Serban <mihai.serban@intel.com> | 2016-01-07 17:54:56 +0200 |
commit | f8e0a2dfd11c8b17bd7e6215c6a42c7bce29eb08 (patch) | |
tree | 4dac05bbae1a4e1b5c48b5d0bbc0b8e8daca0150 | |
parent | 4c1eec5b691331d512f2e279a7c8bb4640fc2e59 (diff) | |
download | minnowboard-v3.14-f8e0a2dfd11c8b17bd7e6215c6a42c7bce29eb08.tar.gz |
SQUASHME! [VPG]: drm/i915: Change permissions for i915_videostatus node
The permissions shouldn't have been granted to others and should
have been granted only to the user.
SQUASHME! - This patch should be squashed into the following existing patch:
Author: sudheer gurram <sudheer.gurram@intel.com>
Change-Id: I30a18d01f5735546c80ac5660b45c0419771ed98
MUST_REBASE [VPG]: drm/i915: Fix for the gamma curve issue
Following patch enables DPST in video playback scenarios based on a setting,
which is passed from user mode process(CoreU)
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-2284
Change-Id: I23f6e66bf186ad894df9d616e57c03bea09f3113
Signed-off-by: Praveen Paneri <praveen.paneri@intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/i915_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_sysfs.c b/drivers/gpu/drm/i915/i915_sysfs.c index e5dc5c1f4ec..6f3163db7f4 100644 --- a/drivers/gpu/drm/i915/i915_sysfs.c +++ b/drivers/gpu/drm/i915/i915_sysfs.c @@ -239,7 +239,7 @@ store_i915_videostatus(struct device *kdev, struct device_attribute *attr, return n; } -static DEVICE_ATTR(i915_videostatus, (S_IRUGO | S_IWOTH), +static DEVICE_ATTR(i915_videostatus, (S_IRUGO | S_IWUSR), show_i915_videostatus, store_i915_videostatus); static struct attribute *i915_videostatus_attrs[] = { &dev_attr_i915_videostatus.attr, |