]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Select the correct BPC for LVDS on Ironlake
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 4 Jan 2010 08:29:32 +0000 (16:29 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Jan 2010 18:19:27 +0000 (10:19 -0800)
commitc7e8c269f5d886064af13e7d3eff1324cd78248c
treee6d571f00208c664ff20003587079690f26b8435
parentc04fd308e3d6148c3c8bcba688c668569759b29c
drm/i915: Select the correct BPC for LVDS on Ironlake

commit e5a95eb778690bc864eb330202d2c1b974caaeb4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_display.c