aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_suspend.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2009-09-25 08:01:28 +0000
committerEric Anholt <eric@anholt.net>2009-10-13 10:57:10 -0700
commit58a27471d00dc09945cbcfbbc5cbcdcd3c28211d (patch)
treef1679ecad026b8f6cb6440156167808195543881 /drivers/gpu/drm/i915/i915_suspend.c
parentc03342fa6d4617a77cb867ee0ec71665d520eb69 (diff)
downloadkernel_samsung_smdk4412-58a27471d00dc09945cbcfbbc5cbcdcd3c28211d.zip
kernel_samsung_smdk4412-58a27471d00dc09945cbcfbbc5cbcdcd3c28211d.tar.gz
kernel_samsung_smdk4412-58a27471d00dc09945cbcfbbc5cbcdcd3c28211d.tar.bz2
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_suspend.c')
0 files changed, 0 insertions, 0 deletions