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

Commit 211eed65 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: fix typo in bandwidth calculation



The RV3xx settings were getting applied to all older asics
rather than just RV3xx.

Reported-by: default avatarDavid Binderman <dcb314@hotmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ede2e019
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3295,7 +3295,7 @@ void r100_bandwidth_update(struct radeon_device *rdev)
		mem_trp = ((temp >> 8) & 0x7) + 1;
		mem_tras = ((temp >> 11) & 0xf) + 4;
	} else if (rdev->family == CHIP_RV350 ||
		   rdev->family <= CHIP_RV380) {
		   rdev->family == CHIP_RV380) {
		/* rv3x0 */
		mem_trcd = (temp & 0x7) + 3;
		mem_trp = ((temp >> 8) & 0x7) + 3;