]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: ignore eDP bpc settings from vbt
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Aug 2012 09:10:20 +0000 (11:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 11 Aug 2012 19:42:52 +0000 (21:42 +0200)
commit147136a860e65b48280ee8625bbe0e87247032ce
treef134624a5e29ba31044ae0a9997f274426774531
parent02ae6fd77749087cf17f4b18e5a4b7183a6d26da
drm/i915: ignore eDP bpc settings from vbt

This has originally been introduced to not oversubscribe the dp links
in

commit 0f88e12a36492e49a746267d28cc443420f059f1
Author: Zhenyu Wang <zhenyuw@linux.intel.com>
Date:   Tue Jan 12 05:38:31 2010 +0800

    drm/i915: fix pixel color depth setting on eDP

Since then we've fixed up the dp link bandwidth calculation code and
should now automatically fall back to 6bpc dithering. So this is
unnecessary.

Furthermore it seems to break the new MacbookPro with retina display,
hence let's just rip this out.

Reported-by: Benoit Gschwind <gschwind@gnu-log.net>
Cc: Benoit Gschwind <gschwind@gnu-log.net>
Cc: Francois Rigaut <frigaut@gmail.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org
Tested-by: Benoit Gschwind <gschwind@gnu-log.net>
Tested-by: Bernhard Froemel <froemel at vmars tuwien.ac.at>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
--

Testing feedback highgly welcome, and thanks for Benoit for finding
out that the bpc computations are busted.
-Daniel
drivers/gpu/drm/i915/intel_display.c