Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/drmkms drm: Include GPU scheduler in drmkms.kmod.



details:   https://anonhg.NetBSD.org/src/rev/707badf45c60
branches:  trunk
changeset: 368539:707badf45c60
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jul 17 15:35:42 2022 +0000

description:
drm: Include GPU scheduler in drmkms.kmod.

Could be split into a separate module, but whatever.

diffstat:

 sys/modules/drmkms/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 0f3c4e63942c -r 707badf45c60 sys/modules/drmkms/Makefile
--- a/sys/modules/drmkms/Makefile       Sun Jul 17 15:05:09 2022 +0000
+++ b/sys/modules/drmkms/Makefile       Sun Jul 17 15:35:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2022/07/17 15:05:09 riastradh Exp $
+# $NetBSD: Makefile,v 1.18 2022/07/17 15:35:42 riastradh Exp $
 
 .include "../Makefile.inc"
 .include "Makefile.inc"
@@ -11,6 +11,7 @@
 .PATH: ${S}/external/bsd/drm2/pci
 
 .PATH: ${S}/external/bsd/drm2/dist/drm
+.PATH: ${S}/external/bsd/drm2/dist/drm/scheduler
 
 # NetBSD additions.
 SRCS+= drm_agp_hook.c
@@ -51,6 +52,11 @@
 SRCS+= drm_lock.c
 SRCS+= drm_scatter.c
 
+# GPU scheduler
+SRCS+= sched_entity.c
+SRCS+= sched_fence.c
+SRCS+= sched_main.c
+
 # Upstream source files.
 #SRCS+=        drm_agpsupport.c
 SRCS+= drm_atomic.c



Home | Main Index | Thread Index | Old Index