]> git.hungrycats.org Git - linux/commit
drm/i915: set the right gen3 flip_done mode also at resume
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 9 Sep 2012 09:54:16 +0000 (11:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:44 +0000 (10:39 -0700)
commiteb87978823e46ea55759534011f2e2c16eac2a2b
tree79e1d4224c53f185a0245a9fdb0b34c77bc8cac7
parent0dad2cd60e63c523e0968b159facabda6ce23fb8
drm/i915: set the right gen3 flip_done mode also at resume

commit 974a3b0f9f05b748fe11f1afc31efc32aa5160cb upstream.

Currently we've only frobbed this bit at irq_init time, but did
not restore it at resume time. Move it to the gen3 clock gating
function to fix this.

Notice while reading through code.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_pm.c