diff options
| author | riastradh <riastradh@NetBSD.org> | 2021-12-19 12:23:58 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2021-12-19 12:23:58 +0000 |
| commit | fb7ca4744acc6820e63de67b008b16ff4e451d37 (patch) | |
| tree | 425a3729484227d37bd1ae6d08d4aaf7ae277906 /sys/external | |
| parent | 01feac8b6ab534327492bfc2fe7d4ac493b02a0a (diff) | |
radeon: Fix dma_addressing_limited call.
Diffstat (limited to 'sys/external')
| -rw-r--r-- | sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c b/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c index 26e80d9d1b8..7ad732e4452 100644 --- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c +++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c @@ -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 @@ int radeon_ttm_init(struct radeon_device *rdev) 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; |
