drm/amdgpu: implement cgs interface to query system info
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 23 Sep 2015 12:11:54 +0000 (20:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:06 +0000 (16:42 -0500)
commit5e6186991a75ea192d7dd88b9d3f7e166eaae801
treef4dc2d5f93a8defa61ca365174e5ad9fe504aa36
parent3f1d35a03b3cc7e0fb85c92f4ac6eafd1780d5dc
drm/amdgpu: implement cgs interface to query system info

Add a query to get the bus number and function of the
device.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/include/cgs_common.h