From: Imre Deak Date: Wed, 5 Nov 2014 18:48:42 +0000 (+0200) Subject: drm/i915: unify gen6/gen8 rps irq enable/disable X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~14^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20415c5d4ecc0075cc7f5cb3f876e3191e9433ce;p=pandora-kernel.git drm/i915: unify gen6/gen8 rps irq enable/disable The GEN6 and GEN8 versions differ only in the PM IIR and IER register addresses and that on GEN8 we need to keep the GEN8_PMINTR_REDIRECT_TO_NON_DISP PM interrupt unmasked. Abstract away these 3 things in the GEN6 versions of the helpers and use them everywhere. No functional change. Signed-off-by: Imre Deak Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed