zaphod support broke the modesetting driver

Dave Airlie airlied at gmail.com
Sun Nov 15 15:05:53 PST 2015


On 16 November 2015 at 02:57, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
> Commit 19e1dc8f6ea6d7ff5ba4a5caa0e2f40a47879408 broke the modesetting
> driver quite badly on systems without XSERVER_PLATFORM_BUS.  The
> problem is that the "entity private" only gets set up when
> ms_platform_probe() gets called, but is used unconditionally in the
> driver.  So on systems where ms_platform_probe() doesn't get called,
> this results in a segmentation fault.
>
> I tried moving the code that sets up the entity private around a bit,
> but I couldn't get it to work as the entity private ends up being a
> NULL pointer.

Can you test the two patches I've just sent, one is just a cleanup
the second might fix this.

Dave.


More information about the xorg-devel mailing list