Date: Thu, 17 Sep 2015 14:47:43 +0100 From: David Chisnall <theraven@FreeBSD.org> To: "Lundberg, Johannes" <johannes@brilliantservice.co.jp> Cc: Adam McDougall <mcdouga9@egr.msu.edu>, "current@freebsd.org" <current@freebsd.org> Subject: Re: Intel Haswell support - Any updates? Message-ID: <CE161DF9-31E4-40A7-A4F8-C678607BFE99@FreeBSD.org> In-Reply-To: <CAASDrVnNuh%2BjT-%2BZFTriPELfOB78accBqGmrVUE-MDgDPZoicA@mail.gmail.com> References: <55FA7324.5010603@icloud.com> <CAASDrV=D6viCDJx9yT5CiNf1ukiz_Rp1k5wqpk92xSyiNQTEqg@mail.gmail.com> <CAPS9%2BSuYq6JqzX=aHNgD=y5SUnBQ4x_Amk-6B0bvKc6kRQ5YVA@mail.gmail.com> <CAASDrVnxZ8MUmgCO-cFRVatUMQS1LHU-4XASSJckzp_FJbvd2w@mail.gmail.com> <09A515F2-44BA-4DF0-9792-D4C56EEB9D7C@FreeBSD.org> <CAASDrVnuVfOsJvNuOsAQaHYRQqFenH%2B3=wNDBO5GR5j2KgxsxQ@mail.gmail.com> <114F22EF-61E3-4D75-84FB-9D6E3FBCB8F3@FreeBSD.org> <20150917131333.GN1247@egr.msu.edu> <CAASDrVnNuh%2BjT-%2BZFTriPELfOB78accBqGmrVUE-MDgDPZoicA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17 Sep 2015, at 14:41, Lundberg, Johannes = <johannes@brilliantservice.co.jp> wrote: >=20 > However, the problem now is not the driver right? But the whole = graphics > stack which has to be rewritten to work with new generation graphics = like > KMS, Wayland, etc? There are lots of different components here that you=E2=80=99re = conflating: - KMS is the thing that allows the kernel to be responsible for setting = the graphics mode, restoring it on context switches and so on. This has = worked on FreeBSD for a while. - GEM / TTM are memory managers, they allow the kernel to manage memory = (video memory and main memory allocated to the GPU) for GPU-using = drivers. These work on FreeBSD, but the supported version lags Linux = slightly. This is the focus of current work. - The i915 driver. This is the graphics driver for Intel GPUs. It uses = KMS and the memory manager functionality. Importing a newer version will = be possible once the underlying parts are done. - Wayland is a userland application that sits on top of DRI drivers, = just as X.org does. Most of the things Wayland needs that don=E2=80=99t = work on FreeBSD are not graphics related. The problem is that the developers *also* conflate them. Upstream i915 = developers will add KPIs to GEM / TTM / KMS to make their lives easier = and these features need bringing across to FreeBSD. David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE161DF9-31E4-40A7-A4F8-C678607BFE99>