diff mbox series

video: rockchip: fix HDMI 4K resolution

Message ID 20200629145344.15312-1-agust@denx.de
State Accepted
Commit 35ee34b2c2adc961e1ae4e68c5b7e380d7c448a0
Headers show
Series video: rockchip: fix HDMI 4K resolution | expand

Commit Message

Anatolij Gustschin June 29, 2020, 2:53 p.m. UTC
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 at denx.de>
Cc: Jagan Teki <jagan at amarulasolutions.com>
---
 drivers/video/rockchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jagan Teki June 29, 2020, 3:26 p.m. UTC | #1
On Mon, Jun 29, 2020 at 8:23 PM Anatolij Gustschin <agust at denx.de> wrote:
>
> 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 at denx.de>
> Cc: Jagan Teki <jagan at amarulasolutions.com>
> ---
>  drivers/video/rockchip/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig
> index cfd774ead6..5215a71f99 100644
> --- a/drivers/video/rockchip/Kconfig
> +++ b/drivers/video/rockchip/Kconfig
> @@ -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

Thanks for the patch I was miss reading 3480 as 3840 before.

Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>
Tested-by: Jagan Teki <jagan at amarulasolutions.com> # roc-rk3399-pc
Anatolij Gustschin June 29, 2020, 3:56 p.m. UTC | #2
On Mon, 29 Jun 2020 16:53:44 +0200
Anatolij Gustschin agust at denx.de wrote:

> 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 at denx.de>
> Cc: Jagan Teki <jagan at amarulasolutions.com>
> ---
>  drivers/video/rockchip/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-video/master.

--
Anatolij
diff mbox series

Patch

diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig
index cfd774ead6..5215a71f99 100644
--- a/drivers/video/rockchip/Kconfig
+++ b/drivers/video/rockchip/Kconfig
@@ -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.