Re: [Mesa-dev] [PATCH 1/2] configure.ac: require pthread-stubs only where available

2017-03-02 Thread Gary Wong
ibc, pthreads-stubs is merely a dummy .pc. This was not always the case: https://www.gnu.org/software/hurd/open_issues/libpthread_dlopen.html Thanks, Gary. -- Gary Wong g...@gnu.org http://www.cs.utah.edu/~gtw/ ___ mesa-dev

Re: [Mesa-dev] [PATCH 12/16] loader: remove final sysfs codepath in loader_get_device_name_for_fd()

2016-10-11 Thread Gary Wong
azing. I don't maintain those guix configs you cited and I'm not sure who does, but I can investigate. Thanks, Gary. -- Gary Wong g...@gnu.org http://www.cs.utah.edu/~gtw/ ___ mesa-dev mailing list mesa-dev@li

Re: [Mesa-dev] [PATCH 2/2] loader: add optional /sys filesystem method for PCI identification.

2014-05-22 Thread Gary Wong
n. Thank you very much for your corrections! > P.S. If you use --in-reply-to, --chain-reply-to you'll have greater chances of > patches not getting lost :) Ah, thanks, that's useful to know. Cheers, Gary. -- Gary Wong g...@gnu.org ht

[Mesa-dev] [PATCH 2/2] loader: add optional /sys filesystem method for PCI identification.

2014-05-21 Thread Gary Wong
Introduce a simple PCI identification method of looking up the answer the /sys filesystem (available on Linux). Attempted after libudev, but before DRM. Disabled by default (available only when the --enable-sysfs configure option is specified). Signed-off-by: Gary Wong --- configure.ac

[Mesa-dev] [PATCH 1/2] loader: allow attempting more than one method of PCI identification.

2014-05-21 Thread Gary Wong
necessary). Signed-off-by: Gary Wong Reviewed-by: Emil Velikov --- src/loader/loader.c | 64 ++--- 1 file changed, 46 insertions(+), 18 deletions(-) diff --git a/src/loader/loader.c b/src/loader/loader.c index 666d015..52be706 100644 --- a/src

[Mesa-dev] [PATCH 0/2] loader: allow alternative methods for PCI identification.

2014-05-21 Thread Gary Wong
. Gary Wong (2): loader: allow attempting more than one method of PCI identification. loader: add optional /sys filesystem method for PCI identification. configure.ac| 36 +++ src/loader/loader.c | 172 +++- 2 files changed, 181

Re: [Mesa-dev] [PATCH 2/2] loader: add optional /sys filesystem method for PCI identification.

2014-05-21 Thread Gary Wong
On Wed, May 21, 2014 at 07:46:52PM +0100, Emil Velikov wrote: > On 21/05/14 02:40, Gary Wong wrote: > > Introduce a simple PCI identification method of looking up the answer > > the /sys filesystem (available on Linux). Attempted after libudev, but > > before DRM. > &g

[Mesa-dev] [PATCH 2/2] loader: add optional /sys filesystem method for PCI identification.

2014-05-20 Thread Gary Wong
Introduce a simple PCI identification method of looking up the answer the /sys filesystem (available on Linux). Attempted after libudev, but before DRM. Disabled by default (available only when the --enable-sysfs configure option is specified). Signed-off-by: Gary Wong --- configure.ac

[Mesa-dev] [PATCH 1/2] loader: allow attempting more than one method of PCI identification.

2014-05-20 Thread Gary Wong
necessary). Signed-off-by: Gary Wong --- src/loader/loader.c | 64 ++--- 1 file changed, 46 insertions(+), 18 deletions(-) diff --git a/src/loader/loader.c b/src/loader/loader.c index 666d015..d8246e8 100644 --- a/src/loader/loader.c +++ b/src

[Mesa-dev] [PATCH 0/2] loader: allow alternative methods for PCI identification.

2014-05-20 Thread Gary Wong
the /sys filesystem (available on Linux) is added. v2: Break the patch into two independent commits. Disable the sysfs test by default (unless overridden at configure time). Gary Wong (2): loader: allow attempting more than one method of PCI identification. loader: add optional /sys

Re: [Mesa-dev] [PATCH] loader: allow alternative methods for PCI identification.

2014-05-20 Thread Gary Wong
generic loader_get_pci_id_for_fd and loader_get_device_name_for_fd functions but keeping the current behaviour; the other inserting the disabled-by-default sysfs hooks into the generic functions), but please let me know if you'd prefer a different approach. Thanks, Gary. -- Gary Wong g...@g

Re: [Mesa-dev] [PATCH] loader: allow alternative methods for PCI identification.

2014-05-19 Thread Gary Wong
On Wed, May 14, 2014 at 10:39:05PM -0600, Gary Wong wrote: > loader_get_pci_id_for_fd() and loader_get_device_name_for_fd() now attempt > all available strategies to identify the hardware, instead of conditionally > compiling in a single test. The existing libudev and DRM approaches ha

[Mesa-dev] [PATCH] loader: allow alternative methods for PCI identification.

2014-05-14 Thread Gary Wong
?) could implement their own PCI identification. Signed-off-by: Gary Wong --- configure.ac| 51 src/loader/loader.c | 173 +++- 2 files changed, 195 insertions(+), 29 deletions(-) diff --git a/configure.ac b/configure.ac