drm/amdgpu/cgs: add sys info query for pcie gen and link width
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Nov 2015 01:35:32 +0000 (20:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:32 +0000 (16:42 -0500)
commitcfd316d59e203985699495147a973ba058ff5478
tree723014b7292515c07955d1b7908d4f7ea12e8d78
parentd0dd7f0cc345fc8757148004639e1993ba183bd6
drm/amdgpu/cgs: add sys info query for pcie gen and link width

Needed by powerplay to properly handle pcie dpm switching.

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