Anything depending on non-libpciaccess ?

Matthieu Herrb matthieu at herrb.eu
Thu May 16 07:14:07 UTC 2024


On Wed, May 15, 2024 at 01:04:43PM +0200, Enrico Weigelt, metux IT consult wrote:
> Hello folks,
> 
> are there still some platforms that can't be built w/o libpciaccess ?
> 
> Rationale: we've got lots of #ifdef's on that in the drivers, and I
> wonder whether that's still really needed.

Hi,

On OpenBSD, even though it supports architectures without any form of
PCI busses, libpciaccess is always built and linked to the X server.

However, it seems to me that the "modern" side of X.Org wants to go to
the opposite direction and remove the dependency on
libpciaccess. the modesetting(4) driver doesn't touch PCI directly and
other drivers that do talk to the PCI bus directly are more or less
deprecated (and hardware to actually test changes is getting sparse)

So I wouldn't bother about unifdef'ing libpciaccess in the drivers, at
the risk of breaking existing setups gratuitously.

-- 
Matthieu Herrb


More information about the xorg-devel mailing list