[Intel-gfx] [RFC] drm/i915: read current config at init time to avoid flicker

Jesse Barnes jbarnes at virtuousgeek.org
Fri Mar 2 01:52:43 CET 2012


On Thu, 01 Mar 2012 16:08:03 -0800
Keith Packard <keithp at keithp.com> wrote:

> <#part sign=pgpmime>
> On Thu, 1 Mar 2012 12:37:47 -0800, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> > The intent here is to build enough of the configuration to allow
> > set_config to avoid mode setting if possible.
> 
> When I played with this, not setting the fb across this process tended
> to do 'bad' things to the hardware -- the scanout would get unmapped
> when the GTT was initialized...
> 

Yeah we shouldn't do that.  That's why I'd like to allocate a bo, copy
the contents, and have a real fb associated with each active crtc.
That should avoid any problems with scanning out unmapped memory.

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list