]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Assert that we successfully downclock the GPU before suspend
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Nov 2014 11:56:33 +0000 (11:56 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Dec 2014 08:35:12 +0000 (09:35 +0100)
commit268f481aabe42c4431ccde86c48c9053f67ad620
treef56eb2a43d513ba26809ebf32f6a8114d1a72fee
parent63df1867e18b0b16b6ac8f386c3ec89025e0243e
drm/i915: Assert that we successfully downclock the GPU before suspend

Before suspending, we wait upon the outstanding GPU requests and flush
our pending idle handlers. This should downclock the GPU to its lowest
power state. Add a WARN to check that the delayed tasks were run and did
their job properly.

Suggested-by: Akash Goel <akash.goel@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c