drm/i915: Do forcewake reset on gen8
authorMika Kuoppala <mika.kuoppala@intel.com>
Fri, 21 Feb 2014 15:32:00 +0000 (17:32 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:30 +0000 (21:30 +0100)
commit0a089e3355d77f758e46db54a0a81d4b58a28cc3
tree3d6f89a84edcfeb9a296f0dbab560637169a1d01
parentc923facd535b97972b5bb7d3df4fcafd61a63a5e
drm/i915: Do forcewake reset on gen8

When we get control from BIOS there might be mt forcewake
bits already set. This causes us to do double mt get
without proper clear/ack sequence.

Fix this by clearing mt forcewake register on init,
like we do with older gens.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c