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

2014-04-23 Thread Ville Syrjälä
On Fri, Apr 18, 2014 at 04:01:02PM +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

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

2014-04-18 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