drm/i915: add opregion function to notify bios of adapter power state
authorJani Nikula <jani.nikula@intel.com>
Fri, 30 Aug 2013 16:40:31 +0000 (19:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Sep 2013 15:34:56 +0000 (17:34 +0200)
commitecbc5cf34068d22cf57bac596809a346576c38a3
tree2a139155cb319963f4241d46260b1e93de3053de
parent9c4b0a683193a646ea3b0c609a2276ae99a7cee4
drm/i915: add opregion function to notify bios of adapter power state

Notifying the bios lets it enter power saving states.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_opregion.c