* shouldn't nouveau.ko depend on fbcon.ko?
@ 2010-08-25 13:26 Dragos Delcea
[not found] ` <AANLkTinqnf3qpSBhb6g7EtxVO3d+_BbcYfxXZJC9Ht9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Dragos Delcea @ 2010-08-25 13:26 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 534 bytes --]
Hi,
I noticed that loading nouveau doesn't load fbcon automatically; and without
fbcon, when loading nouveau the console turns blank. I spent a few good
hours until I was able to figure out that I had to manually modprobe fbcon
to get the console back after loading nouveau.
This is happening on a vanilla 2.6.35.3; shouldn't there be dependencies in
place between modules?
Note that I haven't got to the xorg part just yet, I'm currently installing
gentoo.
thanks,
Dragos
PS please include me in the reply as I'm not subscribed.
[-- Attachment #1.2: Type: text/html, Size: 675 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <AANLkTinqnf3qpSBhb6g7EtxVO3d+_BbcYfxXZJC9Ht9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: shouldn't nouveau.ko depend on fbcon.ko? [not found] ` <AANLkTinqnf3qpSBhb6g7EtxVO3d+_BbcYfxXZJC9Ht9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2010-08-25 16:15 ` Francisco Jerez [not found] ` <87sk22brd2.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Francisco Jerez @ 2010-08-25 16:15 UTC (permalink / raw) To: Dragos Delcea; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW [-- Attachment #1.1.1: Type: text/plain, Size: 1079 bytes --] Dragos Delcea <dragos.delcea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > Hi, > > I noticed that loading nouveau doesn't load fbcon automatically; and without fbcon, when loading nouveau the > console turns blank. I spent a few good hours until I was able to figure out that I had to manually modprobe > fbcon to get the console back after loading nouveau. > This is happening on a vanilla 2.6.35.3; shouldn't there be dependencies in place between modules? > > Note that I haven't got to the xorg part just yet, I'm currently installing gentoo. > We already do, except for kernels compiled with "Configure standard kernel features (for small systems)". Strictly speaking, nouveau doesn't depend on fbcon so that option is left open for e.g. embedded platforms that don't need a framebuffer console. > thanks, > Dragos > > PS please include me in the reply as I'm not subscribed. > > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau [-- Attachment #1.2: Type: application/pgp-signature, Size: 229 bytes --] [-- Attachment #2: Type: text/plain, Size: 181 bytes --] _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <87sk22brd2.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>]
* [PATCH] drm/nouveau: try to load fbcon [not found] ` <87sk22brd2.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org> @ 2010-08-25 18:18 ` Marcin Slusarz [not found] ` <20100825181813.GA6991-OI9uyE9O0yo@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Marcin Slusarz @ 2010-08-25 18:18 UTC (permalink / raw) To: Francisco Jerez; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Dragos Delcea On Wed, Aug 25, 2010 at 06:15:53PM +0200, Francisco Jerez wrote: > Dragos Delcea <dragos.delcea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > > > Hi, > > > > I noticed that loading nouveau doesn't load fbcon automatically; and without fbcon, when loading nouveau the > > console turns blank. I spent a few good hours until I was able to figure out that I had to manually modprobe > > fbcon to get the console back after loading nouveau. > > This is happening on a vanilla 2.6.35.3; shouldn't there be dependencies in place between modules? > > > > Note that I haven't got to the xorg part just yet, I'm currently installing gentoo. > > > We already do, except for kernels compiled with "Configure standard > kernel features (for small systems)". Strictly speaking, nouveau doesn't > depend on fbcon so that option is left open for e.g. embedded platforms > that don't need a framebuffer console. But it's only a build time dependency. Let's fix it. --- From: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Subject: [PATCH] drm/nouveau: try to load fbcon Currently users have to load fbcon manually or build it into the kernel to have any console output. Let's make it easy for them and load fbcon automatically at init time. Nouveau already selects fbcon at build time when !EMBEDDED. Reported-by: Dragos Delcea <dragos.delcea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Signed-off-by: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> --- drivers/gpu/drm/nouveau/nouveau_drv.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c index a8d3d17..df9a687 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.c +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c @@ -434,6 +434,12 @@ static int __init nouveau_init(void) if (!nouveau_modeset) return 0; +#if defined(CONFIG_FRAMEBUFFER_CONSOLE_MODULE) + request_module("fbcon"); +#elif !defined(CONFIG_FRAMEBUFFER_CONSOLE) + printk(KERN_INFO "CONFIG_FRAMEBUFFER_CONSOLE was not enabled. You won't get any console output.\n"); +#endif + nouveau_register_dsm_handler(); return drm_init(&driver); } -- 1.7.1.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <20100825181813.GA6991-OI9uyE9O0yo@public.gmane.org>]
* Re: [PATCH] drm/nouveau: try to load fbcon [not found] ` <20100825181813.GA6991-OI9uyE9O0yo@public.gmane.org> @ 2010-08-25 22:39 ` Francisco Jerez 0 siblings, 0 replies; 4+ messages in thread From: Francisco Jerez @ 2010-08-25 22:39 UTC (permalink / raw) To: Marcin Slusarz; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Dragos Delcea [-- Attachment #1.1.1: Type: text/plain, Size: 2449 bytes --] Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > On Wed, Aug 25, 2010 at 06:15:53PM +0200, Francisco Jerez wrote: >> Dragos Delcea <dragos.delcea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: >> >> > Hi, >> > >> > I noticed that loading nouveau doesn't load fbcon automatically; and without fbcon, when loading nouveau the >> > console turns blank. I spent a few good hours until I was able to figure out that I had to manually modprobe >> > fbcon to get the console back after loading nouveau. >> > This is happening on a vanilla 2.6.35.3; shouldn't there be dependencies in place between modules? >> > >> > Note that I haven't got to the xorg part just yet, I'm currently installing gentoo. >> > >> We already do, except for kernels compiled with "Configure standard >> kernel features (for small systems)". Strictly speaking, nouveau doesn't >> depend on fbcon so that option is left open for e.g. embedded platforms >> that don't need a framebuffer console. > > But it's only a build time dependency. Let's fix it. > > --- > From: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Subject: [PATCH] drm/nouveau: try to load fbcon > > Currently users have to load fbcon manually or build it > into the kernel to have any console output. > Let's make it easy for them and load fbcon automatically > at init time. Nouveau already selects fbcon at build time > when !EMBEDDED. > > Reported-by: Dragos Delcea <dragos.delcea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Signed-off-by: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > --- > drivers/gpu/drm/nouveau/nouveau_drv.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c > index a8d3d17..df9a687 100644 > --- a/drivers/gpu/drm/nouveau/nouveau_drv.c > +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c > @@ -434,6 +434,12 @@ static int __init nouveau_init(void) > if (!nouveau_modeset) > return 0; > > +#if defined(CONFIG_FRAMEBUFFER_CONSOLE_MODULE) > + request_module("fbcon"); > +#elif !defined(CONFIG_FRAMEBUFFER_CONSOLE) > + printk(KERN_INFO "CONFIG_FRAMEBUFFER_CONSOLE was not enabled. You won't get any console output.\n"); > +#endif > + > nouveau_register_dsm_handler(); > return drm_init(&driver); > } Pushed to master, thanks. [-- Attachment #1.2: Type: application/pgp-signature, Size: 229 bytes --] [-- Attachment #2: Type: text/plain, Size: 181 bytes --] _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-25 22:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-25 13:26 shouldn't nouveau.ko depend on fbcon.ko? Dragos Delcea
[not found] ` <AANLkTinqnf3qpSBhb6g7EtxVO3d+_BbcYfxXZJC9Ht9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-25 16:15 ` Francisco Jerez
[not found] ` <87sk22brd2.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-08-25 18:18 ` [PATCH] drm/nouveau: try to load fbcon Marcin Slusarz
[not found] ` <20100825181813.GA6991-OI9uyE9O0yo@public.gmane.org>
2010-08-25 22:39 ` Francisco Jerez
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.