summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-04-18 17:01:02 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-05 11:09:05 +0400
commite6069ca84dfafbfdbd0d429445b5858ec5b090ac (patch)
tree5eb3229117d2ae137b2862974de8e9bef44ddd82 /drivers/gpu/drm/i915/i915_drv.c
parent14dd0ea84d5bf4c8f1529777d16e7faf48700b62 (diff)
downloadlinux-e6069ca84dfafbfdbd0d429445b5858ec5b090ac.tar.xz
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 'drivers/gpu/drm/i915/i915_drv.c')
0 files changed, 0 insertions, 0 deletions