]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't suspend gt until after we disable irqs and display (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 23 Jul 2014 04:25:24 +0000 (14:25 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 24 Jul 2014 00:26:58 +0000 (10:26 +1000)
commit399453978a977372a0cee02883c0a0881906ba94
tree69dcdcac667335182d864f064c1cdcf013a9ca26
parent6fc402833aa45ba9508619d48ff9c2f2fea0b94e
drm/i915: don't suspend gt until after we disable irqs and display (v2)

When I moved the irq disable down to after display disable,
I didn't realise the gt suspend also required irqs off, so move it
down as well.

Fixes WARNs seen at suspend/resume time.

v2: moved the rps flush down as well.

Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_drv.c