projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
678d419
)
amlogic: drm: mmap a dmabuf imported from another driver
36/259136/1
author
Sihyun, Park
<shwan.park@samsung.com>
Mon, 12 Apr 2021 06:38:35 +0000
(15:38 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Mon, 12 Apr 2021 06:38:35 +0000
(15:38 +0900)
Change-Id: Iff7d5c204bbffac22e528840f264f669cae21d96
Signed-off-by: Sihyun, Park <shwan.park@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/amlogic/drm/meson_gem.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/drm/meson_gem.c
b/drivers/amlogic/drm/meson_gem.c
index
fba2bb7
..
7c472e3
100644
(file)
--- a/
drivers/amlogic/drm/meson_gem.c
+++ b/
drivers/amlogic/drm/meson_gem.c
@@
-160,7
+160,7
@@
int am_meson_gem_object_mmap(
vma->vm_pgoff = 0;
if (obj->base.import_attach) {
-
DRM_ERROR("Not support import buffer from other driver.\n"
);
+
return dma_buf_mmap(obj->base.dma_buf, vma, 0
);
} else {
buffer = obj->handle->buffer;