<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/26 Arnd Bergmann <span dir="ltr"><<a href="mailto:arnd@arndb.de" target="_blank">arnd@arndb.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The EXYNOS DRM driver uses drm_vm_open_locked in its mmap() function,<br>
and it can be built as a loadable module, which currently fails.<br>
This exports the symbol from the DRM core to avoid<br>
<br>
ERROR: "drm_vm_open_locked" [drivers/gpu/drm/exynos/exynosdrm.ko] undefined!<br>
<br>
Signed-off-by: Arnd Bergmann <<a href="mailto:arnd@arndb.de">arnd@arndb.de</a>><br>
Cc: David Airlie <<a href="mailto:airlied@linux.ie">airlied@linux.ie</a>><br>
Cc: <a href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br>
Cc: Inki Dae <<a href="mailto:inki.dae@samsung.com">inki.dae@samsung.com</a>><br>
Cc: Joonyoung Shim <<a href="mailto:jy0922.shim@samsung.com">jy0922.shim@samsung.com</a>><br>
Cc: Seung-Woo Kim <<a href="mailto:sw0312.kim@samsung.com">sw0312.kim@samsung.com</a>><br>
Cc: Kyungmin Park <<a href="mailto:kyungmin.park@samsung.com">kyungmin.park@samsung.com</a>><br>
---<br>
drivers/gpu/drm/drm_vm.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c<br>
index db7bd29..1d4f7c9 100644<br>
--- a/drivers/gpu/drm/drm_vm.c<br>
+++ b/drivers/gpu/drm/drm_vm.c<br>
@@ -422,6 +422,7 @@ void drm_vm_open_locked(struct drm_device *dev,<br>
list_add(&vma_entry->head, &dev->vmalist);<br>
}<br>
}<br>
+EXPORT_SYMBOL_GPL(drm_vm_open_locked);<br>
<br></blockquote><div><br></div><div>Checked it out.<br><br></div><div>Acked-by: Inki Dae <<a href="mailto:inki.dae@samsung.com">inki.dae@samsung.com</a>><br></div><div><br></div><div>Thanks,<br>Inki Dae <br></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
static void drm_vm_open(struct vm_area_struct *vma)<br>
{<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.1.2<br>
<br>
_______________________________________________<br>
dri-devel mailing list<br>
<a href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br>
</font></span></blockquote></div><br></div></div>