drm/i915: Select the correct BPC for LVDS on Ironlake
commite5a95eb778690bc864eb330202d2c1b974caaeb4
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 4 Jan 2010 08:29:32 +0000 (4 16:29 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 6 Jan 2010 17:40:13 +0000 (6 09:40 -0800)
treeac6e92b9a488812ab46e1819f184d0d1cdc9b18e
parent8faf3b317471179c02db339aa80955a2e88c036d
drm/i915: Select the correct BPC for LVDS on Ironlake

Select the correct BPC for LVDS on Ironlake. If it is 18-bit LVDS panel,
the BPC will be 6. When it is 24-bit LVDS panel, the BPC will 8.
At the same time the BPC will be 8 when the output device is CRT/HDMI/DP.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c