]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: rockchip: Support 4K resolution for rk3288, HDMI
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 23 Oct 2020 19:57:24 +0000 (01:27 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 30 Oct 2020 15:09:01 +0000 (23:09 +0800)
Like, rk3399 the rk3288 also supports 4K resolution.

So, enable it for rk3288 with HDMI platforms.

Right now, rockchip video drivers are supporting for rk3288,
rk3399 SoC families, so mark the 4K resolution by default
if it's an HDMI video out.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Cc: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
drivers/video/rockchip/Kconfig

index 5215a71f99fc90f6929a3becdcf6286c001b7bf7..0ade631bd5c0c78c1c4e91baa10d14c887ec481c 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 3840 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI
+       default 3840 if DISPLAY_ROCKCHIP_HDMI
        default 1920
        help
          The maximum horizontal resolution to support for the framebuffer.
@@ -32,7 +32,7 @@ config VIDEO_ROCKCHIP_MAX_XRES
 config VIDEO_ROCKCHIP_MAX_YRES
         int "Maximum vertical resolution (for memory allocation purposes)"
        depends on VIDEO_ROCKCHIP
-       default 2160 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI
+       default 2160 if DISPLAY_ROCKCHIP_HDMI
        default 1080
        help
          The maximum vertical resolution to support for the framebuffer.