OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce3922
)
drm/qxl: fix prime vmap
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 17 Feb 2021 12:32:09 +0000
(13:32 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 19 Feb 2021 08:13:25 +0000
(09:13 +0100)
Use the correct vmap variant. We don't have a reservation here,
so we can't use the _locked version.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link:
http://patchwork.freedesktop.org/patch/msgid/20210217123213.2199186-8-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_prime.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/qxl/qxl_prime.c
b/drivers/gpu/drm/qxl/qxl_prime.c
index
2bebe66
..
0628d1c
100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_prime.c
+++ b/
drivers/gpu/drm/qxl/qxl_prime.c
@@
-59,7
+59,7
@@
int qxl_gem_prime_vmap(struct drm_gem_object *obj, struct dma_buf_map *map)
struct qxl_bo *bo = gem_to_qxl_bo(obj);
int ret;
- ret = qxl_bo_vmap
_locked
(bo, map);
+ ret = qxl_bo_vmap(bo, map);
if (ret < 0)
return ret;
@@
-71,7
+71,7
@@
void qxl_gem_prime_vunmap(struct drm_gem_object *obj,
{
struct qxl_bo *bo = gem_to_qxl_bo(obj);
- qxl_bo_vunmap
_locked
(bo);
+ qxl_bo_vunmap(bo);
}
int qxl_gem_prime_mmap(struct drm_gem_object *obj,