From: Zhenyu Wang Date: Fri, 25 Sep 2009 08:01:28 +0000 (+0000) Subject: drm/i915: Fix FDI M/N setting according with correct color depth X-Git-Tag: v2.6.32-rc7~79^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58a27471d00dc09945cbcfbbc5cbcdcd3c28211d;p=pandora-kernel.git drm/i915: Fix FDI M/N setting according with correct color depth FDI M/N calculation hasn't taken the current pipe color depth into account, but always set as 24bpp. This one checks current pipe color depth setting, and change FDI M/N calculation a little to use bits_per_pixel first, then convert to bytes_per_pixel later. This fixes display corrupt issue on Arrandle LVDS with 1600x900 panel in 18bpp dual-channel mode. Cc: Stable Team Signed-off-by: Zhenyu Wang Signed-off-by: Eric Anholt --- Reading git-diff-tree failed