drm/i915/lmem: fixup fake lmem teardown
authorMatthew Auld <matthew.auld@intel.com>
Wed, 6 Nov 2019 12:31:35 +0000 (12:31 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Nov 2019 14:34:10 +0000 (14:34 +0000)
commitcddb85dc1eca10300eb23873f6d9e84267aabd9d
tree774dd279b8e84980628de14409684ca191e02df3
parent1e460bf9eaa59047183689ac28a772147eb747c9
drm/i915/lmem: fixup fake lmem teardown

We should not be unconditionally calling release_fake_lmem_bar.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106123135.12441-1-matthew.auld@intel.com
drivers/gpu/drm/i915/intel_region_lmem.c