diff options
author | Abdiel Janulgue <abdiel.janulgue@linux.intel.com> | 2020-03-05 20:42:58 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-06 10:05:17 +0000 |
commit | 64dc802aa5accfe36d431814ffdf15303b7f7b2b (patch) | |
tree | c7d2d6044d64bfeb15104a20b49bb9a112a9c0cd /drivers/gpu/drm/i915/i915_utils.h | |
parent | 47f8253d2b8947d79fd3196bf96c1959c0f25f20 (diff) |
drm/i915/phys: unconditionally call release_memory_region
The release method will undo what we did at creation, and so we
shouldn't care if we have pages or not. Fixes a small leak in the
mock_phys selftest.
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
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/20200305204258.216302-1-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_utils.h')
0 files changed, 0 insertions, 0 deletions