From da9767db1498ab8a679edccb297fa8a8e72ca628 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Fri, 18 Oct 2024 22:40:05 +0200 Subject: [PATCH 1/6] Make modeset and fbdev default enabled This is generally required for Wayland on NVIDIA support. NVIDIA is also planing to enable this as default in the future. Signed-off-by: Peter Jung --- nvidia-drm/nvidia-drm-linux.c | 4 ++-- nvidia-drm/nvidia-drm-os-interface.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c index 78429510..83d40983 100644 --- a/nvidia-drm/nvidia-drm-linux.c +++ b/nvidia-drm/nvidia-drm-linux.c @@ -31,13 +31,13 @@ MODULE_PARM_DESC( modeset, - "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))"); + "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)"); module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400); #if defined(NV_DRM_FBDEV_AVAILABLE) MODULE_PARM_DESC( fbdev, - "Create a framebuffer device (1 = enable, 0 = disable (default)) (EXPERIMENTAL)"); + "Create a framebuffer device (1 = enable (default), 0 = disable) (EXPERIMENTAL)"); module_param_named(fbdev, nv_drm_fbdev_module_param, bool, 0400); #endif diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c index 473004b5..75fb34b6 100644 --- a/nvidia-drm/nvidia-drm-os-interface.c +++ b/nvidia-drm/nvidia-drm-os-interface.c @@ -41,8 +41,8 @@ #include #endif -bool nv_drm_modeset_module_param = false; -bool nv_drm_fbdev_module_param = false; +bool nv_drm_modeset_module_param = true; +bool nv_drm_fbdev_module_param = true; void *nv_drm_calloc(size_t nmemb, size_t size) { -- 2.47.0