Hi Eric, On Thu, 25 Oct 2018 at 17:39, Eric Anholt <e...@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. Perhaps with we can have some code for the DC <> GPU mapping and at later stage move it to an external file. This way adding new combinations will be trivial addition to that, instead of having yet another driver. -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev