mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
drm/radeon: fix typo in bandwidth calculation
The RV3xx settings were getting applied to all older asics rather than just RV3xx. Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ede2e019ad
commit
211eed656b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue