From: Imre Deak Date: Tue, 4 Mar 2014 17:23:07 +0000 (+0200) Subject: drm/i915: vlv: factor out valleyview_display_irq_install X-Git-Tag: v3.15-rc1~51^2~55^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8b79e58dc79f3f0edeb5194198a331374b11f82;p=pandora-kernel.git drm/i915: vlv: factor out valleyview_display_irq_install We'll need to disable/re-enable the display-side IRQs when turning off/on the VLV display power well. Factor out the helper functions for this. For now keep the display IRQs enabled by default, so the functionality doesn't change. This will be changed to enable/disable the IRQs on-demand when adding support for VLV power wells in an upcoming patch. v2: - take the irq spin lock for the whole enable/disable sequence as these can be called with interrupts enabled Signed-off-by: Imre Deak Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed