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 match the 'else' case ...



details:   https://anonhg.NetBSD.org/src/rev/2676e0a089b4
branches:  trunk
changeset: 1028253:2676e0a089b4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:56:45 2021 +0000

description:
match the 'else' case here to get vma_node


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 81f22112b8bd -r 2676e0a089b4 sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c        Sun Dec 19 09:56:36 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c        Sun Dec 19 09:56:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_ttm.c,v 1.19 2021/12/19 01:50:00 riastradh Exp $        */
+/*     $NetBSD: radeon_ttm.c,v 1.20 2021/12/19 09:56:45 riastradh Exp $        */
 
 /*
  * Copyright 2009 Jerome Glisse.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_ttm.c,v 1.19 2021/12/19 01:50:00 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_ttm.c,v 1.20 2021/12/19 09:56:45 riastradh Exp $");
 
 #include <linux/dma-mapping.h>
 #include <linux/pagemap.h>
@@ -204,7 +204,7 @@
                return -EPERM;
 #ifdef __NetBSD__
        struct drm_file *drm_file = filp->f_data;
-       return drm_vma_node_verify_access(&rbo->gem_base.vma_node, drm_file);
+       return drm_vma_node_verify_access(&rbo->tbo.base.vma_node, drm_file);
 #else
        return drm_vma_node_verify_access(&rbo->tbo.base.vma_node,
                                          filp->private_data);



Home | Main Index | Thread Index | Old Index