drm/vmwgfx: correct fb_fix_screeninfo.line_length
Previously, the vmwgfx_fb driver would allow users to call FBIOSET_VINFO, but it would not adjust the FINFO properly, resulting in distorted screen rendering. The patch corrects that behaviour. See https://bugs.gentoo.org/show_bug.cgi?id=494794 for examples. Cc: stable@vger.kernel.org Signed-off-by: NChristopher Friedt <chrisfriedt@gmail.com> Reviewed-by: NThomas Hellstrom <thellstrom@vmware.com>
Showing
想要评论请 注册 或 登录