drm/i915/ttm: Fix memory leaks
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 15 Jun 2021 12:24:08 +0000 (14:24 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 16 Jun 2021 14:57:52 +0000 (15:57 +0100)
commitc865204e84a1a5c35e055b45971524efe4616e31
tree3973c372ff75def5e7cfbda80a4b08ba6ac19973
parent8c209f42cb3a209c366bae2956c98d8ed0514773
drm/i915/ttm: Fix memory leaks

Fix two memory leaks introduced with the ttm backend.

Fixes: 213d50927763 ("drm/i915/ttm: Introduce a TTM i915 gem object backend")
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210615122408.32347-1-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_ttm.c