diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2009-09-25 08:01:28 +0000 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-13 10:57:10 -0700 |
commit | 58a27471d00dc09945cbcfbbc5cbcdcd3c28211d (patch) | |
tree | f1679ecad026b8f6cb6440156167808195543881 /drivers/gpu/drm/i915/i915_dma.c | |
parent | c03342fa6d4617a77cb867ee0ec71665d520eb69 (diff) | |
download | blackbird-op-linux-58a27471d00dc09945cbcfbbc5cbcdcd3c28211d.tar.gz blackbird-op-linux-58a27471d00dc09945cbcfbbc5cbcdcd3c28211d.zip |
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 <stable@kernel.org>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
0 files changed, 0 insertions, 0 deletions