Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 863855 Details for
Bug 908532
x11-drivers/nvidia-drivers do not provide efifb with kernel >=6.x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Redhat patch to fix nvidia drivers / efifb
0001-Redhat-s-patch-to-fix-no-efifb-on-nv-drivers.patch (text/plain), 1.31 KB, created by
Luke A. Guest
on 2023-06-15 09:37:18 UTC
(
hide
)
Description:
Redhat patch to fix nvidia drivers / efifb
Filename:
MIME Type:
Creator:
Luke A. Guest
Created:
2023-06-15 09:37:18 UTC
Size:
1.31 KB
patch
obsolete
>From 7a0265af36111cc5618019357ff7c50109bc9d12 Mon Sep 17 00:00:00 2001 >From: "Luke A. Guest" <laguest@archeia.com> >Date: Thu, 15 Jun 2023 10:25:47 +0100 >Subject: [PATCH] Redhat's patch to fix no efifb on nv drivers. > >https://github.com/NVIDIA/open-gpu-kernel-modules/issues/458 >--- > drivers/firmware/sysfb.c | 18 +++++++++++++++++- > 1 file changed, 17 insertions(+), 1 deletion(-) > >diff --git a/drivers/firmware/sysfb.c b/drivers/firmware/sysfb.c >index 3c197db42..16e4a2e90 100644 >--- a/drivers/firmware/sysfb.c >+++ b/drivers/firmware/sysfb.c >@@ -34,6 +34,22 @@ > #include <linux/screen_info.h> > #include <linux/sysfb.h> > >+static int skip_simpledrm; >+ >+static int __init simpledrm_disable(char *opt) >+{ >+ if (!opt) >+ return -EINVAL; >+ >+ get_option(&opt, &skip_simpledrm); >+ >+ if (skip_simpledrm) >+ pr_info("The simpledrm driver will not be probed\n"); >+ >+ return 0; >+} >+early_param("nvidia-drm.modeset", simpledrm_disable); >+ > static struct platform_device *pd; > static DEFINE_MUTEX(disable_lock); > static bool disabled; >@@ -85,7 +101,7 @@ static __init int sysfb_init(void) > > /* try to create a simple-framebuffer device */ > compatible = sysfb_parse_mode(si, &mode); >- if (compatible) { >+ if (compatible && !skip_simpledrm) { > pd = sysfb_create_simplefb(si, &mode); > if (!IS_ERR(pd)) > goto unlock_mutex; >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 908532
: 863855 |
863867