aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-10-08 04:44:10 -0400
committerDave Airlie <airlied@redhat.com>2009-10-11 23:42:28 -0400
commitb5fc901002db0519093ec723fd98969bc03cd629 (patch)
tree1c21cbb223df10ee83e1c7bd2a5fa5caa46e16a8
parentf30f37def4c72e5df8d949022b806e5a4e99bbcb (diff)
drm/radeon/kms: Fix apparent typo in legacy CRTC memory bandwidth calculation.
While investigating the cause of CRTC FIFO underruns, I noticed that when converting the memory bandwidth calculation from the userspace X driver code, an instance of '8.0' was apparently accidentally converted to '80'. Signed-off-by: Michel Dänzer <daenzer@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/r100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index 374ecacc6183..33198dd5706c 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -2350,7 +2350,7 @@ void r100_bandwidth_update(struct radeon_device *rdev)
2350 /* 2350 /*
2351 Find the total latency for the display data. 2351 Find the total latency for the display data.
2352 */ 2352 */
2353 disp_latency_overhead.full = rfixed_const(80); 2353 disp_latency_overhead.full = rfixed_const(8);
2354 disp_latency_overhead.full = rfixed_div(disp_latency_overhead, sclk_ff); 2354 disp_latency_overhead.full = rfixed_div(disp_latency_overhead, sclk_ff);
2355 mc_latency_mclk.full += disp_latency_overhead.full + cur_latency_mclk.full; 2355 mc_latency_mclk.full += disp_latency_overhead.full + cur_latency_mclk.full;
2356 mc_latency_sclk.full += disp_latency_overhead.full + cur_latency_sclk.full; 2356 mc_latency_sclk.full += disp_latency_overhead.full + cur_latency_sclk.full;