Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/drm Add agp bridge data argum...
details: https://anonhg.NetBSD.org/src/rev/f5fe8ba325d3
branches: riastradh-drm2
changeset: 788216:f5fe8ba325d3
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:45:38 2013 +0000
description:
Add agp bridge data argument to drm_*_agp in local drm_fops.c.
diffstat:
sys/external/bsd/drm2/drm/drm_fops.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 24d1e9513e2f -r f5fe8ba325d3 sys/external/bsd/drm2/drm/drm_fops.c
--- a/sys/external/bsd/drm2/drm/drm_fops.c Wed Jul 24 02:45:21 2013 +0000
+++ b/sys/external/bsd/drm2/drm/drm_fops.c Wed Jul 24 02:45:38 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_fops.c,v 1.1.2.3 2013/07/24 02:43:26 riastradh Exp $ */
+/* $NetBSD: drm_fops.c,v 1.1.2.4 2013/07/24 02:45:38 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_fops.c,v 1.1.2.3 2013/07/24 02:43:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_fops.c,v 1.1.2.4 2013/07/24 02:45:38 riastradh Exp $");
#include <drm/drmP.h>
@@ -384,8 +384,8 @@
list_for_each_entry_safe(entry, next, &dev->agp->memory, head) {
if (entry->bound)
- drm_unbind_agp(entry->memory);
- drm_free_agp(entry->memory, entry->pages);
+ drm_unbind_agp(dev->agp->bridge, entry->memory);
+ drm_free_agp(dev->agp->bridge, entry->memory, entry->pages);
kfree(entry);
}
INIT_LIST_HEAD(&dev->agp->memory); /* XXX seems kludgey */
Home |
Main Index |
Thread Index |
Old Index