aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorEvan Quan <[email protected]>2020-10-10 01:58:41 +0000
committerAlex Deucher <[email protected]>2020-10-15 16:20:39 +0000
commit585584dbaa47e814addb8a41bddbc2c303173bad (patch)
tree3a02125b61ea6cde340145b1867618858a17fa53 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentdrm/amd/pm: populate the bootup LCLK frequency (diff)
downloadkernel-585584dbaa47e814addb8a41bddbc2c303173bad.tar.gz
kernel-585584dbaa47e814addb8a41bddbc2c303173bad.zip
drm/amd/pm: populate Arcturus PCIE link state
Populate current link speed, width and clock domain frequency. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
-rw-r--r--drivers/gpu/drm/amd/pm/amdgpu_pm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index 35640c8b638a..89632ee88ae2 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -2060,9 +2060,6 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
} else if (DEVICE_ATTR_IS(pp_dpm_fclk)) {
if (asic_type < CHIP_VEGA20)
*states = ATTR_STATE_UNSUPPORTED;
- } else if (DEVICE_ATTR_IS(pp_dpm_pcie)) {
- if (asic_type == CHIP_ARCTURUS)
- *states = ATTR_STATE_UNSUPPORTED;
} else if (DEVICE_ATTR_IS(pp_od_clk_voltage)) {
*states = ATTR_STATE_UNSUPPORTED;
if ((is_support_sw_smu(adev) && adev->smu.od_enabled) ||