[Mesa-dev] [PATCH 2/2] kmsro: Extend to include hx8357d.

Emil Velikov emil.l.velikov at gmail.com
Wed Oct 31 10:15:52 UTC 2018


On Tue, 30 Oct 2018 at 17:49, Eric Anholt <eric at anholt.net> wrote:
>
> Emil Velikov <emil.l.velikov at gmail.com> writes:
>
> > Hi Eric,
> >
> > On Thu, 25 Oct 2018 at 17:39, Eric Anholt <eric at anholt.net> wrote:
> >>
> >> This allows vc4 to initialize on the Adafruit PiTFT 3.5" touchscreen with
> >> the new tinydrm driver I just submitted.  If this series extending the
> >> pl111/kmsro driver is accepted, then I'll extend kmsro with the other
> >> tinydrm drivers as well.
> >
> > Have you considered teaching the DRI loader about this? Unlike the
> > tegra driver there's nothing special going on here.
> > Create a dumb buffer on the DC, export as dmabuf and let the GPU draw into it.
>
> The problem with modifying mesa's loaders, as I mentioned in my other
> reply, is that it means you need to update the xserver's loader and get
> that deployed everywhere, as well.

Agreed that retroactively fixing X isn't fun. At the same time, with
the config file suggestion in mind, it's a one off change that will
make code size and maintenance a lot easier.
We've already handled that with mega drivers and it turned out just fine.

-Emil


More information about the mesa-dev mailing list