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/i915drm Implement intel_gtt_chipset_fl...
details: https://anonhg.NetBSD.org/src/rev/047354bcbea3
branches: trunk
changeset: 329433:047354bcbea3
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri May 23 22:59:23 2014 +0000
description:
Implement intel_gtt_chipset_flush correctly.
diffstat:
sys/external/bsd/drm2/i915drm/intel_gtt.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 4e99539e20d9 -r 047354bcbea3 sys/external/bsd/drm2/i915drm/intel_gtt.c
--- a/sys/external/bsd/drm2/i915drm/intel_gtt.c Fri May 23 22:58:56 2014 +0000
+++ b/sys/external/bsd/drm2/i915drm/intel_gtt.c Fri May 23 22:59:23 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intel_gtt.c,v 1.2 2014/03/18 18:20:42 riastradh Exp $ */
+/* $NetBSD: intel_gtt.c,v 1.3 2014/05/23 22:59:23 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
/* Intel GTT stubs */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_gtt.c,v 1.2 2014/03/18 18:20:42 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_gtt.c,v 1.3 2014/05/23 22:59:23 riastradh Exp $");
#include <sys/types.h> /* XXX pcivar.h needs...@!&#^ */
@@ -59,9 +59,6 @@
intel_gtt_chipset_flush(void)
{
- /*
- * XXX If the Linux code is any indication, this is not
- * sufficient...but it'll probably do for now.
- */
- agp_flush_cache();
+ KASSERT(agp_i810_sc != NULL);
+ agp_i810_chipset_flush(agp_i810_sc->as_chipc);
}
Home |
Main Index |
Thread Index |
Old Index