drm/amd/powerplay: add sys interface for pcie for smu
authorLikun Gao <Likun.Gao@amd.com>
Fri, 18 Jan 2019 04:53:27 +0000 (12:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:00 +0000 (15:04 -0500)
commitdfbd118742549cac24184e4e5e359b0731274cb8
tree6138c0180ae78c892754b703733345b43e9dbca6
parent9a431038e30a45c470c5f949824a76538809662d
drm/amd/powerplay: add sys interface for pcie for smu

Add sys interface for set/get PCIE info for SMU.
The related operate will do nothing as vega20 do not support it now.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c