Re: [Intel-gfx] [PATCH] drm/i915: Disable all outputs early, beforeKMS takeover

From: Tomas Winkler
Date: Tue Apr 05 2011 - 06:21:15 EST


On Fri, Apr 1, 2011 at 2:51 PM, Pekka Enberg <penberg@xxxxxxxxxx> wrote:
> On Fri, Apr 1, 2011 at 2:44 PM, Daniel Vetter <daniel@xxxxxxxx> wrote:
>> On Tue, Mar 29, 2011 at 11:46:29AM +0100, Chris Wilson 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.
>>
>> This patch seems to fix resume flakiness (that recently developed
>> complete reliability in hanging the gpu) on my i855gm. Captured
>> error_states look as described here. Latest -staging merged into latest
>> -linus is now again fully reliable at s/r.
>>
>> Tested-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
>
> Unfortunately I get a blank screen with after boot:
> Nacked-by: Pekka Enberg <penberg@xxxxxxxxxx>

Not sure this is related, but when I enable DRM_I915_KMS=y I'm got
stuck after boot too. When KMS is disabled I can at least get to the
console (no graphics)
This is with kernel 2.6.39-rc1. It worked fine with 2.6.38. I don't
have much time bisect and reboot. Shell I try to pull drm-fixes for
rc2 or use try this patch?


lspci -vv
00:02.0 VGA compatible controller: Intel Corporation Core Processor
Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 0036
Flags: bus master, fast devsel, latency 0, IRQ 42
Memory at fe000000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f160 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

Thanks
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/