drm/i915: cleanup opregion asle pipestat enable
authorJani Nikula <jani.nikula@intel.com>
Mon, 29 Apr 2013 10:02:54 +0000 (13:02 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 30 Apr 2013 08:40:31 +0000 (10:40 +0200)
commitf49e38dd23d28d4fceea1e84ae444b4c25fc0407
treedb7beac6db2833c18e20388e997b6ec71cb7c735
parentf898780ba020696e50c04abf2a55790df37ce384
drm/i915: cleanup opregion asle pipestat enable

Both intel_opregion_enable_asle() and intel_enable_asle() have shrunk
considerably. Merge them together into a static function in i915_irq.c,
and rename to better reflect the purpose and the related platforms.

No functional changes.

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/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_opregion.c