drm/i915: Do hw quiescing first during unload
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 2 Dec 2013 13:26:07 +0000 (11:26 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Dec 2013 11:49:18 +0000 (12:49 +0100)
commitce58c32b106efbe228b33b65f1ef6ab505fb7840
tree647d475b8db226e7796bc89959f43b8a75a8287b
parentd299cce76e001406df40c4ff712b33fccbce1222
drm/i915: Do hw quiescing first during unload

If we force the hw to idle as our first step during unload, we can abort
the unload upon failure. Later we can probe whether the hardware remain
active even after we try to shut it down.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c