]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: fix startup hang on some non-mobile platforms
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 16 Sep 2009 22:05:00 +0000 (15:05 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 21:43:27 +0000 (14:43 -0700)
commitc1a1cdc159e211f045290f61ac95092e9708f5bc
tree79ce3088cfc82f0a93a5d315fcd380d274c7dd08
parent06891e27a9b5dba5268bb80e41a283f51335afe7
drm/i915: fix startup hang on some non-mobile platforms

Due to a bogus FBC support check and failing to check for FBC support
in the right places, mode setting on non-mobile platforms could fail
and hang in the FBC disable routine.  Fix it up.

This fix highlights the need for cleanups in this area (function
pointers and better feature support checks).  Patches for that to
follow.

Tested-by: Kenny Graunke <kenny@whitecape.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c