I finally managed to get panel working on the Xiaomi 12. I would like to curse at Qualcomm for the mistake I had in my panel driver for the last year, because it was not obvious at all. Anyways, time to get SM8450 working in all its glory from here! So much is already done :D