From a6706b45a57a23a613b34793e1414991b60a09c1 Mon Sep 17 00:00:00 2001 From: Deepak S Date: Sat, 15 Mar 2014 20:23:22 +0530 Subject: [PATCH] drm/i915: Track the enabled PM interrupts in dev_priv. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When we use different rps events for different platforms or due to wa, we might end up needing this logic in a lot of places. Instead of this let's use a variable in dev_priv to track the enabled PM interrupts. v2: Initialize pm_rps_events in intel_irq_init() (Ville). Signed-off-by: Deepak S Reviewed-by: Ville Syrjälä [danvet: Frob the commit message a bit since the English was a bit too garbled ;-) ] Signed-off-by: Daniel Vetter --- Reading git-format-patch failed