]> 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)
commit0052dd282e2ecc62b2c9549efb0ec7db99e01ce5
tree4854307a6b0b4be42ee7885f27597ca652b51048
parent30522d8288f65197f5af10c42417bb0bbb19c550
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