drm/i915: Set the access right of kernel param "i915.enable_gvt" to read-only.
authorZhi Wang <zhi.a.wang@intel.com>
Mon, 20 Jun 2016 12:17:02 +0000 (08:17 -0400)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Jun 2016 10:45:27 +0000 (11:45 +0100)
commit77ca04ccf0c9dc00104da8336024a6593b6305a6
tree7a679b9c1a79acaf66bd5c02990a58e361d0539b
parent2b83c4c49abc908ce2863df71067079a6ad8dd86
drm/i915: Set the access right of kernel param "i915.enable_gvt" to read-only.

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