[PATCH] i915: restore only the mode of this driver on lastclose

Chris Wilson chris at chris-wilson.co.uk
Mon Apr 11 00:21:02 PDT 2011


On Mon, 11 Apr 2011 15:23:17 +1000, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> This has always used a big hammer, but that hammer is probably
> too big, I'm also not sure its necessary but at least this
> should be safe.

So the difference appears to be that the patch only restores the fbcon
of a device for the lastclose of that device. That makes sense.

However, would it not be better to make this a generic
drm_fb_helper_restore_mode() as it sounds like something every driver
should consider?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list