]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Cleanup gt powerstate from gem
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Aug 2018 22:36:29 +0000 (23:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Aug 2018 20:20:03 +0000 (21:20 +0100)
commit30b710840e4b9c9699d3d4b33fb19ad8880d4614
tree507b18fff641a06e54ff0ae2219999d8c9f36a55
parentf4e60c5cfbf217cc9faa3aeb63742860154fcfef
drm/i915: Cleanup gt powerstate from gem

Since the gt powerstate is allocated by i915_gem_init, clean it from
i915_gem_fini for symmetry and to correct the imbalance on error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180812223642.24865-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c