drm/amdgpu/dpm/ci: switch over to the common pcie caps interface
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Feb 2016 15:44:04 +0000 (10:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Feb 2016 15:37:42 +0000 (10:37 -0500)
commit50171ebecf87521056db2b3d5654c4348f32c9bd
treecc9ca82835a4f9cf811821b03d5655baa206f5d6
parent76ecb2c75bc772050f2e0462b9cf0163cc43046e
drm/amdgpu/dpm/ci: switch over to the common pcie caps interface

We already query this at driver init, so use that info.  Also
handles virtualization cases.

Reviewed-by: monk liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/ci_dpm.c