Skip to content

Commit 1430f44

Browse files
openedevayufan
authored andcommitted
video: rockchip: Support 4K resolution for rk3399, HDMI
The default resolution for rockchip display is 1920x1080 which failed to work on 4K HDMI out displays on rk3399. So, mark the default resolution as 3480x2160 for rk3399 HDMI out. This would work all the hdmi display resolutions till 4K. Signed-off-by: Jagan Teki <[email protected]> Reviewed-by: Kever Yang <[email protected]>
1 parent 22649be commit 1430f44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/video/rockchip/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ menuconfig VIDEO_ROCKCHIP
2222
config VIDEO_ROCKCHIP_MAX_XRES
2323
int "Maximum horizontal resolution (for memory allocation purposes)"
2424
depends on VIDEO_ROCKCHIP
25+
default 3480 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI
2526
default 1920
2627
help
2728
The maximum horizontal resolution to support for the framebuffer.
@@ -31,6 +32,7 @@ config VIDEO_ROCKCHIP_MAX_XRES
3132
config VIDEO_ROCKCHIP_MAX_YRES
3233
int "Maximum vertical resolution (for memory allocation purposes)"
3334
depends on VIDEO_ROCKCHIP
35+
default 2160 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI
3436
default 1080
3537
help
3638
The maximum vertical resolution to support for the framebuffer.

0 commit comments

Comments
 (0)