mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
[PATCH] atyfb: Fix CRTC_FIFO_LWM mask
CRTC_FIFO_LWM was incorrectly masked. Signed-off-by: Ville Syrjälä <syrjala@sci.fi> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
866d84cec0
commit
50c839c7b5
1 changed files with 2 additions and 3 deletions
|
@ -1077,9 +1077,8 @@ static int aty_var_to_crtc(const struct fb_info *info,
|
|||
#endif /* CONFIG_FB_ATY_GENERIC_LCD */
|
||||
|
||||
if (M64_HAS(MAGIC_FIFO)) {
|
||||
/* Not VTB/GTB */
|
||||
/* FIXME: magic FIFO values */
|
||||
crtc->gen_cntl |= (aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC2_PIX_WIDTH);
|
||||
/* FIXME: display FIFO low watermark values */
|
||||
crtc->gen_cntl |= (aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC_FIFO_LWM);
|
||||
}
|
||||
crtc->dp_pix_width = dp_pix_width;
|
||||
crtc->dp_chain_mask = dp_chain_mask;
|
||||
|
|
Loading…
Reference in a new issue