projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e083070
)
drm/vram_helper: call explicit mm takedown
author
Dave Airlie
<airlied@redhat.com>
Tue, 4 Aug 2020 02:56:02 +0000
(12:56 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 6 Aug 2020 02:32:03 +0000
(12:32 +1000)
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-30-airlied@gmail.com
drivers/gpu/drm/drm_gem_vram_helper.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_gem_vram_helper.c
b/drivers/gpu/drm/drm_gem_vram_helper.c
index
d7c0fdf
..
2099851
100644
(file)
--- a/
drivers/gpu/drm/drm_gem_vram_helper.c
+++ b/
drivers/gpu/drm/drm_gem_vram_helper.c
@@
-1127,6
+1127,7
@@
static int drm_vram_mm_init(struct drm_vram_mm *vmm, struct drm_device *dev,
static void drm_vram_mm_cleanup(struct drm_vram_mm *vmm)
{
+ ttm_range_man_fini(&vmm->bdev, &vmm->bdev.man[TTM_PL_VRAM]);
ttm_bo_device_release(&vmm->bdev);
}