projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c3464
)
drm/ast: Unpin cursor BO during cleanup
author
Thomas Zimmermann
<tzimmermann@suse.de>
Thu, 13 Jun 2019 07:30:34 +0000
(09:30 +0200)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Thu, 13 Jun 2019 11:37:04 +0000
(13:37 +0200)
The unpin operation was missing from ast_cursor_fini(). Fixed now.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190613073041.29350-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ast/ast_mode.c
b/drivers/gpu/drm/ast/ast_mode.c
index fb700d620b64dc77b3ca62d9ebd6de518687c145..41741cd6cd1593d1f4302b21795ab452bdef6f35 100644
(file)
--- a/
drivers/gpu/drm/ast/ast_mode.c
+++ b/
drivers/gpu/drm/ast/ast_mode.c
@@
-959,6
+959,7
@@
static void ast_cursor_fini(struct drm_device *dev)
struct drm_gem_vram_object *gbo =
drm_gem_vram_of_gem(ast->cursor_cache);
drm_gem_vram_kunmap_at(gbo, &ast->cache_kmap);
+ drm_gem_vram_unpin(gbo);
drm_gem_object_put_unlocked(ast->cursor_cache);
}