drm/i915: manage opregion asle driver readiness properly
authorJani Nikula <jani.nikula@intel.com>
Mon, 29 Apr 2013 10:02:51 +0000 (13:02 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 30 Apr 2013 08:36:39 +0000 (10:36 +0200)
commit68bca4b0c5553c0137d13df37f18a4b059d6e795
treeb599c17b393cfd9694394821c0a6818b2d627f2c
parentf599cc2917a1beb1a619d70e3ee7b9bc4dc17bb9
drm/i915: manage opregion asle driver readiness properly

Only set ASLE driver readiness (ARDY) and technology enabled indicator
(TCHE) once per opregion init. There should be no need to do that at irq
postinstall time. Also clear driver readiness at fini.

While at it, add defines for driver readiness.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c