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/drm drm_agp_clear got renamed to drm_a...



details:   https://anonhg.NetBSD.org/src/rev/10ef3289ac99
branches:  trunk
changeset: 1027815:10ef3289ac99
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:48:45 2021 +0000

description:
drm_agp_clear got renamed to drm_agp_legacy_clear.

diffstat:

 sys/external/bsd/drm2/drm/drm_agp_hook.c |  6 +++---
 sys/external/bsd/drm2/drm/drm_cdevsw.c   |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 2d750f06c79a -r 10ef3289ac99 sys/external/bsd/drm2/drm/drm_agp_hook.c
--- a/sys/external/bsd/drm2/drm/drm_agp_hook.c  Sun Dec 19 00:48:38 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_agp_hook.c  Sun Dec 19 00:48:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_agp_hook.c,v 1.4 2021/12/19 00:28:20 riastradh Exp $       */
+/*     $NetBSD: drm_agp_hook.c,v 1.5 2021/12/19 00:48:45 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_agp_hook.c,v 1.4 2021/12/19 00:28:20 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_agp_hook.c,v 1.5 2021/12/19 00:48:45 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/condvar.h>
@@ -165,7 +165,7 @@
 }
 
 void
-drm_agp_clear(struct drm_device *dev)
+drm_legacy_agp_clear(struct drm_device *dev)
 {
 
        if (dev->agp == NULL)
diff -r 2d750f06c79a -r 10ef3289ac99 sys/external/bsd/drm2/drm/drm_cdevsw.c
--- a/sys/external/bsd/drm2/drm/drm_cdevsw.c    Sun Dec 19 00:48:38 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_cdevsw.c    Sun Dec 19 00:48:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_cdevsw.c,v 1.18 2021/12/19 00:48:38 riastradh Exp $        */
+/*     $NetBSD: drm_cdevsw.c,v 1.19 2021/12/19 00:48:45 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_cdevsw.c,v 1.18 2021/12/19 00:48:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_cdevsw.c,v 1.19 2021/12/19 00:48:45 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -255,7 +255,7 @@
 
        mutex_lock(&dev->struct_mutex);
        if (dev->agp)
-               drm_agp_clear(dev);
+               drm_legacy_agp_clear(dev);
        drm_legacy_sg_cleanup(dev);
        drm_legacy_dma_takedown(dev);
        mutex_unlock(&dev->struct_mutex);



Home | Main Index | Thread Index | Old Index