Update:
Ah, my bad, I see the build instructions now in post #27 as you pointed out above.
In there Szybol says to use the config from his repo. You seem to be picking a different one. Did you try with that config? And probably also the patch is essential.
You're correct, the patches are essential because the functions that the KGSL and KGSL DRM drivers depend on no longer exist in the kernel version used, and the drivers themselves have been abandoned. So you essentially have to "forward-port" them up to the newer kernel. The re-introduction through the patches are a kludge however, and the MSM X11 drivers are rather unfinished. It's actually much easier to get a working Halium base running, than getting proper board and touch support from this project being quite honest, no offense. (And I've done quite a bit of attempts on this using different distributions and kernels as a base)
OP:
Doniks is correct, you need the KGSL patches that Syzbol has there if you want to use any kernel support for graphics and X11 (I don't recommend it, graphics acceleration is broken regardless and that particular branch of freedreno is no longer being serviced as often, instead Freedreno is part of the MESA project, and MESA requires Kernel Mode Setting [KMS] support, something our kernel lacks), as the KGSL driver had been neutered in more recent releases and is completely broken.
All in all, if you're going to go this route, look into PostmarketOS and it's use of the mainline kernel for our device, it's closer to what you want, but you'll need to work for it (for instance, it's package repository is rather limited since Alpine Linux is mostly used for ARM servers rather than ARM workstations, all GUI applications are compiled for x86/x86_64 with almost no ports over to Alpine ARM for PostmarketOS. There are other Cons to using the mainline kernel, for instance, I think Bluetooth still doesn't work properly, and a couple other board features are still broken. (I could be wrong though, there's been a lot of work done with little fanfare, so these could have been changed since the Mainline Kernel's announcement)
Last edited: