From: Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
To: yaiba.kurogane-khu2bkKidpXVItvQsEIGlw@public.gmane.org
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [nouveau-drm] failed to set mode on crtc
Date: Wed, 04 Aug 2010 21:04:46 +0200 [thread overview]
Message-ID: <877hk6i4hd.fsf@riseup.net> (raw)
In-Reply-To: <4C574463.3080201-khu2bkKidpXVItvQsEIGlw@public.gmane.org> (yaiba kurogane's message of "Tue, 03 Aug 2010 00:19:15 +0200")
[-- Attachment #1.1.1: Type: text/plain, Size: 407 bytes --]
yaiba.kurogane-khu2bkKidpXVItvQsEIGlw@public.gmane.org writes:
> Hi. I have a problem with current kernel 2.6.35 and nouveau module
> compiled from git (today).From xorg.0.log I got information that no
> output was found.And here is some nasty kernel logs:
>
> [...]
> What is going on?
>
Your BIOS lacks some information we need for modesetting. The attached
patch should fix it, can you give it a try?
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: nouveau_nodcb_init_or.patch --]
[-- Type: text/x-diff, Size: 574 bytes --]
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 23a7bec..fc35e9d 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -5855,7 +5855,7 @@ static void fabricate_vga_output(struct dcb_table *dcb, int i2c, int heads)
entry->i2c_index = i2c;
entry->heads = heads;
entry->location = DCB_LOC_ON_CHIP;
- /* "or" mostly unused in early gen crt modesetting, 0 is fine */
+ entry->or = 1;
}
static void fabricate_dvi_i_output(struct dcb_table *dcb, bool twoHeads)
[-- 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
next prev parent reply other threads:[~2010-08-04 19:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 22:19 [nouveau-drm] failed to set mode on crtc yaiba.kurogane-khu2bkKidpXVItvQsEIGlw
[not found] ` <4C574463.3080201-khu2bkKidpXVItvQsEIGlw@public.gmane.org>
2010-08-04 19:04 ` Francisco Jerez [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-08-05 18:56 yaiba.kurogane-khu2bkKidpXVItvQsEIGlw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877hk6i4hd.fsf@riseup.net \
--to=currojerez-sgozh3hwpm2stnjn9+bgxg@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=yaiba.kurogane-khu2bkKidpXVItvQsEIGlw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.