]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix power domain HW state cleanup on error path
authorImre Deak <imre.deak@intel.com>
Wed, 16 Mar 2016 11:39:07 +0000 (13:39 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Mar 2016 13:22:08 +0000 (15:22 +0200)
commitc55d5049e5afae96835d82a9f2a0551468daecdd
treeb477686a06885de48a0d0ca11fbca17b7cd685c3
parent6f48538b19e69ffdd9983e04f7612bc175a54881
drm/i915: Fix power domain HW state cleanup on error path

Move the cleanup of the power domain HW state on the error path to the
same function where the corresponding init call was called from. I
noticed this problem when loading the module with load failure injection
enabled, making i915_load_modeset_init() fail.

CC: Chris Wilson <chris@chris-wilson.co.uk>
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-19-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c