this is because lspci reads the config file, which then triggers a full GPU wake up, which is a silly thing to do in the first place.
What we need is something like this in the kernel: https://github.com/karolherbst/linux/commit/cb918e4c926990dfcfce92e1ecd905e0896de605 and then make use of those in userspace, so that we don't need to read config every time anymore.
this is because lspci reads the config file, which then triggers a full GPU wake up, which is a silly thing to do in the first place.
What we need is something like this in the kernel: https:/ /github. com/karolherbst /linux/ commit/ cb918e4c926990d fcfce92e1ecd905 e0896de605 and then make use of those in userspace, so that we don't need to read config every time anymore.