for other generic KMS drivers.
ok jsg@, matthieu@
-/* $OpenBSD: util.c,v 1.69 2020/10/01 17:29:39 kettenis Exp $ */
+/* $OpenBSD: util.c,v 1.70 2024/01/19 17:51:15 kettenis Exp $ */
/* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */
/*-
{ WSDISPLAY_TYPE_INTELDRM, "inteldrm" },
{ WSDISPLAY_TYPE_RADEONDRM, "radeondrm" },
{ WSDISPLAY_TYPE_EFIFB, "efifb" },
- { WSDISPLAY_TYPE_RKDRM, "rkdrm" },
+ { WSDISPLAY_TYPE_KMS, "kms" },
{ WSDISPLAY_TYPE_ASTFB, "astfb" }
};
-/* $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>
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;
-/* $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 $ */
/*
#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 */