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

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


On Mon, 11 Apr 2011 09:06:38 -0700, Keith Packard <keithp at keithp.com> wrote:
> 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.
> 
> Am I correct in reading the drm_fb_helper_restore path as restoring
> the mode of each fbdev device in turn? If so, why would that ever be
> useful (aside from doing it for each inserted card)?

During panics? Just not lastclose. :)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list