提交 50c839c7 编写于 作者: V Ville Syrjälä 提交者: Linus Torvalds

[PATCH] atyfb: Fix CRTC_FIFO_LWM mask

CRTC_FIFO_LWM was incorrectly masked.
Signed-off-by: NVille Syrjälä <syrjala@sci.fi>
Signed-off-by: NAntonino Daplas <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 866d84ce
...@@ -1077,9 +1077,8 @@ static int aty_var_to_crtc(const struct fb_info *info, ...@@ -1077,9 +1077,8 @@ static int aty_var_to_crtc(const struct fb_info *info,
#endif /* CONFIG_FB_ATY_GENERIC_LCD */ #endif /* CONFIG_FB_ATY_GENERIC_LCD */
if (M64_HAS(MAGIC_FIFO)) { if (M64_HAS(MAGIC_FIFO)) {
/* Not VTB/GTB */ /* FIXME: display FIFO low watermark values */
/* FIXME: magic FIFO values */ crtc->gen_cntl |= (aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC_FIFO_LWM);
crtc->gen_cntl |= (aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC2_PIX_WIDTH);
} }
crtc->dp_pix_width = dp_pix_width; crtc->dp_pix_width = dp_pix_width;
crtc->dp_chain_mask = dp_chain_mask; crtc->dp_chain_mask = dp_chain_mask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册