Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4df8be1 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

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: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 71e16bfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;
	}
	}