Re: [PATCH v4 21/38] drm/i915: Added a module parameter for allowing scheduler overrides

Chris Wilson
2016-01-11T22:24:08Z

On Mon, Jan 11, 2016 at 06:42:50PM +0000, John.C.Harrison@Intel.com wrote:
> From: John Harrison <John.C.Harrison@Intel.com>
>
> It can be useful to be able to disable certain features (e.g. the
> entire scheduler) via a module parameter for debugging purposes. A
> parameter has the advantage of not being a compile time switch but
> without implying that it can be changed dynamically at runtime.

> +module_param_named(scheduler_override, i915.scheduler_override, int, 0600);
> +MODULE_PARM_DESC(scheduler_override, "Scheduler override mask (0 = none, 1 = direct submission [default])");

Is this consistent with the other *enable* booleans?
-Chris

--
Chris Wilson, Intel Open Source Technology Centre