Thanks for the patch, but it did not solve my problem. I see the adjusted values in /sys/devices/soc0/soc/20e0000.hdmi_video/edid but my Qt app still crashes.
These modes are available for my screen (/sys/class/graphics/fb0/modes)
V:1024x768p-60,
V:800x600p-60,
V:640x480p-60,
D:1920x1080p-60,
D:1366x768p-60,
V:640x480p-60
I also tested my Qt app with 1024x768 (4:3) and 1920x1080 (16:9). The Qt app starts on both resolutions.
I think in my case I have the divided by 8 problem here.
Do you have any idea how to set/configure a custom HDMI resolution like 1360x768 in the kernel?