diff options
| author | 2014-04-18 16:01:02 +0300 | |
|---|---|---|
| committer | 2014-05-05 09:09:05 +0200 | |
| commit | e6069ca84dfafbfdbd0d429445b5858ec5b090ac (patch) | |
| tree | 5eb3229117d2ae137b2862974de8e9bef44ddd82 /scripts/objdiff | |
| parent | drm/i915: fix unbalanced GT powersave enable / disable calls (diff) | |
drm/i915: sanitize enable_rc6 option
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 the platform we are running on. For example on VLV with
i915.enable_rc6 set to 2, RC6 won't be enabled but atm
intel_enable_rc6() would still return 2 in this case.
v2:
- simplify the platform check condition (Ville)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
