mesa 12.0.2 amdgpu

Minkyu Lee <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAC1iOv4RUPnGmfFeGe6iPf3+px=XQtAisRH-oeubBQOeUxrY7A@mail.gmail.com>
Hi,

I built mesa-12.0.2 with “—wtih-gallium-drivers=radeonsi” in order to make
amdgpu work in mesa. The mesa is built successfully.  However, it seems
that drm_get_pci_id_for_fd() in
mesa/src/loader/loader.c:loader_get_pci_id_for_fd() cannot find pci_id.

Therefore, I have two problems:
1. Does libdrm supports amdgpu? Or does amdgpu can only be ran with
 libudev, syses, or devq ?
(I listed these because loader_get_pci_id_for_fd provides these three
environments in addition to libdrm)

2. If libdrm supports amdgpu, what kind of code should be added in
drm_get_pci_id_for_fd()?

Thanks

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.