diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 18:03:27 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-07 12:20:41 -0400 |
commit | 211eed656b0ec13240aaaa42bd6541f1fcb61007 (patch) | |
tree | c044f13616e21241689418bf0c952f96da7e8fd0 /drivers/gpu/drm/radeon | |
parent | ede2e019adec0b6fd21a54ace92358969f1a1629 (diff) | |
download | talos-obmc-linux-211eed656b0ec13240aaaa42bd6541f1fcb61007.tar.gz talos-obmc-linux-211eed656b0ec13240aaaa42bd6541f1fcb61007.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/r100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index aefca0b03f38..c31e660e35db 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers/gpu/drm/radeon/r100.c @@ -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; |