From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Slusarz Subject: Re: Blank screen at startup (conflict with VESA VGA) Date: Tue, 6 Apr 2010 19:20:19 +0200 Message-ID: <20100406172019.GA2744@joi.lan> References: <4BBA4F3C.9070606@epsm.fr> <20100405214559.GA4230@joi.lan> <4BBAF07E.9070005@epsm.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="dDRMvlgZJXvWKvBx" Return-path: Content-Disposition: inline In-Reply-To: <4BBAF07E.9070005-GqzDj6/B2j8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Didier Spaier Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 06, 2010 at 10:27:42AM +0200, Didier Spaier wrote: > Thansk for your answer, kernel logs are attached. > Can you check attached patch? It's a quick hack to kick vesa before we initialize the hardware. Marcin --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="remove_vesa_earlier.diff" diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c index 1de974a..9db8482 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.c +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c @@ -401,6 +401,17 @@ static struct drm_driver driver = { static int __init nouveau_init(void) { + int i; + + for (i = 0 ; i < FB_MAX; i++) { + if (!registered_fb[i]) + continue; + + printk(KERN_ERR "nouveau: removing %s driver\n", + registered_fb[i]->fix.id); + unregister_framebuffer(registered_fb[i]); + } + driver.num_ioctls = nouveau_max_ioctl; if (nouveau_modeset == -1) { --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --dDRMvlgZJXvWKvBx--