diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-06-29 01:42:15 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-06-29 01:42:15 +0000 |
commit | ea040fd1ebeb27382b47051531a3c099643187a5 (patch) | |
tree | ab42b5991749afe5b5999fe784d341edb67a8812 | |
parent | 22b0b3aa4842e887b8d757a02f619bc24c4e5bc1 (diff) |
move some config lines to ensure drm.h is always created
ok deraadt@ kettenis@
-rw-r--r-- | sys/conf/files | 11 | ||||
-rw-r--r-- | sys/dev/pci/drm/files.drm | 7 |
2 files changed, 8 insertions, 10 deletions
diff --git a/sys/conf/files b/sys/conf/files index 0f3b790d3c0..8ec908f3918 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1,4 +1,4 @@ -# $OpenBSD: files,v 1.702 2021/04/16 08:17:35 stsp Exp $ +# $OpenBSD: files,v 1.703 2021/06/29 01:42:14 jsg Exp $ # $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 @@ -96,11 +96,14 @@ file dev/ic/mk48txx.c mk48txx # agp integrated graphics attaches at vga. defines are in dev/pci/files.agp define agpint {} -# DRM - Direct Rendering Manager: /dev/drm -define drmdev {} +# DRM - Direct Rendering Manager: /dev/dri/ +define drmbase {[primary = -1]} +device drm: drmbase +attach drm at drmbase +file dev/pci/drm/drm_drv.c drm needs-flag # VGA graphics -device vga: wsemuldisplaydev, pcdisplayops, drmdev, agpint +device vga: wsemuldisplaydev, pcdisplayops, agpint file dev/ic/vga.c vga & (vga_pci | vga_isa) needs-flag file dev/ic/vga_subr.c vga & (vga_pci | vga_isa) needs-flag diff --git a/sys/dev/pci/drm/files.drm b/sys/dev/pci/drm/files.drm index 28fdf6a8c12..01a0dbc94c3 100644 --- a/sys/dev/pci/drm/files.drm +++ b/sys/dev/pci/drm/files.drm @@ -1,10 +1,6 @@ # $NetBSD: files.drm,v 1.2 2007/03/28 11:29:37 jmcneill Exp $ -# $OpenBSD: files.drm,v 1.50 2020/10/25 09:43:46 kettenis Exp $ +# $OpenBSD: files.drm,v 1.51 2021/06/29 01:42:14 jsg Exp $ -# direct rendering modules -define drmbase {[primary = -1]} -device drm: drmbase -attach drm at drmbase file dev/pci/drm/dma-resv.c drm file dev/pci/drm/drm_agpsupport.c drm & agp file dev/pci/drm/drm_atomic.c drm @@ -31,7 +27,6 @@ file dev/pci/drm/drm_damage_helper.c drm file dev/pci/drm/drm_dp_dual_mode_helper.c drm file dev/pci/drm/drm_dp_helper.c drm file dev/pci/drm/drm_dp_mst_topology.c drm -file dev/pci/drm/drm_drv.c drm needs-flag file dev/pci/drm/drm_dsc.c drm file dev/pci/drm/drm_dumb_buffers.c drm file dev/pci/drm/drm_edid.c drm |