From: Zhi Wang <zhi.a.wang@intel.com>
To: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
intel-gfx@lists.freedesktop.org, chris@chris-wilson.co.uk
Cc: zhiyuan.lv@intel.com
Subject: Re: [PATCH] drm/i915: Set the access right of kernel param "i915.enable_gvt" to read-only.
Date: Wed, 13 Jul 2016 13:58:38 +0800 [thread overview]
Message-ID: <5785D88E.7030206@intel.com> (raw)
In-Reply-To: <1468320609.5866.5.camel@linux.intel.com>
Thanks! :P. Welcome back.
On 07/12/16 18:50, Joonas Lahtinen wrote:
> On ma, 2016-06-20 at 08:17 -0400, Zhi Wang wrote:
>> 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>
>
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
>
> Maybe also add,
>
> Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
>
>> Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
>> ---
>> drivers/gpu/drm/i915/i915_params.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c
>> index 7effe68..8b13bfa 100644
>> --- 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, 0600);
>> +module_param_named(enable_gvt, i915.enable_gvt, bool, 0400);
>> MODULE_PARM_DESC(enable_gvt,
>> "Enable support for Intel GVT-g graphics virtualization host support(default:false)");
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2016-07-13 6:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-20 12:17 [PATCH] drm/i915: Set the access right of kernel param "i915.enable_gvt" to read-only Zhi Wang
2016-06-20 12:31 ` ✓ Ro.CI.BAT: success for " Patchwork
2016-06-21 10:46 ` Chris Wilson
2016-07-12 10:50 ` [PATCH] " Joonas Lahtinen
2016-07-13 5:58 ` Zhi Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5785D88E.7030206@intel.com \
--to=zhi.a.wang@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
--cc=joonas.lahtinen@linux.intel.com \
--cc=zhiyuan.lv@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.