Re: [Intel-gfx] [PATCH v2 14/25] drm/i915: sanitize enable_rc6 option

2014-04-16 Thread Ville Syrjälä
On Mon, Apr 14, 2014 at 08:24:35PM +0300, Imre Deak wrote: Atm, an invalid enable_rc6 module option will be silently ignored, so emit an info message about it. Doing an early sanitization we can also reuse intel_enable_rc6() in a follow-up patch to see if RC6 is actually enabled. Currently the

Re: [Intel-gfx] [PATCH v2 14/25] drm/i915: sanitize enable_rc6 option

2014-04-16 Thread Imre Deak
On Wed, 2014-04-16 at 15:28 +0300, Ville Syrjälä wrote: On Mon, Apr 14, 2014 at 08:24:35PM +0300, Imre Deak wrote: Atm, an invalid enable_rc6 module option will be silently ignored, so emit an info message about it. Doing an early sanitization we can also reuse intel_enable_rc6() in a

[Intel-gfx] [PATCH v2 14/25] drm/i915: sanitize enable_rc6 option

2014-04-14 Thread Imre Deak
Atm, an invalid enable_rc6 module option will be silently ignored, so emit an info message about it. Doing an early sanitization we can also reuse intel_enable_rc6() in a follow-up patch to see if RC6 is actually enabled. Currently the caller would have to filter a non-zero return value based on