Re: [PATCH] drm/i915: Disable all outputs early, before KMS takeover

Pekka Enberg
2011-04-05T15:11:39Z

[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]

Hi Chris,

On Tue, Apr 5, 2011 at 5:34 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> If the outputs are active and continuing to access the GATT when we
> teardown the PTEs, then there is a potential for us to hang the GPU.
> The hang tends to be a PGTBL_ER with either an invalid host access or
> an invalid display plane fetch.
>
> v2: Reorder IRQ initialisation to defer until after GEM is setup.
>
> Reported-by: Pekka Enberg <penberg@kernel.org>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Tested-by: Daniel Vetter <daniel.vetter@ffwll.ch> (855GM)

I no longer get a blank screen after boot but flicker got more
aggressive during boot (it calms down after I've logged in). I see
tons of these in dmesg that don't appear with 2.6.39-rc1:

[ 10.175843] [drm:intel_update_fbc],
[ 10.183100] [drm:i915_driver_irq_handler], pipe A underrun
[ 10.185085] [drm:i915_driver_irq_handler], pipe A underrun
[ 10.186082] [drm:i915_driver_irq_handler], pipe A underrun
[ 10.187087] [drm:i915_driver_irq_handler], pipe A underrun
[ 10.189082] [drm:i915_driver_irq_handler], pipe A underrun
[ 10.190085] [drm:i915_driver_irq_handler], pipe A underrun

I've attached the full dmesg.

Pekka

[-- Attachment #2: dmesg.gz --]
[-- Type: application/x-gzip, Size: 30692 bytes --]