]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/radeon/kms: auto detect pcie link speed from root port
authorDave Airlie <airlied@redhat.com>
Wed, 27 Jun 2012 07:35:54 +0000 (08:35 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Jul 2012 02:30:32 +0000 (22:30 -0400)
commit197bbb3d464f33eac1b458e83c1929d2f268d4c9
treefdbbe5d8515307772fbce4ef30ff1d55300d8275
parentf42977841f4a28b82820384fdb9b9581b410dbb1
drm/radeon/kms: auto detect pcie link speed from root port

This check the root ports supported link speeds and enables
GEN2 mode if the 5.0 GT link speed is available.

The first 3.0 cards are SI so they will probably need more investigation.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/rv770.c