]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add pcie cap module parameters (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Feb 2016 15:21:23 +0000 (10:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Feb 2016 15:37:41 +0000 (10:37 -0500)
commit1e36644ab2434031ac96f8c2fa499e38f16ce7a1
tree4854307a6b0b4be42ee7885f27597ca652b51048
parente1d1143891bdf3ad1b4d1cbfff566a11d702e55e
drm/amdgpu: add pcie cap module parameters (v2)

Allows the user to force the supported pcie gen and lane
config on both the asic and the chipset.
Useful for debugging pcie problems and for virtualization
where we may not be able to query the pcie bridge caps.

Default to:
gen: chipset 1/2, asic 1/2/3
lanes: 1/2/4/8/16

v2: fix bare metal case

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