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 Linux uses uint64 for these parameters...



details:   https://anonhg.NetBSD.org/src/rev/7ddd2899fd69
branches:  trunk
changeset: 366437:7ddd2899fd69
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 16:15:09 2018 +0000

description:
Linux uses uint64 for these parameters now, so follow suit.

diffstat:

 sys/external/bsd/drm2/i915drm/intel_gtt.c     |  8 ++++----
 sys/external/bsd/drm2/include/drm/intel-gtt.h |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 86c5801d34cb -r 7ddd2899fd69 sys/external/bsd/drm2/i915drm/intel_gtt.c
--- a/sys/external/bsd/drm2/i915drm/intel_gtt.c Mon Aug 27 16:14:55 2018 +0000
+++ b/sys/external/bsd/drm2/i915drm/intel_gtt.c Mon Aug 27 16:15:09 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_gtt.c,v 1.9 2018/08/27 14:48:35 riastradh Exp $  */
+/*     $NetBSD: intel_gtt.c,v 1.10 2018/08/27 16:15:09 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 /* Intel GTT stubs */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_gtt.c,v 1.9 2018/08/27 14:48:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_gtt.c,v 1.10 2018/08/27 16:15:09 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/bus.h>
@@ -54,8 +54,8 @@
 } intel_gtt;
 
 void
-intel_gtt_get(size_t *va_size, size_t *stolen_size, bus_addr_t *aper_base,
-    unsigned long *aper_size)
+intel_gtt_get(uint64_t *va_size, size_t *stolen_size, bus_addr_t *aper_base,
+    uint64_t *aper_size)
 {
        struct agp_softc *const sc = agp_i810_sc;
 
diff -r 86c5801d34cb -r 7ddd2899fd69 sys/external/bsd/drm2/include/drm/intel-gtt.h
--- a/sys/external/bsd/drm2/include/drm/intel-gtt.h     Mon Aug 27 16:14:55 2018 +0000
+++ b/sys/external/bsd/drm2/include/drm/intel-gtt.h     Mon Aug 27 16:15:09 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel-gtt.h,v 1.6 2018/08/27 07:17:01 riastradh Exp $  */
+/*     $NetBSD: intel-gtt.h,v 1.7 2018/08/27 16:15:09 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -38,10 +38,10 @@
 struct pci_dev;
 struct agp_bridge_data;
 
-void   intel_gtt_get(size_t * /* GPU VA size in bytes */,
+void   intel_gtt_get(uint64_t * /* GPU VA size in bytes */,
            size_t * /* graphics stolen memory in bytes */,
            bus_addr_t * /* aperture base */,
-           unsigned long * /* aperture size in bytes */);
+           uint64_t * /* aperture size in bytes */);
 int    intel_gmch_probe(struct pci_dev *, struct pci_dev *,
            struct agp_bridge_data *);
 void   intel_gmch_remove(void);



Home | Main Index | Thread Index | Old Index