From 448ba7ac50659c2ffe5244107e6469648009647a Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Thu, 26 Sep 2024 14:50:38 +0200 Subject: [PATCH 1/5] Make modeset and fbdev default enabled --- 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 8c59b7cb..c7f4a239 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_GENERIC_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.46.2