From: Deepak S Date: Sat, 15 Mar 2014 14:53:22 +0000 (+0530) Subject: drm/i915: Track the enabled PM interrupts in dev_priv. X-Git-Tag: v3.15-rc1~51^2~1^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6706b45a57a23a613b34793e1414991b60a09c1;p=pandora-kernel.git drm/i915: Track the enabled PM interrupts in dev_priv. 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-diff-tree failed