Created
June 22, 2020 18:20
-
-
Save openedev/8f559ace77e208678d860f319e821e8c to your computer and use it in GitHub Desktop.
RK3399 4K HDMI Out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c | |
index ff1a80384d..3bae22a5bc 100644 | |
--- a/drivers/video/rockchip/rk_vop.c | |
+++ b/drivers/video/rockchip/rk_vop.c | |
@@ -425,7 +425,7 @@ int rk_vop_bind(struct udevice *dev) | |
{ | |
struct video_uc_platdata *plat = dev_get_uclass_platdata(dev); | |
- plat->size = 4 * (CONFIG_VIDEO_ROCKCHIP_MAX_XRES * | |
+ plat->size = VIDEO_BPP32 * (CONFIG_VIDEO_ROCKCHIP_MAX_XRES * | |
CONFIG_VIDEO_ROCKCHIP_MAX_YRES); | |
return 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment