diff options
author | 2018-11-05 14:03:33 +0700 | |
---|---|---|
committer | 2018-12-20 11:18:52 +0700 | |
commit | fe33862b4404e03fc0f29fe3adc06bb136c020da (patch) | |
tree | d4efff312baf41f4114615a00c5de29c2014be39 /meta-rcar-gen3/recipes-multimedia/vspmif-module/files/0001-rcar_gen3-To-correspond-boards-that-do-not-support-F.patch | |
parent | f8c12f16f2257e7be7fad8651cc5103df61165fc (diff) |
rcar-gen3: vspm: Update SRCREV to follow the latest version
This commit updates SRCREV of vspm and vspmif driver to follow
the latest version for the following changes:
[vspmif_drv]
- Fixed an issue where vspmif could crash.
[vspmif_lib]
- To correspond boards that do not support Full HD.
[vspm_drv]
- Fix VI6_HGO/HGT_WBUFS setting from CPU write to Display List.
Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-multimedia/vspmif-module/files/0001-rcar_gen3-To-correspond-boards-that-do-not-support-F.patch')
-rw-r--r-- | meta-rcar-gen3/recipes-multimedia/vspmif-module/files/0001-rcar_gen3-To-correspond-boards-that-do-not-support-F.patch | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/meta-rcar-gen3/recipes-multimedia/vspmif-module/files/0001-rcar_gen3-To-correspond-boards-that-do-not-support-F.patch b/meta-rcar-gen3/recipes-multimedia/vspmif-module/files/0001-rcar_gen3-To-correspond-boards-that-do-not-support-F.patch deleted file mode 100644 index 9067c6e..0000000 --- a/meta-rcar-gen3/recipes-multimedia/vspmif-module/files/0001-rcar_gen3-To-correspond-boards-that-do-not-support-F.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 1f4c6a71cb34b9f8ce5b65db290f4526e3ec8333 Mon Sep 17 00:00:00 2001 -From: Sojiro Kusunoki <sojiro.kusunoki.zj@ps.hitachi-solutions.com> -Date: Thu, 18 Oct 2018 17:11:25 +0900 -Subject: [PATCH] rcar_gen3: To correspond boards that do not support Full HD - -Signed-off-by: Sojiro Kusunoki <sojiro.kusunoki.zj@ps.hitachi-solutions.com> -Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com> ---- - vspm_if-tp-user/files/vspm_if/README.txt | 2 +- - vspm_if-tp-user/files/vspm_if/vspm_tp_lossy.c | 27 ++++++++++++++++++++++++--- - 2 files changed, 25 insertions(+), 4 deletions(-) - -diff --git a/vspm_if-tp-user/files/vspm_if/README.txt b/vspm_if-tp-user/files/vspm_if/README.txt -index 79c86cb..6269c2b 100644 ---- a/vspm_if-tp-user/files/vspm_if/README.txt -+++ b/vspm_if-tp-user/files/vspm_if/README.txt -@@ -15,7 +15,7 @@ Sample programs for VSP Manager - - # monitor - -- Please connect a HDMI monitor that supports Full HD or higher resolution. -+ Please connect a HDMI monitor. - - - ## Sample programs -diff --git a/vspm_if-tp-user/files/vspm_if/vspm_tp_lossy.c b/vspm_if-tp-user/files/vspm_if/vspm_tp_lossy.c -index 2ce0390..7d49f08 100644 ---- a/vspm_if-tp-user/files/vspm_if/vspm_tp_lossy.c -+++ b/vspm_if-tp-user/files/vspm_if/vspm_tp_lossy.c -@@ -280,8 +280,16 @@ static void output_fb(struct vspm_tp_private_t *priv) - return; - } - -- vinfo.xres = 1920; -- vinfo.yres = 1080; -+ if (vinfo.xres_virtual > 1920) -+ vinfo.xres = 1920; -+ else -+ vinfo.xres = vinfo.xres_virtual; -+ -+ if (vinfo.yres_virtual > 1080) -+ vinfo.yres = 1080; -+ else -+ vinfo.yres = vinfo.yres_virtual; -+ - screensize = vinfo.xres * vinfo.yres * vinfo.bits_per_pixel / 8; - - fbp = (char*)mmap(0, screensize, PROT_READ|PROT_WRITE, MAP_SHARED, fbfd, 0); -@@ -291,7 +299,20 @@ static void output_fb(struct vspm_tp_private_t *priv) - return; - } - -- memcpy(fbp, (unsigned char*)priv->out_virt, screensize); -+ if (vinfo.xres == 1920 && vinfo.yres == 1080) { -+ memcpy(fbp, (unsigned char*)priv->out_virt, screensize); -+ } else { -+ int i; -+ unsigned char *pto, *pfrom; -+ -+ pto = (unsigned char *)fbp; -+ pfrom = (unsigned char *)priv->out_virt; -+ for (i = 0; i < vinfo.yres; i++) { -+ memcpy(pto, pfrom, vinfo.xres * vinfo.bits_per_pixel / 8); -+ pto += (vinfo.xres * vinfo.bits_per_pixel / 8); -+ pfrom += (1920 * 4); -+ } -+ } - - ercd = ioctl(fbfd, FBIOPAN_DISPLAY, &vinfo); - if (ercd) { --- -1.9.1 - |