Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm Don't call drm_gem_dmabuf_mma...



details:   https://anonhg.NetBSD.org/src/rev/1d6c4c6ee96a
branches:  trunk
changeset: 1028132:1d6c4c6ee96a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:56:58 2021 +0000

description:
Don't call drm_gem_dmabuf_mmap static, upstream doesn't (guessing)


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_prime.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 64ec17355e6e -r 1d6c4c6ee96a sys/external/bsd/drm2/dist/drm/drm_prime.c
--- a/sys/external/bsd/drm2/dist/drm/drm_prime.c        Sun Dec 19 01:56:50 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_prime.c        Sun Dec 19 01:56:58 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_prime.c,v 1.12 2021/12/19 01:53:39 riastradh Exp $ */
+/*     $NetBSD: drm_prime.c,v 1.13 2021/12/19 01:56:58 riastradh Exp $ */
 
 /*
  * Copyright © 2012 Red Hat
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_prime.c,v 1.12 2021/12/19 01:53:39 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_prime.c,v 1.13 2021/12/19 01:56:58 riastradh Exp $");
 
 #include <linux/export.h>
 #include <linux/dma-buf.h>
@@ -990,7 +990,7 @@
  * Returns 0 on success or a negative error code on failure.
  */
 #ifdef __NetBSD__
-static int
+int
 drm_gem_dmabuf_mmap(struct dma_buf *dma_buf, off_t *offp, size_t size,
     int prot, int *flagsp, int *advicep, struct uvm_object **uobjp,
     int *maxprotp)



Home | Main Index | Thread Index | Old Index