drm/i915: protect HSW power well check with IS_HASWELL in redisable_vga
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 25 Nov 2013 15:15:32 +0000 (17:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Nov 2013 19:06:43 +0000 (20:06 +0100)
commitf9e711e92825d4c71791794c944dd685c63c1a59
tree58dab58e54fb0f79b0b66ada3c87cda3312d3151
parent190be112fc02f6efcf954a82bd49e2c19b3673e8
drm/i915: protect HSW power well check with IS_HASWELL in redisable_vga

This may need work if other platforms do the same thing, but in the
meantime we should avoid looking at HSW specific bits in this generic
function.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
[added IS_BROADWELL too as that needs the same handling (Imre)]
Signed-off-by: Imre Deak <imre.deak@intel.com>
[danvet: Add Imre's missing sob.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c