This series attempts to make sure we turn off any cursor and sprite planes when we restore the fbdev mode. Some of this stuff depends on the other series I just posted: '[PATCH 0/6] drm/i915: Unfify some modeset sequences' I also noticed some crap when looking at the code, so I slapped on a few cleanups to the end