]> git.karo-electronics.de Git - karo-tx-linux.git/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)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Sep 2012 19:30:03 +0000 (21:30 +0200)
commit974a3b0f9f05b748fe11f1afc31efc32aa5160cb
tree67c4ad2aba294c941bfd10d68b4b2e889c041dc4
parent99d0b1db6ccd0c0e554398e8a579ff3dd4d119ee
drm/i915: set the right gen3 flip_done mode also at resume

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.

Cc: stable@vger.kernel.org (for 3.5 only)
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_pm.c