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/drm Use drmP.h less in our local files.



details:   https://anonhg.NetBSD.org/src/rev/d480cdd01eb1
branches:  trunk
changeset: 1028232:d480cdd01eb1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:52:59 2021 +0000

description:
Use drmP.h less in our local files.


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

diffstat:

 sys/external/bsd/drm2/drm/drm_sysfs.c |  6 +++---
 sys/external/bsd/drm2/drm/drm_vm.c    |  9 ++++++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (51 lines):

diff -r 258cdaa5b464 -r d480cdd01eb1 sys/external/bsd/drm2/drm/drm_sysfs.c
--- a/sys/external/bsd/drm2/drm/drm_sysfs.c     Sun Dec 19 09:52:50 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_sysfs.c     Sun Dec 19 09:52:59 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_sysfs.c,v 1.5 2021/12/19 00:28:20 riastradh Exp $  */
+/*     $NetBSD: drm_sysfs.c,v 1.6 2021/12/19 09:52:59 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,9 +30,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_sysfs.c,v 1.5 2021/12/19 00:28:20 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_sysfs.c,v 1.6 2021/12/19 09:52:59 riastradh Exp $");
 
-#include <drm/drmP.h>
+#include <drm/drm_sysfs.h>
 
 #include "../dist/drm/drm_internal.h"
 
diff -r 258cdaa5b464 -r d480cdd01eb1 sys/external/bsd/drm2/drm/drm_vm.c
--- a/sys/external/bsd/drm2/drm/drm_vm.c        Sun Dec 19 09:52:50 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_vm.c        Sun Dec 19 09:52:59 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_vm.c,v 1.11 2020/02/14 04:36:56 riastradh Exp $    */
+/*     $NetBSD: drm_vm.c,v 1.12 2021/12/19 09:52:59 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_vm.c,v 1.11 2020/02/14 04:36:56 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_vm.c,v 1.12 2021/12/19 09:52:59 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/conf.h>
@@ -39,7 +39,10 @@
 #include <uvm/uvm_extern.h>
 #include <uvm/uvm_device.h>
 
-#include <drm/drmP.h>
+#include <linux/capability.h>
+
+#include <drm/drm_device.h>
+#include <drm/drm_file.h>
 #include <drm/drm_legacy.h>
 
 static paddr_t drm_legacy_mmap_paddr_locked(struct drm_device *, off_t, int);



Home | Main Index | Thread Index | Old Index