Re: i915 completely broken with KMS off

From: Jesse Barnes
Date: Tue Jan 18 2011 - 12:16:59 EST


On Tue, 18 Jan 2011 22:57:01 +1100
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> Hi:
>
> I just upgraded my kernel on a machine with i915 and it has
> started crashing constantly with messages like this:
[snip]
> The cause is this changeset:
>
> commit 8187a2b70e34c727a06617441f74f202b6fefaf9
> Author: Zou Nan hai <nanhai.zou@xxxxxxxxx>
> Date: Fri May 21 09:08:55 2010 +0800
>
> drm/i915: introduce intel_ring_buffer structure (V2)
>
> This changeset completely broke i915 without KMS because the new
> intel_ring_buffer structure is never initialised with KMS off,
> unless the ioctl I915_GEM_ENTERVT is invoked.
>
> So without invoking that ioctl, the kernel will always crash
> whenever the i915 driver dereferences pointers on the render_ring
> data structure.
>
> Or is this a hint to get people to convert to KMS :)

Heh, well that would be one option for you. :)

The breakage was unintentional though; I imagine Chris will have an
idea of how to fix it quickly for you.

--
Jesse Barnes, Intel Open Source Technology Center
--
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/