[Intel-gfx] [PATCH] drm/i915: Sanitize the output registers after resume

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 12 20:01:11 CEST 2011


On Tue, 12 Apr 2011 10:26:36 -0700, Keith Packard <keithp at keithp.com> wrote:
> On Tue, 12 Apr 2011 18:06:51 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 
> > This patch rearranges the code we already have to clear up the
> > conflicting state upon init and calls it from reset (which is called
> > after we have lost control of the hardware, i.e. along both the boot and
> > resume paths) instead.
> 
> Note that intel_sanitize_modesetting does not do anything on PCH
> hardware yet. Otherwise, this looks like a reasonable plan.

Yes, at the moment the only scenario we've discovered is where the BIOS
sets up a conflicting pipe<->plane mapping, which is only possible before
PCH.

If we go hunting, we can probably find many more. :|
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list