mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
drm/amdgpu/pm: Drop redundant setting code for pcie lanes
Drop redundant setting code for pcie.lanes. It overwrites the value get from pptable Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Acked-by: Yang Wang<kevinyang.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
948e209475
commit
7cda0a9042
|
|
@ -702,8 +702,6 @@ static int init_non_clock_fields(struct pp_hwmgr *hwmgr,
|
|||
ATOM_PPLIB_PCIE_LINK_WIDTH_MASK) >>
|
||||
ATOM_PPLIB_PCIE_LINK_WIDTH_SHIFT) + 1;
|
||||
|
||||
ps->pcie.lanes = 0;
|
||||
|
||||
ps->display.disableFrameModulation = false;
|
||||
|
||||
rrr_index = (le32_to_cpu(pnon_clock_info->ulCapsAndSettings) &
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user