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/include/linux Update type signatures f...



details:   https://anonhg.NetBSD.org/src/rev/16ae312b7f05
branches:  trunk
changeset: 1027969:16ae312b7f05
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:23:09 2021 +0000

description:
Update type signatures for begin/end_cpu_access.

diffstat:

 sys/external/bsd/drm2/include/linux/dma-buf.h |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r 935790443417 -r 16ae312b7f05 sys/external/bsd/drm2/include/linux/dma-buf.h
--- a/sys/external/bsd/drm2/include/linux/dma-buf.h     Sun Dec 19 01:23:01 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/dma-buf.h     Sun Dec 19 01:23:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dma-buf.h,v 1.5 2021/12/19 01:14:29 riastradh Exp $    */
+/*     $NetBSD: dma-buf.h,v 1.6 2021/12/19 01:23:09 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -65,10 +65,8 @@
        void    (*unmap_dma_buf)(struct dma_buf_attachment *,
                    struct sg_table *, enum dma_data_direction);
        void    (*release)(struct dma_buf *);
-       int     (*begin_cpu_access)(struct dma_buf *, size_t, size_t,
-                   enum dma_data_direction);
-       int     (*end_cpu_access)(struct dma_buf *, size_t, size_t,
-                   enum dma_data_direction);
+       int     (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
+       int     (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
        void *  (*map)(struct dma_buf *, unsigned long);
        void    (*unmap)(struct dma_buf *, unsigned long, void *);
        int     (*mmap)(struct dma_buf *, off_t *, size_t, int, int *,



Home | Main Index | Thread Index | Old Index