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/dist/drm/ttm Follow up with TTM API ch...
details: https://anonhg.NetBSD.org/src/rev/268c69a85e31
branches: trunk
changeset: 1028261:268c69a85e31
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:57:51 2021 +0000
description:
Follow up with TTM API changes
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6111ff0c1ad9 -r 268c69a85e31 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c Sun Dec 19 09:57:42 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c Sun Dec 19 09:57:51 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ttm_bo_util.c,v 1.23 2021/12/19 09:57:42 riastradh Exp $ */
+/* $NetBSD: ttm_bo_util.c,v 1.24 2021/12/19 09:57:51 riastradh Exp $ */
/* SPDX-License-Identifier: GPL-2.0 OR MIT */
/**************************************************************************
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_bo_util.c,v 1.23 2021/12/19 09:57:42 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_bo_util.c,v 1.24 2021/12/19 09:57:51 riastradh Exp $");
#include <drm/ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_placement.h>
@@ -568,7 +568,7 @@
INIT_LIST_HEAD(&fbo->base.io_reserve_lru);
fbo->base.moving = NULL;
#ifdef __NetBSD__
- drm_vma_node_init(&fbo->vma_node);
+ drm_vma_node_init(&fbo->base.base.vma_node);
uvm_obj_init(&fbo->base.uvmobj, bo->bdev->driver->ttm_uvm_ops, true, 1);
rw_obj_hold(bo->uvmobj.vmobjlock);
uvm_obj_setlock(&fbo->base.uvmobj, bo->uvmobj.vmobjlock);
Home |
Main Index |
Thread Index |
Old Index