summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-01-19 17:51:16 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-01-19 17:51:16 +0000
commitf3aa73538fe3712b599fb06502431869140957b6 (patch)
tree2d6203c3936462f4ebc460601996f0878fbdf0e5 /sys
parent54d194bf40b02d4fdccde38a262771a3562827ed (diff)
Rename WSDISPLAY_TYPE_RKDRM to WSDISPLAY_TYPE_KMS such that we can use it
for other generic KMS drivers. ok jsg@, matthieu@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/rkdrm.c4
-rw-r--r--sys/dev/wscons/wsconsio.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/fdt/rkdrm.c b/sys/dev/fdt/rkdrm.c
index cac3ccb7a38..e4445706583 100644
--- a/sys/dev/fdt/rkdrm.c
+++ b/sys/dev/fdt/rkdrm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkdrm.c,v 1.19 2024/01/16 23:37:50 jsg Exp $ */
+/* $OpenBSD: rkdrm.c,v 1.20 2024/01/19 17:51:15 kettenis Exp $ */
/* $NetBSD: rk_drm.c,v 1.3 2019/12/15 01:00:58 mrg Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
@@ -266,7 +266,7 @@ rkdrm_wsioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
return ws_set_param(dp);
return -1;
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_RKDRM;
+ *(u_int *)data = WSDISPLAY_TYPE_KMS;
return 0;
case WSDISPLAYIO_GINFO:
wdf = (struct wsdisplay_fbinfo *)data;
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 574c593cf1e..332b650cff2 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.100 2023/07/02 21:44:04 bru Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.101 2024/01/19 17:51:15 kettenis Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -461,7 +461,7 @@ struct wsmouse_parameters {
#define WSDISPLAY_TYPE_INTELDRM 69 /* Intel KMS framebuffer */
#define WSDISPLAY_TYPE_RADEONDRM 70 /* ATI Radeon KMS framebuffer */
#define WSDISPLAY_TYPE_EFIFB 71 /* EFI framebuffer */
-#define WSDISPLAY_TYPE_RKDRM 72 /* Rockchip KMS framebuffer */
+#define WSDISPLAY_TYPE_KMS 72 /* Generic KMS framebuffer */
#define WSDISPLAY_TYPE_ASTFB 73 /* AST framebuffer */
#define WSDISPLAY_TYPE_VIOGPU 74 /* VirtIO GPU */