From: Marcin Slusarz <marcin.slusarz@gmail.com>
To: Maarten Maathuis <madman2003@gmail.com>
Cc: mesa-dev@lists.freedesktop.org, nouveau@lists.freedesktop.org
Subject: Re: [Nouveau] [PATCH v2 2/2] xorg/nouveau: blacklist all pre NV30 cards
Date: Sun, 5 Jun 2011 21:46:52 +0200 [thread overview]
Message-ID: <20110605194652.GA22358@joi.lan> (raw)
In-Reply-To: <BANLkTik4GSV2EQ1ry0K-b-PwbhsuHdZsAw@mail.gmail.com>
On Sun, Jun 05, 2011 at 09:15:47PM +0200, Maarten Maathuis wrote:
> 2011/6/5 Stéphane Marchesin <stephane.marchesin@gmail.com>:
> > On Sun, Jun 5, 2011 at 12:06, Marcin Slusarz <marcin.slusarz@gmail.com> wrote:
> >> On Tue, May 17, 2011 at 12:20:14AM +0200, Marcin Slusarz wrote:
> >>> Bail out early in probe, so other driver can take control of the card.
> >>> Doing it in screen_create would be too late.
> >>> ---
> >>> src/gallium/targets/xorg-nouveau/nouveau_xorg.c | 44 ++++++++++++++++++-----
> >>> 1 files changed, 35 insertions(+), 9 deletions(-)
> >>
> >> ping
> >>
> >
> > Why do you need a list of cards for that, as opposed to reading the reg?
> >
>
> I agree with Stephane, checking register 0 should work fine. First
> check for NV04/05, then for NV10-NV2F.
>
I did it this way because I didn't have access to device file descriptor - it's created
somewhere near InitScreen and passed to nouveau_drm_screen_create - too late to
exit gracefully (something which I believe is a bug, but I couldn't track it).
But now I see xf86-video-nouveau is in exactly the same situation - it opens fd
temporarily in PciProbe. I'll adapt its code to target/xorg-nouveau.
Marcin
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
next prev parent reply other threads:[~2011-06-05 19:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-16 19:51 [PATCH 2/2] xorg/nouveau: blacklist all pre NV30 cards Marcin Slusarz
2011-05-16 22:20 ` [PATCH v2 " Marcin Slusarz
[not found] ` <20110516222014.GH5456-OI9uyE9O0yo@public.gmane.org>
2011-06-05 19:06 ` Marcin Slusarz
2011-06-05 19:10 ` [Nouveau] " Stéphane Marchesin
2011-06-05 19:15 ` Maarten Maathuis
2011-06-05 19:46 ` Marcin Slusarz [this message]
2011-06-05 19:54 ` Maarten Maathuis
2011-06-05 20:31 ` [PATCH v3 " Marcin Slusarz
[not found] ` <20110605203159.GA26259-OI9uyE9O0yo@public.gmane.org>
2011-06-05 21:43 ` Marcin Kościelnicki
2011-06-06 5:51 ` [Nouveau] " Marcin Slusarz
2011-06-19 22:28 ` Marcin Slusarz
2011-06-05 19:22 ` [PATCH v2 " Patrick Baggett
2011-06-05 19:23 ` Maarten Maathuis
2011-06-05 20:35 ` Marcin Slusarz
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=20110605194652.GA22358@joi.lan \
--to=marcin.slusarz@gmail.com \
--cc=madman2003@gmail.com \
--cc=mesa-dev@lists.freedesktop.org \
--cc=nouveau@lists.freedesktop.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.