From: Aaron Plattner <aplattner-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
Christopher James Halse Rogers
<raof-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] nv: improve KMS detection
Date: Wed, 2 Jun 2010 12:07:52 -0700 [thread overview]
Message-ID: <20100602190752.GA17877@soprano.nvidia.com> (raw)
In-Reply-To: <20100602162047.GA2973-OI9uyE9O0yo@public.gmane.org>
On Wed, Jun 02, 2010 at 09:20:47AM -0700, Marcin Slusarz wrote:
> On Fri, May 28, 2010 at 11:45:17AM -0700, Aaron Plattner wrote:
> > On Sun, May 23, 2010 at 03:37:03PM -0700, Ben Skeggs wrote:
> > > On Sun, 2010-05-23 at 21:46 +0200, Marcin Slusarz wrote:
> > > > 1) DRICreatePCIBusID belongs to xserver dri module, so when it's
> > > > unavailable we can't format string for drmCheckModesettingSupported.
> > > > (This situation happened to me with KMS enabled and dri module moved
> > > > somewhere else by Gentoo's "eselect opengl set nvidia" switcher)
> > > > Open code DRICreatePCIBusID to drop dri dependency.
> > > > 2) Once we dropped dependency on dri module (which linked to libdrm),
> > > > we have to link directly to libdrm.
> > > An alternative, which we use in Fedora for nv/vesa is to use
> > > pci_device_has_kernel_driver() from libpciaccess.
> >
> > That seems better than open-coding it, and avoids a dependency on libdrm
> > which is nice.
>
> Well, you are trading one dependency for other. It doesn't really matter...
> Ben, are you going to send your patch to Aaron?
Yeah, but the server already has a dependency on libpciaccess, while the
libdrm dependency is just for a module, and I think might be optional (I
haven't kept up with the dri2 patches on the list).
-- Aaron
next prev parent reply other threads:[~2010-06-02 19:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-23 19:46 [PATCH] nv: improve KMS detection Marcin Slusarz
[not found] ` <20100523194645.GA15846-OI9uyE9O0yo@public.gmane.org>
2010-05-23 22:37 ` Ben Skeggs
2010-05-28 18:45 ` Aaron Plattner
[not found] ` <20100528184517.GA12408-J3EY2hv0KmgMOYszX5p1ytBPR1lH4CV8@public.gmane.org>
2010-06-02 16:20 ` Marcin Slusarz
[not found] ` <20100602162047.GA2973-OI9uyE9O0yo@public.gmane.org>
2010-06-02 19:07 ` Aaron Plattner [this message]
[not found] ` <20100602190752.GA17877-J3EY2hv0KmgMOYszX5p1ytBPR1lH4CV8@public.gmane.org>
2010-06-02 22:19 ` Ben Skeggs
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=20100602190752.GA17877@soprano.nvidia.com \
--to=aplattner-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=raof-GeWIH/nMZzLQT0dZR+AlfA@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.