]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: ensure the force pipe A quirk is actually followed
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Jul 2012 15:51:47 +0000 (17:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:00:14 +0000 (08:00 +0200)
commitb4f1efa4c50bb21d3d8e7d540fc9b9cfd74f62c8
treecd048923b124b1ccf0e3c4d4f3cbbb324deac396
parent9a30d8e112af4b143255459548b0dfc9f383ea6d
drm/i915: ensure the force pipe A quirk is actually followed

Many BIOSen forget to turn on the pipe A after resume (because they
actually don't turn on anything), so we have to do that ourselves when
sanitizing the hw state.

I've discovered this due to the recent addition of a pipe WARN that
takes the force quirk into account.

v2: Actually try to enable the pipe with a proper configuration instead
of simpyl switching it on with whatever random state the bios left it
in after resume.

v3: Fixup rebase conflict - the load_detect functions have lost their
encoder argument.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c