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

Reply via email to