]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: rockchip: fix HDMI 4K resolution
authorAnatolij Gustschin <agust@denx.de>
Mon, 29 Jun 2020 14:53:44 +0000 (16:53 +0200)
committerAnatolij Gustschin <agust@denx.de>
Mon, 29 Jun 2020 15:53:16 +0000 (17:53 +0200)
3480 is not valid XRES, use 3840 as default.

Fixes: 05c65a82c3c1 ("video: rockchip: Support 4K resolution for rk3399, HDMI")
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # roc-rk3399-pc
drivers/video/rockchip/Kconfig

index cfd774ead603bea9bcacac75b4488590bdbabea4..5215a71f99fc90f6929a3becdcf6286c001b7bf7 100644 (file)
@@ -22,7 +22,7 @@ menuconfig VIDEO_ROCKCHIP
 config VIDEO_ROCKCHIP_MAX_XRES
         int "Maximum horizontal resolution (for memory allocation purposes)"
        depends on VIDEO_ROCKCHIP
-       default 3480 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI
+       default 3840 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI
        default 1920
        help
          The maximum horizontal resolution to support for the framebuffer.