fix uninitialized

This commit is contained in:
christos 2014-11-01 21:45:31 +00:00
parent 7588982e24
commit 2ca0278c94
1 changed files with 2 additions and 0 deletions

View File

@ -3230,6 +3230,8 @@ void r100_bandwidth_update(struct radeon_device *rdev)
uint32_t pixel_bytes1 = 0; uint32_t pixel_bytes1 = 0;
uint32_t pixel_bytes2 = 0; uint32_t pixel_bytes2 = 0;
crit_point_ff.full = 0;
disp_drain_rate.full = 0;
radeon_update_display_priority(rdev); radeon_update_display_priority(rdev);
if (rdev->mode_info.crtcs[0]->base.enabled) { if (rdev->mode_info.crtcs[0]->base.enabled) {