winsys/amdgpu: get PCI info
authorMarek Olšák <marek.olsak@amd.com>
Mon, 22 Feb 2016 21:58:18 +0000 (22:58 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 9 Mar 2016 14:02:28 +0000 (15:02 +0100)
commit737b6ed13e8f813987b5566004f0f45e9c55f1e8
tree8489334b0632a5a6455c4b8a3a4f285be1a30404
parentec74deeb2466689a0eca52f290d5f9e44af6a97b
winsys/amdgpu: get PCI info

This will be queried by the OpenCL stack using an interop call.

I have tested that the values match lspci.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/radeon_winsys.h
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c