summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-01-30 18:10:02 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-01-30 18:10:02 +0000
commit313b1f85aeb4507f4674bc57ae15f9824ffb5a89 (patch)
treec208312853e99baa89c2b46d224bbdcfdbb04223
parentfdc86e5b01de8e5e8dd4e4e580a5ca2431dbc96a (diff)
downloadVirtualBox-svn-313b1f85aeb4507f4674bc57ae15f9824ffb5a89.tar.gz
Additions: Linux: vboxvideo: another attempt to address a backport to RHEL 8.7 from kernel 5.17 (exclude Fedora 8.99 kernel), bugref:10190.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98349 cfe28804-0f27-0410-a406-dd0f0b0b656f
-rw-r--r--src/VBox/Additions/linux/drm/vbox_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Additions/linux/drm/vbox_drv.c b/src/VBox/Additions/linux/drm/vbox_drv.c
index 426721bf407..b3f22e56e39 100644
--- a/src/VBox/Additions/linux/drm/vbox_drv.c
+++ b/src/VBox/Additions/linux/drm/vbox_drv.c
@@ -52,7 +52,7 @@
/** Detect whether kernel mode setting is OFF. */
#if defined(CONFIG_VGA_CONSOLE)
-# if RTLNX_VER_MIN(5,17,0) || RTLNX_RHEL_MIN(8,7)
+# if RTLNX_VER_MIN(5,17,0) || RTLNX_RHEL_RANGE(8,7, 8,99)
# define VBOX_VIDEO_NOMODESET() drm_firmware_drivers_only() && vbox_modeset == -1
# elif RTLNX_VER_MIN(4,7,0)
# define VBOX_VIDEO_NOMODESET() vgacon_text_force() && vbox_modeset == -1