aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2018-04-02 17:29:26 +0000
committerAlex Deucher <[email protected]>2018-04-03 18:08:46 +0000
commit41212e2fe72b26ded7ed78224d9eab720c2891e2 (patch)
tree2eeb41a5f692e59ee2bff55b89cc1071c602f777 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/radeon: Fix PCIe lane width calculation (diff)
downloadkernel-41212e2fe72b26ded7ed78224d9eab720c2891e2.tar.gz
kernel-41212e2fe72b26ded7ed78224d9eab720c2891e2.zip
drm/amdgpu: Fix PCIe lane width calculation
The calculation of the lane widths via ATOM_PPLIB_PCIE_LINK_WIDTH_MASK and ATOM_PPLIB_PCIE_LINK_WIDTH_SHIFT macros did not increment the resulting value, per the comment in pptable.h ("lanes - 1"), and per usage elsewhere. Port of the radeon fix to amdgpu. Acked-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=102553 Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions