mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 16:30:53 +00:00
drm/radeon/kms: fix pcie_p callbacks on btc and cayman
btc and cayman asics use the same callback for pcie port registers. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
71e16bfbd2
commit
b4df8be104
@ -94,7 +94,7 @@ static void radeon_register_accessor_init(struct radeon_device *rdev)
|
|||||||
rdev->mc_rreg = &rs600_mc_rreg;
|
rdev->mc_rreg = &rs600_mc_rreg;
|
||||||
rdev->mc_wreg = &rs600_mc_wreg;
|
rdev->mc_wreg = &rs600_mc_wreg;
|
||||||
}
|
}
|
||||||
if ((rdev->family >= CHIP_R600) && (rdev->family <= CHIP_HEMLOCK)) {
|
if (rdev->family >= CHIP_R600) {
|
||||||
rdev->pciep_rreg = &r600_pciep_rreg;
|
rdev->pciep_rreg = &r600_pciep_rreg;
|
||||||
rdev->pciep_wreg = &r600_pciep_wreg;
|
rdev->pciep_wreg = &r600_pciep_wreg;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user