drm/i915: Move unload time display power domain uninit later
authorImre Deak <imre.deak@intel.com>
Wed, 16 Mar 2016 11:39:00 +0000 (13:39 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Mar 2016 13:22:06 +0000 (15:22 +0200)
commit250ad48e2e2f2aeebafd52d67768392eca5077ad
treeb1f93c002db3e204bf65d19f80b27129776c544b
parent3487b66ba13c1a7ba1185028ad0dae95e97bd4d2
drm/i915: Move unload time display power domain uninit later

Move the power domain uninitialization later so that it matches its
corresponding init order. Since we access the HW during the later
unitialization steps keep a wake reference until after the last such
step.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1458128348-15730-12-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c