Hi Geert, Ulrich
Cc: Magnus
> I have pushed renesas-drivers-2016-04-26-v4.6-rc5 to
> https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git
>
> This tree is meant to ease development of platform support and drivers
> for Renesas ARM SoCs. It is created by merging (a) the for-next branches
> of various subsystem trees and (b) branches with driver code submitted
> or planned for submission to maintainers into the development branch of
> Simon Horman's renesas.git tree.
For HDMI output point of view,
as 1st step, it needs additional config. I attached it on this mail.
I know Geert don't like it, but I hope Ulrich can handle it in
formal version ;P
My main problem is that HDMI1 output (= from CN17) is broken
on this renesas-drivers version.
It doesn't have such issue on previous version.
renesas-drivers-2016-04-12-v4.6-rc3 : no problem
renesas-drivers-2016-04-26-v4.6-rc5 : HDMI1 output broken
This is log
--- 8< --------------------------
[ 12.531390] [CRTC:48] vblank wait timed out
[ 12.535647] ------------[ cut here ]------------
[ 12.541702] WARNING: CPU: 2 PID: 1274 at
/opt/home/morimoto/WORK/linux/drivers/gpu/drm/drm_atomic_helper.c:1106
drm_atomic_helper_wait_for_vblanks+0x228/0x230
[ 12.558807] Modules linked in:
[ 12.563323]
[ 12.566252] CPU: 2 PID: 1274 Comm: irq/169-feb0000 Not tainted 4.6.0-rc5+
#218
[ 12.574942] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 12.583210] task: ffffffc038dcbc00 ti: ffffffc038814000 task.ti:
ffffffc038814000
[ 12.592184] PC is at drm_atomic_helper_wait_for_vblanks+0x228/0x230
[ 12.599937] LR is at drm_atomic_helper_wait_for_vblanks+0x228/0x230
[ 12.607676] pc : [<ffffff80084593c8>] lr : [<ffffff80084593c8>] pstate:
60000145
[ 12.616562] sp : ffffffc038817a30
[ 12.621361] x29: ffffffc038817a30 x28: 0000000000000000
[ 12.628184] x27: ffffffc039188940 x26: 0000000000000098
[ 12.634988] x25: ffffffc038817ac0 x24: 0000000000000001
[ 12.641773] x23: 0000000000000130 x22: ffffffc039a9e800
[ 12.648552] x21: ffffffc038868400 x20: 0000000000000002
[ 12.655318] x19: ffffffc038880d80 x18: ffffff8088cf8d17
[ 12.662063] x17: 0000000000000007 x16: 0000000000000001
[ 12.668796] x15: 0000000000000006 x14: ffffff8008cf8d25
[ 12.675508] x13: ffffff8008cff150 x12: ffffffc039351470
[ 12.682202] x11: ffffff80088a9cc8 x10: 0000000000000001
[ 12.688879] x9 : 00000000ffffffff x8 : 0000000000000158
[ 12.695535] x7 : 0000000000000008 x6 : 0000000000000001
[ 12.702168] x5 : 0000000000000000 x4 : 0000000000000000
[ 12.708776] x3 : 0000000000000000 x2 : ffffffc03ef9c228
[ 12.715373] x1 : ffffffc038814000 x0 : 000000000000001f
[ 12.721962]
[ 12.724687] ---[ end trace d044c743a5b968f8 ]---
[ 12.730542] Call trace:
[ 12.734212] Exception stack(0xffffffc038817870 to 0xffffffc038817990)
[ 12.741857] 7860: ffffffc038880d80
0000000000000002
[ 12.750867] 7880: ffffffc038817a30 ffffff80084593c8 0000000000000002
ffffff8008cff150
[ 12.759873] 78a0: ffffffc0388178c0 ffffff8008a5b168 0000000100000001
ffffff8008cfcb98
[ 12.768856] 78c0: ffffffc038817960 ffffff80080f9e50 ffffff80080f9e18
ffffff8008a9a818
[ 12.777823] 78e0: ffffffc038868400 ffffffc039a9e800 0000000000000130
0000000000000001
[ 12.786768] 7900: ffffffc038817ac0 0000000000000098 000000000000001f
ffffffc038814000
[ 12.795692] 7920: ffffffc03ef9c228 0000000000000000 0000000000000000
0000000000000000
[ 12.804587] 7940: 0000000000000001 0000000000000008 0000000000000158
00000000ffffffff
[ 12.813451] 7960: 0000000000000001 ffffff80088a9cc8 ffffffc039351470
ffffff8008cff150
[ 12.822332] 7980: ffffff8008cf8d25 0000000000000006
[ 12.828274] [<ffffff80084593c8>]
drm_atomic_helper_wait_for_vblanks+0x228/0x230
[ 12.836672] [<ffffff8008487158>] rcar_du_atomic_complete+0x50/0xb8
[ 12.843934] [<ffffff8008487438>] rcar_du_atomic_commit+0x278/0x288
[ 12.851181] [<ffffff800847fee0>] drm_atomic_commit+0x40/0x70
[ 12.857893] [<ffffff800845c0c0>] restore_fbdev_mode+0x270/0x2b0
[ 12.864850] [<ffffff800845e604>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x90
[ 12.873636] [<ffffff800845e68c>] drm_fb_helper_set_par+0x2c/0x60
[ 12.880680] [<ffffff800845e570>] drm_fb_helper_hotplug_event+0xd8/0x138
[ 12.888288] [<ffffff800845f500>] drm_fbdev_cma_hotplug_event+0x10/0x20
[ 12.895755] [<ffffff80084874dc>] rcar_du_output_poll_changed+0x14/0x20
[ 12.903229] [<ffffff80084521e8>] drm_kms_helper_hotplug_event+0x28/0x38
[ 12.910797] [<ffffff8008452b70>] drm_helper_hpd_irq_event+0x100/0x190
[ 12.918185] [<ffffff80084b9e48>] dw_hdmi_irq+0xd0/0x180
[ 12.924341] [<ffffff80080fc3f0>] irq_thread_fn+0x28/0x68
[ 12.930564] [<ffffff80080fc6e0>] irq_thread+0x128/0x1e8
[ 12.936683] [<ffffff80080d5d98>] kthread+0xd0/0xe8
[ 12.942379] [<ffffff8008084e10>] ret_from_fork+0x10/0x40
--- 8< --------------------------
From 6119337a7547cf1eb9d9a95190b2055d2dce2687 Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <[email protected]>
Date: Thu, 31 Mar 2016 10:04:37 +0900
Subject: [PATCH] arm64: defconfig: add VIDEO_RENESAS_FCP
DRM_RCAR_VSP requests VIDEO_RENESAS_VSP1, and VIDEO_RENESAS_VSP1 requests
VIDEO_RENESAS_FCP. But VIDEO_RENESAS_FCP is not set on defconfig.
This patch adds it. Otherwise kernel goes to Oops.
Signed-off-by: Kuninori Morimoto <[email protected]>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7dabd25..67bbd65 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -186,6 +186,7 @@ CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_SOC_CAMERA=y
CONFIG_SOC_CAMERA_PLATFORM=y
CONFIG_V4L_MEM2MEM_DRIVERS=y
+CONFIG_VIDEO_RENESAS_FCP=y
CONFIG_VIDEO_RENESAS_VSP1=y
CONFIG_DRM=y
CONFIG_DRM_RCAR_DU=y
--
1.9.1