in rockchip driver it allocates memory for max 1080p, but nowadays we have 2K or higher resolution display, the edid returns with higher resolution, and video_clear in video-uclass will access violated memory space, this behavior will hang the u-boot.
this fix will restrict the max resolution it will support, because larger resolution will consume more memory which is not required for most situation.
in rockchip driver it allocates memory for max 1080p, but nowadays we have 2K or higher resolution display, the edid returns with higher resolution, and video_clear in video-uclass will access violated memory space, this behavior will hang the u-boot.
this fix will restrict the max resolution it will support, because larger resolution will consume more memory which is not required for most situation.