Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia fill in bus space tag, dma tag for drm d...
details: https://anonhg.NetBSD.org/src/rev/49fad1af745e
branches: trunk
changeset: 811247:49fad1af745e
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Oct 18 14:31:33 2015 +0000
description:
fill in bus space tag, dma tag for drm device too
diffstat:
sys/arch/arm/nvidia/tegra_nouveau.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 3935d09770dd -r 49fad1af745e sys/arch/arm/nvidia/tegra_nouveau.c
--- a/sys/arch/arm/nvidia/tegra_nouveau.c Sun Oct 18 14:20:22 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_nouveau.c Sun Oct 18 14:31:33 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_nouveau.c,v 1.4 2015/10/18 14:20:22 jmcneill Exp $ */
+/* $NetBSD: tegra_nouveau.c,v 1.5 2015/10/18 14:31:33 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_nouveau.c,v 1.4 2015/10/18 14:20:22 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_nouveau.c,v 1.5 2015/10/18 14:31:33 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -138,6 +138,10 @@
aprint_error_dev(self, "couldn't allocate DRM device\n");
return;
}
+ dev->bst = bst;
+ dev->bus_dmat = sc->sc_dmat;
+ dev->dmat = dev->bus_dmat;
+ dev->dmat_subregion_p = false;
dev->platformdev = &sc->sc_platform_dev;
dev->platformdev->id = -1;
Home |
Main Index |
Thread Index |
Old Index