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/radeon radeon: Fix dma_addres...
details: https://anonhg.NetBSD.org/src/rev/0d73bc0c238b
branches: trunk
changeset: 1028884:0d73bc0c238b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 12:23:58 2021 +0000
description:
radeon: Fix dma_addressing_limited call.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 043cf7d829ab -r 0d73bc0c238b sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c Sun Dec 19 12:23:50 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c Sun Dec 19 12:23:58 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radeon_ttm.c,v 1.22 2021/12/19 09:57:01 riastradh Exp $ */
+/* $NetBSD: radeon_ttm.c,v 1.23 2021/12/19 12:23:58 riastradh Exp $ */
/*
* Copyright 2009 Jerome Glisse.
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_ttm.c,v 1.22 2021/12/19 09:57:01 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_ttm.c,v 1.23 2021/12/19 12:23:58 riastradh Exp $");
#include <linux/dma-mapping.h>
#include <linux/pagemap.h>
@@ -988,7 +988,7 @@
rdev->ddev->anon_inode->i_mapping,
#endif
rdev->ddev->vma_offset_manager,
- dma_addressing_limited(&rdev->pdev->pd_dev));
+ dma_addressing_limited(pci_dev_dev(rdev->pdev)));
if (r) {
DRM_ERROR("failed initializing buffer object driver(%d).\n", r);
return r;
Home |
Main Index |
Thread Index |
Old Index