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/ttm Use ttm_dma_tt_init in ttm_agp_tt_...



details:   https://anonhg.NetBSD.org/src/rev/80fab665a875
branches:  trunk
changeset: 801715:80fab665a875
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Aug 14 16:47:52 2014 +0000

description:
Use ttm_dma_tt_init in ttm_agp_tt_create so we can use ttm_bus_dma.

diffstat:

 sys/external/bsd/drm2/ttm/ttm_agp_backend.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c3d306c53f54 -r 80fab665a875 sys/external/bsd/drm2/ttm/ttm_agp_backend.c
--- a/sys/external/bsd/drm2/ttm/ttm_agp_backend.c       Thu Aug 14 16:32:11 2014 +0000
+++ b/sys/external/bsd/drm2/ttm/ttm_agp_backend.c       Thu Aug 14 16:47:52 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_agp_backend.c,v 1.1 2014/07/16 20:59:58 riastradh Exp $    */
+/*     $NetBSD: ttm_agp_backend.c,v 1.2 2014/08/14 16:47:52 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_agp_backend.c,v 1.1 2014/07/16 20:59:58 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_agp_backend.c,v 1.2 2014/08/14 16:47:52 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/kmem.h>
@@ -61,7 +61,7 @@
        ttm_agp->agp = &bridge->abd_sc;
        ttm_agp->ttm_dma.ttm.func = &ttm_agp_backend_func;
 
-       if (ttm_tt_init(&ttm_agp->ttm_dma.ttm, bdev, size, page_flags,
+       if (ttm_dma_tt_init(&ttm_agp->ttm_dma, bdev, size, page_flags,
                dummy_read_page) != 0)
                goto fail;
 



Home | Main Index | Thread Index | Old Index