projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b83c4c
)
drm/i915: Set the access right of kernel param "i915.enable_gvt" to read-only.
author
Zhi Wang
<zhi.a.wang@intel.com>
Mon, 20 Jun 2016 12:17:02 +0000
(08:17 -0400)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 21 Jun 2016 10:45:27 +0000
(11:45 +0100)
The access right of kernel param "i915.enable_gvt" should be read-only as
it only applies during module load (and is not *runtime* writable).
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link:
http://patchwork.freedesktop.org/patch/msgid/1466425022-3709-1-git-send-email-zhi.a.wang@intel.com
drivers/gpu/drm/i915/i915_params.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/i915_params.c
b/drivers/gpu/drm/i915/i915_params.c
index 7effe68d552c9798837e6c55f35a6faf013cc651..8b13bfa47fbaaf2be040bfcd6a420ef8aaca0e1b 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_params.c
+++ b/
drivers/gpu/drm/i915/i915_params.c
@@
-224,6
+224,6
@@
module_param_named(enable_dpcd_backlight, i915.enable_dpcd_backlight, bool, 0600
MODULE_PARM_DESC(enable_dpcd_backlight,
"Enable support for DPCD backlight control (default:false)");
-module_param_named(enable_gvt, i915.enable_gvt, bool, 0
6
00);
+module_param_named(enable_gvt, i915.enable_gvt, bool, 0
4
00);
MODULE_PARM_DESC(enable_gvt,
"Enable support for Intel GVT-g graphics virtualization host support(default:false)");