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 Initialize drm_device bus and dma space ...
details: https://anonhg.NetBSD.org/src/rev/12885a9cab4d
branches: trunk
changeset: 358414:12885a9cab4d
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Dec 28 14:02:08 2017 +0000
description:
Initialize drm_device bus and dma space tags
diffstat:
sys/arch/arm/nvidia/tegra_drm.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 56d785cbf458 -r 12885a9cab4d sys/arch/arm/nvidia/tegra_drm.c
--- a/sys/arch/arm/nvidia/tegra_drm.c Thu Dec 28 13:46:10 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_drm.c Thu Dec 28 14:02:08 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_drm.c,v 1.8 2017/12/26 14:54:52 jmcneill Exp $ */
+/* $NetBSD: tegra_drm.c,v 1.9 2017/12/28 14:02:08 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_drm.c,v 1.8 2017/12/26 14:54:52 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_drm.c,v 1.9 2017/12/28 14:02:08 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -199,6 +199,10 @@
return;
}
sc->sc_ddev->dev_private = sc;
+ sc->sc_ddev->bst = sc->sc_bst;
+ sc->sc_ddev->bus_dmat = sc->sc_dmat;
+ sc->sc_ddev->dmat = sc->sc_ddev->bus_dmat;
+ sc->sc_ddev->dmat_subregion_p = false;
error = -drm_dev_register(sc->sc_ddev, 0);
if (error) {
Home |
Main Index |
Thread Index |
Old Index