drm/i915: factor out valleyview_pipestat_irq_handler
authorImre Deak <imre.deak@intel.com>
Tue, 4 Feb 2014 19:35:46 +0000 (21:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Feb 2014 16:04:28 +0000 (17:04 +0100)
commitc1874ed7c987664176bd00301f844e91609fe535
tree8bb1a9deb339f954180d710e8b49d19fec4f0dbb
parentb7e634cc8dcd320123199a18bae0937b40dc28b8
drm/i915: factor out valleyview_pipestat_irq_handler

This will be used by other platforms too, so factor it out.

The only functional change is the reordeing of gmbus_irq_handler() wrt.
the hotplug handling, but since it only schedules a work, it isn't an
issue.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Don't keep on using the private_t typedef.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c