]> git.baikalelectronics.ru Git - kernel.git/commit
drm, gma500: Fix Cedarview boot failures in 3.3-rc
authorAlan Cox <alan@linux.intel.com>
Mon, 5 Mar 2012 14:22:16 +0000 (14:22 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 5 Mar 2012 22:53:01 +0000 (14:53 -0800)
commitc5d035ef45701d01ff55fd6f3acd3cd68aab2933
tree94c99f102d3cbd372fc124c663c311a6669c4ed8
parentac60f6378c7d3cc3fded9b8e27e8671019313370
drm, gma500: Fix Cedarview boot failures in 3.3-rc

Production GMA3600/3650 hardware turns out to be subtly different to the
development platforms.  This combined with a minor driver bug is causing
the kernel to hang on these platforms.

This patch does the following

 - turn down a couple of messages that were meant to be debug and are
   causing much confusion

 - ensure the hotplug interrupt is disabled on Cedartrail systems.

 - fix a bug where gtt roll mode called psbfb_sync, which tries to sync
   the 2D engine. On other devices it is harmless as the 2D engine is
   present but not in use when in gtt roll mode, on Cedartrail it causes
   a hang

Without these changes 3.3-rc hangs on boot on Cedartrail based systems.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/gma500/cdv_device.c
drivers/gpu/drm/gma500/framebuffer.c
drivers/gpu/drm/gma500/gtt.c