]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix pixel color depth setting on eDP
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 11 Jan 2010 21:38:31 +0000 (05:38 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jan 2010 22:13:06 +0000 (14:13 -0800)
commit0f88e12a36492e49a746267d28cc443420f059f1
treec0a636d952445b79d7e2301e1796b6c175c27c8a
parent88044f0c0e396d1029260888a9c4fca4978432e5
drm/i915: fix pixel color depth setting on eDP

Original DP mode_valid check didn't take pixel color depth into account,
which made one 1600x900 eDP panel's mode check invalid because of overclock,
but actually this 6bpc panel does can work with x1 lane at 2.7G. This one
trys to take bpp value properly both in mode validation and mode setting.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c