diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-11-17 13:41:27 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-11-17 13:41:27 +0000 |
commit | c5860d71bf91e6b7f0f13a4547d9dfe0871dbca7 (patch) | |
tree | 92a510526635ccd838ba60efc1a6c2520ac0ece0 /sys/dev/pci | |
parent | a14dbb09287bc738d193c8e2d1cb0bb2944cecab (diff) |
Distinguish between inteldrm and radeondrm.
ok jsg@, miod@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_drv.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_kms.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.c b/sys/dev/pci/drm/i915/i915_drv.c index 121c4998b52..7c63998b91d 100644 --- a/sys/dev/pci/drm/i915/i915_drv.c +++ b/sys/dev/pci/drm/i915/i915_drv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_drv.c,v 1.45 2013/11/16 16:15:36 kettenis Exp $ */ +/* $OpenBSD: i915_drv.c,v 1.46 2013/11/17 13:41:25 kettenis Exp $ */ /* * Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org> * @@ -634,7 +634,7 @@ inteldrm_wsioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) switch (cmd) { case WSDISPLAYIO_GTYPE: - *(int *)data = WSDISPLAY_TYPE_KMS; + *(int *)data = WSDISPLAY_TYPE_INTELDRM; return 0; case WSDISPLAYIO_GETPARAM: if (ws_get_param && ws_get_param(dp) == 0) diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c index 00234866937..1d26c3ad6e8 100644 --- a/sys/dev/pci/drm/radeon/radeon_kms.c +++ b/sys/dev/pci/drm/radeon/radeon_kms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radeon_kms.c,v 1.10 2013/10/21 10:36:24 miod Exp $ */ +/* $OpenBSD: radeon_kms.c,v 1.11 2013/11/17 13:41:26 kettenis Exp $ */ /* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. @@ -335,7 +335,7 @@ radeondrm_wsioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) { switch (cmd) { case WSDISPLAYIO_GTYPE: - *(int *)data = WSDISPLAY_TYPE_KMS; + *(int *)data = WSDISPLAY_TYPE_RADEONDRM; return 0; default: return -1; |