Mercurial > mplayer.hg
comparison drivers/radeon/radeonfb.c @ 2160:81f16b270b8b
Enable discards - now it works
author | nick |
---|---|
date | Thu, 11 Oct 2001 06:24:17 +0000 |
parents | 8939341c5187 |
children | 33bbfea73af3 |
comparison
equal
deleted
inserted
replaced
2159:795f3d022657 | 2160:81f16b270b8b |
---|---|
1493 save->cap1_trig_cntl = 0; | 1493 save->cap1_trig_cntl = 0; |
1494 save->bus_cntl = rinfo->BusCntl; | 1494 save->bus_cntl = rinfo->BusCntl; |
1495 /* | 1495 /* |
1496 * If bursts are enabled, turn on discards | 1496 * If bursts are enabled, turn on discards |
1497 * Radeon doesn't have write bursts | 1497 * Radeon doesn't have write bursts |
1498 | |
1499 * XXX: Disabled by NK since on Radeon VE it causes | |
1500 * mode corruption. | |
1501 if (save->bus_cntl & (BUS_READ_BURST)) | |
1502 save->bus_cntl |= BUS_RD_DISCARD_EN; | |
1503 */ | 1498 */ |
1499 if (save->bus_cntl & (BUS_READ_BURST)) | |
1500 save->bus_cntl |= BUS_RD_DISCARD_EN; | |
1504 } | 1501 } |
1505 | 1502 |
1506 static int radeon_init_crtc_regs(struct radeonfb_info *rinfo, | 1503 static int radeon_init_crtc_regs(struct radeonfb_info *rinfo, |
1507 struct radeon_regs *save, | 1504 struct radeon_regs *save, |
1508 struct fb_var_screeninfo *mode) | 1505 struct fb_var_screeninfo *mode) |