All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: drm/exynos: Add atomic modesetting support
@ 2015-05-15 11:44 Tobias Jakobi
  2015-05-18 19:51 ` Gustavo Padovan
  0 siblings, 1 reply; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-15 11:44 UTC (permalink / raw)
  To: gustavo, inki.dae, linux-samsung-soc, dri-devel, liquid.acid

Hello,

I did another run with drm.debug=0xff and also tried to figure out where 
the div-by-zero comes from.

The only division I see is in fimd_calc_clkdiv() (which is called by 
fimd_commit()). So it looks like 'ideal_clk' is zero when calling 
DIV_ROUND_UP().

'htotal' and 'vtotal' can't be zero, since this is checked early in 
fimd_commit(). So 'vrefresh' has to be zero. Maybe this helps?


With best wishes,
Tobias

kernel log:
[  178.351424] [drm:drm_stub_open]
[  178.351443] [drm:drm_open_helper] pid = 2645, minor = 0
[  178.351457] [drm:ipp_subdrv_open] done priv[0xed9b6410]
[  178.351469] [drm:drm_setup]
[  178.351501] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_VERSION
[  178.351515] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_VERSION
[  178.351544] [drm:drm_release] open_count = 1
[  178.351559] [drm:drm_release] pid = 2645, device = 0xe200, open_count 
= 1
[  178.351575] [drm:drm_lastclose]
[  178.351667] [drm:drm_atomic_state_alloc] Allocate atomic state 
ec0567c0
[  178.351685] [drm:drm_atomic_get_crtc_state] Added [CRTC:21] ed0e2e00 
state to ec0567c0
[  178.351697] [drm:drm_atomic_get_plane_state] Added [PLANE:17] 
ec056c80 state to ec0567c0
[  178.351706] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ec056c80 to [NOCRTC]
[  178.351714] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane 
state ec056c80
[  178.351724] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:21] to ec0567c0
[  178.351734] [drm:drm_atomic_check_only] checking ec0567c0
[  178.351749] [drm:drm_atomic_commit] commiting ec0567c0
[  178.351764] [drm:drm_atomic_state_clear] Clearing atomic state 
ec0567c0
[  178.351778] [drm:drm_atomic_state_free] Freeing atomic state ec0567c0
[  178.351794] [drm:drm_atomic_state_alloc] Allocate atomic state 
ec0567c0
[  178.351806] [drm:drm_atomic_get_crtc_state] Added [CRTC:29] ed0e2a00 
state to ec0567c0
[  178.351817] [drm:drm_atomic_get_plane_state] Added [PLANE:24] 
ec056d00 state to ec0567c0
[  178.351826] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ec056d00 to [CRTC:29]
[  178.351835] [drm:drm_framebuffer_reference] ee266c00: FB ID: 40 (1)
[  178.351842] [drm:drm_atomic_set_fb_for_plane] Set [FB:40] for plane 
state ec056d00
[  178.351854] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:31] 
ec0560c0 state to ec0567c0
[  178.351871] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:29] to ec0567c0
[  178.351886] [drm:drm_atomic_set_crtc_for_connector] Link connector 
state ec0560c0 to [CRTC:29]
[  178.351899] [drm:drm_atomic_check_only] checking ec0567c0
[  178.351915] [drm:drm_atomic_helper_check_modeset] [CRTC:29] mode 
changed
[  178.351928] [drm:drm_atomic_helper_check_modeset] [CRTC:29] enable 
changed
[  178.351942] [drm:update_connector_routing] Updating routing for 
[CONNECTOR:31:VGA-1]
[  178.351959] [drm:update_connector_routing] [CONNECTOR:31:VGA-1] using 
[ENCODER:30:TMDS-30] on [CRTC:29]
[  178.351973] [drm:drm_atomic_helper_check_modeset] [CRTC:29] active 
changed
[  178.351990] [drm:drm_atomic_helper_check_modeset] [CRTC:29] needs all 
connectors, enable: y, active: y
[  178.352006] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:29] to ec0567c0
[  178.352020] [drm:drm_atomic_connectors_for_crtc] State ec0567c0 has 1 
connectors for [CRTC:29]
[  178.352032] [drm:exynos_drm_fb_buffer] dma_addr = 0x20100000
[  178.352040] [drm:exynos_plane_atomic_check] buffer: 0, dma_addr = 
0x20100000
[  178.352048] [drm:drm_atomic_commit] commiting ec0567c0
[  178.352058] [drm:crtc_set_mode] modeset on [CRTC:29]
[  178.352065] [drm:crtc_set_mode] modeset on [ENCODER:30:TMDS-30]
[  178.352093] [drm:exynos_plane_mode_set] plane : offset_x/y(0,0), 
width/height(1366,768)
[  178.352102] [drm:drm_atomic_helper_commit_modeset_enables] enabling 
[CRTC:29]
[  178.352111] [drm:fimd_dpms] drivers/gpu/drm/exynos/exynos_drm_fimd.c, 
0
[  178.352168] Division by zero in kernel.
[  178.352181] CPU: 1 PID: 2645 Comm: lt-modetest Not tainted 
4.1.0-rc3-debug+ #2
[  178.352187] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[  178.352194] Backtrace:
[  178.352219] [<c00132b0>] (dump_backtrace) from [<c00134c8>] 
(show_stack+0x18/0x1c)
[  178.352225]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
[  178.352253] [<c00134b0>] (show_stack) from [<c04f2138>] 
(dump_stack+0x88/0xc8)
[  178.352265] [<c04f20b0>] (dump_stack) from [<c0013434>] 
(__div0+0x1c/0x20)
[  178.352270]  r6:00000003 r5:00000000 r4:ed9cd010 r3:00000000
[  178.352293] [<c0013418>] (__div0) from [<c020dc14>] (Ldiv0+0x8/0x10)
[  178.352309] [<c02b5e08>] (fimd_commit) from [<c02b6200>] 
(fimd_poweron.part.9+0xd4/0x19c)
[  178.352314]  r9:ee14cc00 r8:c06ffcbc r7:c0748f94 r6:ed9cda70 
r5:ed9cd010 r4:00000005
[  178.352338] [<c02b612c>] (fimd_poweron.part.9) from [<c02b6354>] 
(fimd_dpms+0x8c/0xb4)
[  178.352344]  r6:ee14cc00 r5:00000000 r4:c0748f94 r3:00000001
[  178.352363] [<c02b62c8>] (fimd_dpms) from [<c02b1bf4>] 
(exynos_drm_crtc_enable+0x34/0x7c)
[  178.352369]  r6:ec0567c0 r5:ed9cd020 r4:ee14cc00 r3:c02b62c8
[  178.352393] [<c02b1bc0>] (exynos_drm_crtc_enable) from [<c028c0e8>] 
(drm_atomic_helper_commit_modeset_enables+0x98/0x1c8)
[  178.352399]  r5:ee14cc00 r4:00000001
[  178.352416] [<c028c050>] (drm_atomic_helper_commit_modeset_enables) 
from [<c028e6ac>] (drm_atomic_helper_commit+0x124/0x170)
[  178.352421]  r8:00000000 r7:ed978000 r6:00000000 r5:ec0567c0 
r4:0000000b r3:00000000
[  178.352445] [<c028e588>] (drm_atomic_helper_commit) from [<c02b2794>] 
(exynos_atomic_commit+0x14/0x18)
[  178.352450]  r8:ee14cc00 r7:00000000 r6:ee2385a8 r5:ed978000 
r4:ec0567c0 r3:c02b2780
[  178.352473] [<c02b2780>] (exynos_atomic_commit) from [<c02af928>] 
(drm_atomic_commit+0x4c/0x6c)
[  178.352483] [<c02af8dc>] (drm_atomic_commit) from [<c028d250>] 
(drm_atomic_helper_set_config+0x31c/0x428)
[  178.352489]  r5:ec0567c0 r4:00000003
[  178.352508] [<c028cf34>] (drm_atomic_helper_set_config) from 
[<c029f14c>] (drm_mode_set_config_internal+0x60/0xdc)
[  178.352514]  r10:00000000 r9:ed978000 r8:ee238300 r7:ee14cc00 
r6:00000002 r5:00000050
[  178.352533]  r4:ee266c00
[  178.352547] [<c029f0ec>] (drm_mode_set_config_internal) from 
[<c0290c2c>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
[  178.352553]  r7:ee2385a8 r6:00000002 r5:00000050 r4:00000000
[  178.352573] [<c0290b40>] (drm_fb_helper_restore_fbdev_mode_unlocked) 
from [<c02b2658>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
[  178.352579]  r10:ed97814c r9:ed051c00 r8:ed978034 r7:ed978000 
r6:ed978058 r5:c0748f94
[  178.352598]  r4:ed978000
[  178.352609] [<c02b2630>] (exynos_drm_fbdev_restore_mode) from 
[<c02b1068>] (exynos_drm_lastclose+0x10/0x14)
[  178.352619] [<c02b1058>] (exynos_drm_lastclose) from [<c0294564>] 
(drm_lastclose+0x3c/0x10c)
[  178.352627] [<c0294528>] (drm_lastclose) from [<c0294974>] 
(drm_release+0x340/0x4e0)
[  178.352633]  r6:ed978058 r5:ec2a16a8 r4:ec2a1600 r3:00000000
[  178.352658] [<c0294634>] (drm_release) from [<c0103ca8>] 
(__fput+0xa0/0x1e4)
[  178.352663]  r10:00000000 r9:00000008 r8:ed84f600 r7:edc0c428 
r6:edb67b10 r5:ed84f600
[  178.352681]  r4:ec2a1700
[  178.352693] [<c0103c08>] (__fput) from [<c0103e58>] 
(____fput+0x10/0x14)
[  178.352698]  r10:00000000 r9:ec11e000 r8:c000fc04 r7:ed918a80 
r6:c0718ef8 r5:00000000
[  178.352717]  r4:ed918e84
[  178.352732] [<c0103e48>] (____fput) from [<c00473b0>] 
(task_work_run+0xb8/0xfc)
[  178.352746] [<c00472f8>] (task_work_run) from [<c0012ec8>] 
(do_work_pending+0x88/0xa8)
[  178.352752]  r7:00000006 r6:ec11ffb0 r5:c000fc04 r4:ec11e000
[  178.352772] [<c0012e40>] (do_work_pending) from [<c000faa4>] 
(work_pending+0xc/0x20)
[  178.352778]  r6:00000000 r5:00000001 r4:00000003 r3:00000000
[  178.352802] [drm:fimd_win_commit] start addr = 0x20100000, end addr = 
0x20500800, size = 0x400800
[  178.352810] [drm:fimd_win_commit] ovl_width = 1366, ovl_height = 768
[  178.352819] [drm:fimd_win_commit] osd pos: tx = 0, ty = 0, bx = 1365, 
by = 767
[  178.352827] [drm:fimd_win_commit] osd size = 0x100200
[  178.352834] [drm:fimd_win_set_pixfmt] bpp = 32
[  178.352846] Division by zero in kernel.
[  178.352857] CPU: 1 PID: 2645 Comm: lt-modetest Not tainted 
4.1.0-rc3-debug+ #2
[  178.352863] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[  178.352868] Backtrace:
[  178.352882] [<c00132b0>] (dump_backtrace) from [<c00134c8>] 
(show_stack+0x18/0x1c)
[  178.352888]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
[  178.352911] [<c00134b0>] (show_stack) from [<c04f2138>] 
(dump_stack+0x88/0xc8)
[  178.352922] [<c04f20b0>] (dump_stack) from [<c0013434>] 
(__div0+0x1c/0x20)
[  178.352928]  r6:00000003 r5:00000000 r4:ed9cd010 r3:00000000
[  178.352949] [<c0013418>] (__div0) from [<c020dc14>] (Ldiv0+0x8/0x10)
[  178.352961] [<c02b5e08>] (fimd_commit) from [<c02b1c38>] 
(exynos_drm_crtc_enable+0x78/0x7c)
[  178.352967]  r9:ee14cc00 r8:c06ffcbc r7:c0748f94 r6:ec0567c0 
r5:ed9cd020 r4:ee14cc00
[  178.352992] [<c02b1bc0>] (exynos_drm_crtc_enable) from [<c028c0e8>] 
(drm_atomic_helper_commit_modeset_enables+0x98/0x1c8)
[  178.352998]  r5:ee14cc00 r4:00000001
[  178.353038] [<c028c050>] (drm_atomic_helper_commit_modeset_enables) 
from [<c028e6ac>] (drm_atomic_helper_commit+0x124/0x170)
[  178.353053]  r8:00000000 r7:ed978000 r6:00000000 r5:ec0567c0 
r4:0000000b r3:00000000
[  178.353114] [<c028e588>] (drm_atomic_helper_commit) from [<c02b2794>] 
(exynos_atomic_commit+0x14/0x18)
[  178.353127]  r8:ee14cc00 r7:00000000 r6:ee2385a8 r5:ed978000 
r4:ec0567c0 r3:c02b2780
[  178.353190] [<c02b2780>] (exynos_atomic_commit) from [<c02af928>] 
(drm_atomic_commit+0x4c/0x6c)
[  178.353212] [<c02af8dc>] (drm_atomic_commit) from [<c028d250>] 
(drm_atomic_helper_set_config+0x31c/0x428)
[  178.353224]  r5:ec0567c0 r4:00000003
[  178.353261] [<c028cf34>] (drm_atomic_helper_set_config) from 
[<c029f14c>] (drm_mode_set_config_internal+0x60/0xdc)
[  178.353273]  r10:00000000 r9:ed978000 r8:ee238300 r7:ee14cc00 
r6:00000002 r5:00000050
[  178.353328]  r4:ee266c00
[  178.353351] [<c029f0ec>] (drm_mode_set_config_internal) from 
[<c0290c2c>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
[  178.353356]  r7:ee2385a8 r6:00000002 r5:00000050 r4:00000000
[  178.353377] [<c0290b40>] (drm_fb_helper_restore_fbdev_mode_unlocked) 
from [<c02b2658>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
[  178.353383]  r10:ed97814c r9:ed051c00 r8:ed978034 r7:ed978000 
r6:ed978058 r5:c0748f94
[  178.353401]  r4:ed978000
[  178.353412] [<c02b2630>] (exynos_drm_fbdev_restore_mode) from 
[<c02b1068>] (exynos_drm_lastclose+0x10/0x14)
[  178.353422] [<c02b1058>] (exynos_drm_lastclose) from [<c0294564>] 
(drm_lastclose+0x3c/0x10c)
[  178.353431] [<c0294528>] (drm_lastclose) from [<c0294974>] 
(drm_release+0x340/0x4e0)
[  178.353436]  r6:ed978058 r5:ec2a16a8 r4:ec2a1600 r3:00000000
[  178.353456] [<c0294634>] (drm_release) from [<c0103ca8>] 
(__fput+0xa0/0x1e4)
[  178.353462]  r10:00000000 r9:00000008 r8:ed84f600 r7:edc0c428 
r6:edb67b10 r5:ed84f600
[  178.353480]  r4:ec2a1700
[  178.353492] [<c0103c08>] (__fput) from [<c0103e58>] 
(____fput+0x10/0x14)
[  178.353498]  r10:00000000 r9:ec11e000 r8:c000fc04 r7:ed918a80 
r6:c0718ef8 r5:00000000
[  178.353516]  r4:ed918e84
[  178.353530] [<c0103e48>] (____fput) from [<c00473b0>] 
(task_work_run+0xb8/0xfc)
[  178.353542] [<c00472f8>] (task_work_run) from [<c0012ec8>] 
(do_work_pending+0x88/0xa8)
[  178.353547]  r7:00000006 r6:ec11ffb0 r5:c000fc04 r4:ec11e000
[  178.353567] [<c0012e40>] (do_work_pending) from [<c000faa4>] 
(work_pending+0xc/0x20)
[  178.353573]  r6:00000000 r5:00000001 r4:00000003 r3:00000000
[  178.353591] [drm:drm_atomic_helper_commit_modeset_enables] enabling 
[ENCODER:30:TMDS-30]
[  178.353603] [drm:drm_vblank_enable] enabling vblank on crtc 1, ret: 0
[  178.353613] [drm:drm_update_vblank_count] updating vblank count on 
crtc 1, missed 0
[  178.401638] [drm:drm_atomic_state_clear] Clearing atomic state 
ec0567c0
[  178.401654] [drm:drm_atomic_state_free] Freeing atomic state ec0567c0
[  178.401668] [drm:drm_framebuffer_reference] ee266c00: FB ID: 40 (2)
[  178.401683] [drm:drm_atomic_state_alloc] Allocate atomic state 
ec0567c0
[  178.401698] [drm:drm_atomic_get_crtc_state] Added [CRTC:35] ed0e2800 
state to ec0567c0
[  178.401710] [drm:drm_atomic_get_plane_state] Added [PLANE:32] 
ec056f80 state to ec0567c0
[  178.401718] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ec056f80 to [NOCRTC]
[  178.401725] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane 
state ec056f80
[  178.401735] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:35] to ec0567c0
[  178.401744] [drm:drm_atomic_check_only] checking ec0567c0
[  178.401756] [drm:drm_atomic_commit] commiting ec0567c0
[  178.401768] [drm:drm_atomic_state_clear] Clearing atomic state 
ec0567c0
[  178.401779] [drm:drm_atomic_state_free] Freeing atomic state ec0567c0
[  178.401790] [drm:drm_framebuffer_reference] ee266c00: FB ID: 40 (3)
[  178.401798] [drm:drm_framebuffer_unreference] ee266c00: FB ID: 40 (4)
[  178.401811] [drm:drm_lastclose] driver lastclose completed
[  178.401820] [drm:drm_lastclose] lastclose completed
[  178.401889] [drm:drm_stub_open]
[  178.401902] [drm:drm_open_helper] pid = 2645, minor = 0
[  178.401916] [drm:ipp_subdrv_open] done priv[0xed9b6410]
[  178.401927] [drm:drm_setup]
[  178.401947] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_VERSION
[  178.401960] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_VERSION
[  178.401996] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_GET_UNIQUE
[  178.402007] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_GET_UNIQUE
[  178.402038] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_SET_CLIENT_CAP
[  178.402056] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETRESOURCES
[  178.402068] [drm:drm_mode_getresources] CRTC[3] CONNECTORS[3] 
ENCODERS[3]
[  178.402078] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETRESOURCES
[  178.402089] [drm:drm_mode_getresources] CRTC[3] CONNECTORS[3] 
ENCODERS[3]
[  178.402109] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCRTC
[  178.402129] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCRTC
[  178.402147] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCRTC
[  178.402168] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETENCODER
[  178.402181] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETENCODER
[  178.402193] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETENCODER
[  178.402209] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  178.402218] [drm:drm_mode_getconnector] [CONNECTOR:23:?]
[  178.402229] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:23:Virtual-1]
[  178.402238] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:23:Virtual-1] disconnected
[  178.402252] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  178.402261] [drm:drm_mode_getconnector] [CONNECTOR:23:?]
[  178.402277] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  178.402285] [drm:drm_mode_getconnector] [CONNECTOR:31:?]
[  178.402295] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:31:VGA-1]
[  178.402316] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:31:VGA-1] probed modes :
[  178.402330] [drm:drm_mode_debug_printmodeline] Modeline 38:"1366x768" 
0 500 1366 1414 1446 1526 768 771 776 790 0x48 0x5
[  178.402344] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  178.402352] [drm:drm_mode_getconnector] [CONNECTOR:31:?]
[  178.402369] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  178.402377] [drm:drm_mode_getconnector] [CONNECTOR:37:?]
[  178.402387] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:37:HDMI-A-1]
[  178.402402] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:37:HDMI-A-1] disconnected
[  178.402415] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  178.402423] [drm:drm_mode_getconnector] [CONNECTOR:37:?]
[  178.402445] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402471] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402495] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402518] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402542] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402565] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402589] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402612] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402641] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402667] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402698] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402723] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402748] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402772] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402796] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402820] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402846] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402870] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.402896] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402920] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402944] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402967] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.402997] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANERESOURCES
[  178.403009] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANERESOURCES
[  178.403027] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403039] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403052] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403064] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403077] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403088] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403101] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403113] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403125] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403137] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403165] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403178] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403191] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403202] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403215] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403226] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403238] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403249] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403262] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403273] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403285] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403296] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  178.403309] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403333] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403359] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403383] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403410] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403434] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403460] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403484] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403511] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403534] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403559] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403583] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403608] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403632] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403658] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403681] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403705] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403729] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403754] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403778] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403804] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403827] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403852] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403876] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403902] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403926] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.403951] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.403975] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404001] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404025] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404051] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404074] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404099] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404123] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404149] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404173] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404199] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404223] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404247] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404271] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404297] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404321] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404348] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404371] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404396] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404420] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404445] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404469] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404495] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404518] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404543] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404567] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404601] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404625] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404650] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404674] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  178.404700] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404724] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404750] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.404773] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  178.406785] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPBLOB
[  178.406824] [drm:drm_ioctl] ret = -2
[  178.407568] [drm:drm_ioctl] pid=2645, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPBLOB
[  178.407593] [drm:drm_ioctl] ret = -2
[  178.431659] [drm:drm_release] open_count = 1
[  178.431681] [drm:drm_release] pid = 2645, device = 0xe200, open_count 
= 1
[  178.431699] [drm:drm_lastclose]
[  178.431731] [drm:drm_atomic_state_alloc] Allocate atomic state 
ec0561c0
[  178.431746] [drm:drm_atomic_get_crtc_state] Added [CRTC:21] ed0e3800 
state to ec0561c0
[  178.431758] [drm:drm_atomic_get_plane_state] Added [PLANE:17] 
ec056d80 state to ec0561c0
[  178.431766] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ec056d80 to [NOCRTC]
[  178.431774] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane 
state ec056d80
[  178.431784] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:21] to ec0561c0
[  178.431794] [drm:drm_atomic_check_only] checking ec0561c0
[  178.431806] [drm:drm_atomic_commit] commiting ec0561c0
[  178.431819] [drm:drm_atomic_state_clear] Clearing atomic state 
ec0561c0
[  178.431828] [drm:drm_atomic_state_free] Freeing atomic state ec0561c0
[  178.431840] [drm:drm_framebuffer_reference] ee266c00: FB ID: 40 (3)
[  178.431849] [drm:drm_framebuffer_unreference] ee266c00: FB ID: 40 (4)
[  178.431861] [drm:drm_atomic_state_alloc] Allocate atomic state 
ec0561c0
[  178.431872] [drm:drm_atomic_get_crtc_state] Added [CRTC:29] ed0e2e00 
state to ec0561c0
[  178.431882] [drm:drm_framebuffer_reference] ee266c00: FB ID: 40 (3)
[  178.431890] [drm:drm_atomic_get_plane_state] Added [PLANE:24] 
ec056c80 state to ec0561c0
[  178.431899] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ec056c80 to [CRTC:29]
[  178.431907] [drm:drm_framebuffer_unreference] ee266c00: FB ID: 40 (4)
[  178.431915] [drm:drm_framebuffer_reference] ee266c00: FB ID: 40 (3)
[  178.431922] [drm:drm_atomic_set_fb_for_plane] Set [FB:40] for plane 
state ec056c80
[  178.431934] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:31] 
ec056040 state to ec0561c0
[  178.431943] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:29] to ec0561c0
[  178.431952] [drm:drm_atomic_set_crtc_for_connector] Link connector 
state ec056040 to [NOCRTC]
[  178.431960] [drm:drm_atomic_set_crtc_for_connector] Link connector 
state ec056040 to [CRTC:29]
[  178.431967] [drm:drm_atomic_check_only] checking ec0561c0
[  178.431977] [drm:update_connector_routing] Updating routing for 
[CONNECTOR:31:VGA-1]
[  178.431987] [drm:update_connector_routing] [CONNECTOR:31:VGA-1] keeps 
[ENCODER:30:TMDS-30], now on [CRTC:29]
[  178.431996] [drm:exynos_drm_fb_buffer] dma_addr = 0x20100000
[  178.432004] [drm:exynos_plane_atomic_check] buffer: 0, dma_addr = 
0x20100000
[  178.432012] [drm:drm_atomic_commit] commiting ec0561c0
[  178.432023] [drm:exynos_plane_mode_set] plane : offset_x/y(0,0), 
width/height(1366,768)
[  178.432034] [drm:fimd_win_commit] start addr = 0x20100000, end addr = 
0x20500800, size = 0x400800
[  178.432042] [drm:fimd_win_commit] ovl_width = 1366, ovl_height = 768
[  178.432051] [drm:fimd_win_commit] osd pos: tx = 0, ty = 0, bx = 1365, 
by = 767
[  178.432058] [drm:fimd_win_commit] osd size = 0x100200
[  178.432066] [drm:fimd_win_set_pixfmt] bpp = 32
[  178.432075] [drm:drm_atomic_state_clear] Clearing atomic state 
ec0561c0
[  178.432085] [drm:drm_framebuffer_unreference] ee266c00: FB ID: 40 (4)
[  178.432093] [drm:drm_atomic_state_free] Freeing atomic state ec0561c0
[  178.432104] [drm:drm_framebuffer_reference] ee266c00: FB ID: 40 (3)
[  178.432112] [drm:drm_framebuffer_unreference] ee266c00: FB ID: 40 (4)
[  178.432124] [drm:drm_atomic_state_alloc] Allocate atomic state 
ec0561c0
[  178.432135] [drm:drm_atomic_get_crtc_state] Added [CRTC:35] ed0e2a00 
state to ec0561c0
[  178.432146] [drm:drm_atomic_get_plane_state] Added [PLANE:32] 
ec056d00 state to ec0561c0
[  178.432154] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ec056d00 to [NOCRTC]
[  178.432161] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane 
state ec056d00
[  178.432171] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:35] to ec0561c0
[  178.432178] [drm:drm_atomic_check_only] checking ec0561c0
[  178.432187] [drm:drm_atomic_commit] commiting ec0561c0
[  178.432198] [drm:drm_atomic_state_clear] Clearing atomic state 
ec0561c0
[  178.432206] [drm:drm_atomic_state_free] Freeing atomic state ec0561c0
[  178.432217] [drm:drm_framebuffer_reference] ee266c00: FB ID: 40 (3)
[  178.432225] [drm:drm_framebuffer_unreference] ee266c00: FB ID: 40 (4)
[  178.432235] [drm:drm_lastclose] driver lastclose completed
[  178.432244] [drm:drm_lastclose] lastclose completed

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-15 11:44 drm/exynos: Add atomic modesetting support Tobias Jakobi
@ 2015-05-18 19:51 ` Gustavo Padovan
  2015-05-18 20:35   ` Daniel Stone
  0 siblings, 1 reply; 23+ messages in thread
From: Gustavo Padovan @ 2015-05-18 19:51 UTC (permalink / raw)
  To: Tobias Jakobi; +Cc: inki.dae, linux-samsung-soc, dri-devel, liquid.acid

Hi Tobias,

2015-05-15 Tobias Jakobi <tjakobi@math.uni-bielefeld.de>:

> Hello,
> 
> I did another run with drm.debug=0xff and also tried to figure out where the
> div-by-zero comes from.
> 
> The only division I see is in fimd_calc_clkdiv() (which is called by
> fimd_commit()). So it looks like 'ideal_clk' is zero when calling
> DIV_ROUND_UP().
> 
> 'htotal' and 'vtotal' can't be zero, since this is checked early in
> fimd_commit(). So 'vrefresh' has to be zero. Maybe this helps?

What is is the output when you run with this patch:

diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index 12ab80c..f5d215d 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -310,6 +310,8 @@ static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
        unsigned long ideal_clk = mode->htotal * mode->vtotal * mode->vrefresh;
        u32 clkdiv;
 
+       DRM_DEBUG_KMS("vrefresh %d\n", mode->vrefresh);
+
        if (ctx->i80_if) {
                /*
                 * The frame done interrupt should be occurred prior to the
@@ -328,6 +330,7 @@ static bool fimd_mode_fixup(struct exynos_drm_crtc *crtc,
                const struct drm_display_mode *mode,
                struct drm_display_mode *adjusted_mode)
 {
+       DRM_DEBUG_KMS("vrefresh %d\n", adjusted_mode->vrefresh);
        if (adjusted_mode->vrefresh == 0)
                adjusted_mode->vrefresh = FIMD_DEFAULT_FRAMERATE;
 

^ permalink raw reply related	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-18 19:51 ` Gustavo Padovan
@ 2015-05-18 20:35   ` Daniel Stone
  2015-05-18 21:02     ` Gustavo Padovan
  0 siblings, 1 reply; 23+ messages in thread
From: Daniel Stone @ 2015-05-18 20:35 UTC (permalink / raw)
  To: Gustavo Padovan, Tobias Jakobi, inki.dae, linux-samsung-soc,
	dri-devel, liquid.acid


[-- Attachment #1.1: Type: text/plain, Size: 1870 bytes --]

Hi,

On Monday, May 18, 2015, Gustavo Padovan <gustavo@padovan.org> wrote:

> Hi Tobias,
>
> 2015-05-15 Tobias Jakobi <tjakobi@math.uni-bielefeld.de <javascript:;>>:
> > I did another run with drm.debug=0xff and also tried to figure out where
> the
> > div-by-zero comes from.
> >
> > The only division I see is in fimd_calc_clkdiv() (which is called by
> > fimd_commit()). So it looks like 'ideal_clk' is zero when calling
> > DIV_ROUND_UP().
> >
> > 'htotal' and 'vtotal' can't be zero, since this is checked early in
> > fimd_commit(). So 'vrefresh' has to be zero. Maybe this helps?
>
> What is is the output when you run with this patch:
>
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> index 12ab80c..f5d215d 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> @@ -310,6 +310,8 @@ static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
>         unsigned long ideal_clk = mode->htotal * mode->vtotal *
> mode->vrefresh;
>         u32 clkdiv;
>
> +       DRM_DEBUG_KMS("vrefresh %d\n", mode->vrefresh);
> +
>         if (ctx->i80_if) {
>                 /*
>                  * The frame done interrupt should be occurred prior to the
> @@ -328,6 +330,7 @@ static bool fimd_mode_fixup(struct exynos_drm_crtc
> *crtc,
>                 const struct drm_display_mode *mode,
>                 struct drm_display_mode *adjusted_mode)
>  {
> +       DRM_DEBUG_KMS("vrefresh %d\n", adjusted_mode->vrefresh);
>         if (adjusted_mode->vrefresh == 0)
>                 adjusted_mode->vrefresh = FIMD_DEFAULT_FRAMERATE;
>

vrefresh can legitimately be zero, which makes this FIMD_DEFAULT_FRAMERATE
assignment problematic rather than harmless.

If it's zero, you can find a vrefresh value with drm_mode_vrefresh, which
will calculate it for you.

Cheers,
Daniel

[-- Attachment #1.2: Type: text/html, Size: 2497 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-18 20:35   ` Daniel Stone
@ 2015-05-18 21:02     ` Gustavo Padovan
  2015-05-19 13:53       ` Tobias Jakobi
  0 siblings, 1 reply; 23+ messages in thread
From: Gustavo Padovan @ 2015-05-18 21:02 UTC (permalink / raw)
  To: Daniel Stone
  Cc: Tobias Jakobi, inki.dae, linux-samsung-soc, dri-devel, liquid.acid

2015-05-18 Daniel Stone <daniel@fooishbar.org>:

> Hi,
> 
> On Monday, May 18, 2015, Gustavo Padovan <gustavo@padovan.org> wrote:
> 
> > Hi Tobias,
> >
> > 2015-05-15 Tobias Jakobi <tjakobi@math.uni-bielefeld.de <javascript:;>>:
> > > I did another run with drm.debug=0xff and also tried to figure out where
> > the
> > > div-by-zero comes from.
> > >
> > > The only division I see is in fimd_calc_clkdiv() (which is called by
> > > fimd_commit()). So it looks like 'ideal_clk' is zero when calling
> > > DIV_ROUND_UP().
> > >
> > > 'htotal' and 'vtotal' can't be zero, since this is checked early in
> > > fimd_commit(). So 'vrefresh' has to be zero. Maybe this helps?
> >
> > What is is the output when you run with this patch:
> >
> > diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> > b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> > index 12ab80c..f5d215d 100644
> > --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> > +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> > @@ -310,6 +310,8 @@ static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
> >         unsigned long ideal_clk = mode->htotal * mode->vtotal *
> > mode->vrefresh;
> >         u32 clkdiv;
> >
> > +       DRM_DEBUG_KMS("vrefresh %d\n", mode->vrefresh);
> > +
> >         if (ctx->i80_if) {
> >                 /*
> >                  * The frame done interrupt should be occurred prior to the
> > @@ -328,6 +330,7 @@ static bool fimd_mode_fixup(struct exynos_drm_crtc
> > *crtc,
> >                 const struct drm_display_mode *mode,
> >                 struct drm_display_mode *adjusted_mode)
> >  {
> > +       DRM_DEBUG_KMS("vrefresh %d\n", adjusted_mode->vrefresh);
> >         if (adjusted_mode->vrefresh == 0)
> >                 adjusted_mode->vrefresh = FIMD_DEFAULT_FRAMERATE;
> >
> 
> vrefresh can legitimately be zero, which makes this FIMD_DEFAULT_FRAMERATE
> assignment problematic rather than harmless.
> 
> If it's zero, you can find a vrefresh value with drm_mode_vrefresh, which
> will calculate it for you.

So better try this. Ideally fimd_mode_fixup should go away too, I'll do a proper
patch once we know this works.

diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index 12ab80c..363353b 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -307,9 +307,17 @@ static void fimd_iommu_detach_devices(struct fimd_context *ctx)
 static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
                const struct drm_display_mode *mode)
 {
-       unsigned long ideal_clk = mode->htotal * mode->vtotal * mode->vrefresh;
+       unsigned long ideal_clk;
+       int vrefresh;
        u32 clkdiv;
 
+       if (mode->vrefresh == 0)
+               vrefresh = drm_mode_vrefresh(mode);
+       else
+               vrefresh = mode->vrefresh;
+
+       ideal_clk =  mode->htotal * mode->vtotal * vrefresh;
+
        if (ctx->i80_if) {
                /*
                 * The frame done interrupt should be occurred prior to the

^ permalink raw reply related	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-18 21:02     ` Gustavo Padovan
@ 2015-05-19 13:53       ` Tobias Jakobi
  2015-05-19 14:06         ` Daniel Stone
  0 siblings, 1 reply; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-19 13:53 UTC (permalink / raw)
  To: Gustavo Padovan, Daniel Stone, Tobias Jakobi, inki.dae,
	linux-samsung-soc, dri-devel, liquid.acid

Hello,

On 2015-05-18 23:02, Gustavo Padovan wrote:
> 2015-05-18 Daniel Stone <daniel@fooishbar.org>:
> 
>> Hi,
>> 
>> On Monday, May 18, 2015, Gustavo Padovan <gustavo@padovan.org> wrote:
>> 
>> > Hi Tobias,
>> >
>> > 2015-05-15 Tobias Jakobi <tjakobi@math.uni-bielefeld.de <javascript:;>>:
>> > > I did another run with drm.debug=0xff and also tried to figure out where
>> > the
>> > > div-by-zero comes from.
>> > >
>> > > The only division I see is in fimd_calc_clkdiv() (which is called by
>> > > fimd_commit()). So it looks like 'ideal_clk' is zero when calling
>> > > DIV_ROUND_UP().
>> > >
>> > > 'htotal' and 'vtotal' can't be zero, since this is checked early in
>> > > fimd_commit(). So 'vrefresh' has to be zero. Maybe this helps?
>> >
>> > What is is the output when you run with this patch:
>> >
>> > diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> > b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> > index 12ab80c..f5d215d 100644
>> > --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> > +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> > @@ -310,6 +310,8 @@ static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
>> >         unsigned long ideal_clk = mode->htotal * mode->vtotal *
>> > mode->vrefresh;
>> >         u32 clkdiv;
>> >
>> > +       DRM_DEBUG_KMS("vrefresh %d\n", mode->vrefresh);
>> > +
>> >         if (ctx->i80_if) {
>> >                 /*
>> >                  * The frame done interrupt should be occurred prior to the
>> > @@ -328,6 +330,7 @@ static bool fimd_mode_fixup(struct exynos_drm_crtc
>> > *crtc,
>> >                 const struct drm_display_mode *mode,
>> >                 struct drm_display_mode *adjusted_mode)
>> >  {
>> > +       DRM_DEBUG_KMS("vrefresh %d\n", adjusted_mode->vrefresh);
>> >         if (adjusted_mode->vrefresh == 0)
>> >                 adjusted_mode->vrefresh = FIMD_DEFAULT_FRAMERATE;
>> >
>> 
>> vrefresh can legitimately be zero, which makes this 
>> FIMD_DEFAULT_FRAMERATE
>> assignment problematic rather than harmless.
>> 
>> If it's zero, you can find a vrefresh value with drm_mode_vrefresh, 
>> which
>> will calculate it for you.
> 
> So better try this. Ideally fimd_mode_fixup should go away too, I'll do 
> a proper
> patch once we know this works.
> 
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> index 12ab80c..363353b 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> @@ -307,9 +307,17 @@ static void fimd_iommu_detach_devices(struct
> fimd_context *ctx)
>  static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
>                 const struct drm_display_mode *mode)
>  {
> -       unsigned long ideal_clk = mode->htotal * mode->vtotal * 
> mode->vrefresh;
> +       unsigned long ideal_clk;
> +       int vrefresh;
>         u32 clkdiv;
> 
> +       if (mode->vrefresh == 0)
> +               vrefresh = drm_mode_vrefresh(mode);
> +       else
> +               vrefresh = mode->vrefresh;
> +
> +       ideal_clk =  mode->htotal * mode->vtotal * vrefresh;
> +
>         if (ctx->i80_if) {
>                 /*
>                  * The frame done interrupt should be occurred prior to 
> the
I've applied this and the debug output patch, but I still get a 
div-by-zero.

With best wishes,
Tobias


kernel output:
[  135.978266] [drm:drm_stub_open]
[  135.978290] [drm:drm_open_helper] pid = 2650, minor = 0
[  135.978308] [drm:ipp_subdrv_open] done priv[0xed983210]
[  135.978324] [drm:drm_setup]
[  135.978368] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_VERSION
[  135.978387] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_VERSION
[  135.978425] [drm:drm_release] open_count = 1
[  135.978445] [drm:drm_release] pid = 2650, device = 0xe200, open_count 
= 1
[  135.978466] [drm:drm_lastclose]
[  135.978506] [drm:drm_atomic_state_alloc] Allocate atomic state 
ed3a4a40
[  135.978524] [drm:drm_atomic_get_crtc_state] Added [CRTC:21] ee20d400 
state to ed3a4a40
[  135.978540] [drm:drm_atomic_get_plane_state] Added [PLANE:17] 
ed3a4f80 state to ed3a4a40
[  135.978552] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ed3a4f80 to [NOCRTC]
[  135.978563] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane 
state ed3a4f80
[  135.978577] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:21] to ed3a4a40
[  135.978590] [drm:drm_atomic_check_only] checking ed3a4a40
[  135.978607] [drm:drm_atomic_commit] commiting ed3a4a40
[  135.978623] [drm:drm_atomic_state_clear] Clearing atomic state 
ed3a4a40
[  135.978639] [drm:drm_atomic_state_free] Freeing atomic state ed3a4a40
[  135.978660] [drm:drm_atomic_state_alloc] Allocate atomic state 
ed3a4a40
[  135.978676] [drm:drm_atomic_get_crtc_state] Added [CRTC:29] ee20d800 
state to ed3a4a40
[  135.978690] [drm:drm_atomic_get_plane_state] Added [PLANE:24] 
ed3a4ac0 state to ed3a4a40
[  135.978702] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ed3a4ac0 to [CRTC:29]
[  135.978714] [drm:drm_framebuffer_reference] ee112240: FB ID: 40 (1)
[  135.978725] [drm:drm_atomic_set_fb_for_plane] Set [FB:40] for plane 
state ed3a4ac0
[  135.978740] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:31] 
ed3a4180 state to ed3a4a40
[  135.978753] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:29] to ed3a4a40
[  135.978765] [drm:drm_atomic_set_crtc_for_connector] Link connector 
state ed3a4180 to [CRTC:29]
[  135.978774] [drm:drm_atomic_check_only] checking ed3a4a40
[  135.978786] [drm:drm_atomic_helper_check_modeset] [CRTC:29] mode 
changed
[  135.978796] [drm:drm_atomic_helper_check_modeset] [CRTC:29] enable 
changed
[  135.978807] [drm:update_connector_routing] Updating routing for 
[CONNECTOR:31:VGA-1]
[  135.978820] [drm:update_connector_routing] [CONNECTOR:31:VGA-1] using 
[ENCODER:30:TMDS-30] on [CRTC:29]
[  135.978830] [drm:drm_atomic_helper_check_modeset] [CRTC:29] active 
changed
[  135.978841] [drm:drm_atomic_helper_check_modeset] [CRTC:29] needs all 
connectors, enable: y, active: y
[  135.978853] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:29] to ed3a4a40
[  135.978865] [drm:drm_atomic_connectors_for_crtc] State ed3a4a40 has 1 
connectors for [CRTC:29]
[  135.978878] [drm:fimd_mode_fixup] vrefresh 0
[  135.978890] [drm:exynos_drm_fb_buffer] dma_addr = 0x20100000
[  135.978901] [drm:exynos_plane_atomic_check] buffer: 0, dma_addr = 
0x20100000
[  135.978911] [drm:drm_atomic_commit] commiting ed3a4a40
[  135.978923] [drm:crtc_set_mode] modeset on [CRTC:29]
[  135.978934] [drm:crtc_set_mode] modeset on [ENCODER:30:TMDS-30]
[  135.978966] [drm:exynos_plane_mode_set] plane : offset_x/y(0,0), 
width/height(1366,768)
[  135.978977] [drm:drm_atomic_helper_commit_modeset_enables] enabling 
[CRTC:29]
[  135.978989] [drm:fimd_dpms] drivers/gpu/drm/exynos/exynos_drm_fimd.c, 
0
[  135.979048] [drm:fimd_calc_clkdiv] vrefresh 0
[  135.979059] Division by zero in kernel.
[  135.979074] CPU: 1 PID: 2650 Comm: lt-modetest Not tainted 
4.1.0-rc4-debug+ #2
[  135.979083] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[  135.979091] Backtrace:
[  135.979121] [<c00132b0>] (dump_backtrace) from [<c00134c8>] 
(show_stack+0x18/0x1c)
[  135.979129]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
[  135.979165] [<c00134b0>] (show_stack) from [<c04f21e4>] 
(dump_stack+0x88/0xc8)
[  135.979181] [<c04f215c>] (dump_stack) from [<c0013434>] 
(__div0+0x1c/0x20)
[  135.979189]  r6:00000003 r5:00000000 r4:ee194010 r3:00000000
[  135.979220] [<c0013418>] (__div0) from [<c020db74>] (Ldiv0+0x8/0x10)
[  135.979240] [<c02b5e70>] (fimd_commit) from [<c02b62ac>] 
(fimd_poweron.part.9+0xd4/0x19c)
[  135.979248]  r9:ee2bb000 r8:c06ffcbc r7:c0748f94 r6:ee194a70 
r5:ee194010 r4:00000005
[  135.979282] [<c02b61d8>] (fimd_poweron.part.9) from [<c02b6400>] 
(fimd_dpms+0x8c/0xb4)
[  135.979290]  r6:ee2bb000 r5:00000000 r4:c0748f94 r3:00000001
[  135.979318] [<c02b6374>] (fimd_dpms) from [<c02b1c28>] 
(exynos_drm_crtc_enable+0x34/0x7c)
[  135.979326]  r6:ed3a4a40 r5:ee194020 r4:ee2bb000 r3:c02b6374
[  135.979360] [<c02b1bf4>] (exynos_drm_crtc_enable) from [<c028c11c>] 
(drm_atomic_helper_commit_modeset_enables+0x98/0x1c8)
[  135.979368]  r5:ee2bb000 r4:00000001
[  135.979391] [<c028c084>] (drm_atomic_helper_commit_modeset_enables) 
from [<c028e6e0>] (drm_atomic_helper_commit+0x124/0x170)
[  135.979399]  r8:00000000 r7:ee2ca800 r6:00000000 r5:ed3a4a40 
r4:0000000b r3:00000000
[  135.979433] [<c028e5bc>] (drm_atomic_helper_commit) from [<c02b27c8>] 
(exynos_atomic_commit+0x14/0x18)
[  135.979441]  r8:ee2bb000 r7:00000000 r6:ee2a18a8 r5:ee2ca800 
r4:ed3a4a40 r3:c02b27b4
[  135.979478] [<c02b27b4>] (exynos_atomic_commit) from [<c02af95c>] 
(drm_atomic_commit+0x4c/0x6c)
[  135.979495] [<c02af910>] (drm_atomic_commit) from [<c028d284>] 
(drm_atomic_helper_set_config+0x31c/0x428)
[  135.979503]  r5:ed3a4a40 r4:00000003
[  135.979530] [<c028cf68>] (drm_atomic_helper_set_config) from 
[<c029f180>] (drm_mode_set_config_internal+0x60/0xdc)
[  135.979538]  r10:00000000 r9:ee2ca800 r8:ee2a1f80 r7:ee2bb000 
r6:00000002 r5:00000050
[  135.979565]  r4:ee112240
[  135.979585] [<c029f120>] (drm_mode_set_config_internal) from 
[<c0290c60>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
[  135.979593]  r7:ee2a18a8 r6:00000002 r5:00000050 r4:00000000
[  135.979623] [<c0290b74>] (drm_fb_helper_restore_fbdev_mode_unlocked) 
from [<c02b268c>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
[  135.979631]  r10:ee2ca94c r9:edba5480 r8:ee2ca834 r7:ee2ca800 
r6:ee2ca858 r5:c0748f94
[  135.979658]  r4:ee2ca800
[  135.979673] [<c02b2664>] (exynos_drm_fbdev_restore_mode) from 
[<c02b109c>] (exynos_drm_lastclose+0x10/0x14)
[  135.979687] [<c02b108c>] (exynos_drm_lastclose) from [<c0294598>] 
(drm_lastclose+0x3c/0x10c)
[  135.979700] [<c029455c>] (drm_lastclose) from [<c02949a8>] 
(drm_release+0x340/0x4e0)
[  135.979707]  r6:ee2ca858 r5:ed33f0a8 r4:ed33f000 r3:00000000
[  135.979739] [<c0294668>] (drm_release) from [<c0103c14>] 
(__fput+0xa0/0x1e4)
[  135.979746]  r10:00000000 r9:00000008 r8:ed9b83e0 r7:edc4a8e8 
r6:edba9110 r5:ed9b83e0
[  135.979772]  r4:ed33f800
[  135.979789] [<c0103b74>] (__fput) from [<c0103dc4>] 
(____fput+0x10/0x14)
[  135.979797]  r10:00000000 r9:ec6f2000 r8:c000fc04 r7:ee2e5940 
r6:c0718ef8 r5:00000000
[  135.979823]  r4:ee2e5d44
[  135.979843] [<c0103db4>] (____fput) from [<c0047398>] 
(task_work_run+0xb8/0xfc)
[  135.979861] [<c00472e0>] (task_work_run) from [<c0012ec8>] 
(do_work_pending+0x88/0xa8)
[  135.979869]  r7:00000006 r6:ec6f3fb0 r5:c000fc04 r4:ec6f2000
[  135.979897] [<c0012e40>] (do_work_pending) from [<c000faa4>] 
(work_pending+0xc/0x20)
[  135.979905]  r6:00000000 r5:00000001 r4:00000003 r3:00000000
[  135.979934] [drm:fimd_win_commit] start addr = 0x20100000, end addr = 
0x20500800, size = 0x400800
[  135.979945] [drm:fimd_win_commit] ovl_width = 1366, ovl_height = 768
[  135.979958] [drm:fimd_win_commit] osd pos: tx = 0, ty = 0, bx = 1365, 
by = 767
[  135.979969] [drm:fimd_win_commit] osd size = 0x100200
[  135.979978] [drm:fimd_win_set_pixfmt] bpp = 32
[  135.979993] [drm:fimd_calc_clkdiv] vrefresh 0
[  135.980003] Division by zero in kernel.
[  135.980016] CPU: 1 PID: 2650 Comm: lt-modetest Not tainted 
4.1.0-rc4-debug+ #2
[  135.980024] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[  135.980031] Backtrace:
[  135.980050] [<c00132b0>] (dump_backtrace) from [<c00134c8>] 
(show_stack+0x18/0x1c)
[  135.980058]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
[  135.980090] [<c00134b0>] (show_stack) from [<c04f21e4>] 
(dump_stack+0x88/0xc8)
[  135.980105] [<c04f215c>] (dump_stack) from [<c0013434>] 
(__div0+0x1c/0x20)
[  135.980181]  r6:00000003 r5:00000000 r4:ee194010 r3:00000000
[  135.980217] [<c0013418>] (__div0) from [<c020db74>] (Ldiv0+0x8/0x10)
[  135.980236] [<c02b5e70>] (fimd_commit) from [<c02b1c6c>] 
(exynos_drm_crtc_enable+0x78/0x7c)
[  135.980244]  r9:ee2bb000 r8:c06ffcbc r7:c0748f94 r6:ed3a4a40 
r5:ee194020 r4:ee2bb000
[  135.980281] [<c02b1bf4>] (exynos_drm_crtc_enable) from [<c028c11c>] 
(drm_atomic_helper_commit_modeset_enables+0x98/0x1c8)
[  135.980289]  r5:ee2bb000 r4:00000001
[  135.980345] [<c028c084>] (drm_atomic_helper_commit_modeset_enables) 
from [<c028e6e0>] (drm_atomic_helper_commit+0x124/0x170)
[  135.980366]  r8:00000000 r7:ee2ca800 r6:00000000 r5:ed3a4a40 
r4:0000000b r3:00000000
[  135.980455] [<c028e5bc>] (drm_atomic_helper_commit) from [<c02b27c8>] 
(exynos_atomic_commit+0x14/0x18)
[  135.980475]  r8:ee2bb000 r7:00000000 r6:ee2a18a8 r5:ee2ca800 
r4:ed3a4a40 r3:c02b27b4
[  135.980562] [<c02b27b4>] (exynos_atomic_commit) from [<c02af95c>] 
(drm_atomic_commit+0x4c/0x6c)
[  135.980590] [<c02af910>] (drm_atomic_commit) from [<c028d284>] 
(drm_atomic_helper_set_config+0x31c/0x428)
[  135.980610]  r5:ed3a4a40 r4:00000003
[  135.980664] [<c028cf68>] (drm_atomic_helper_set_config) from 
[<c029f180>] (drm_mode_set_config_internal+0x60/0xdc)
[  135.980681]  r10:00000000 r9:ee2ca800 r8:ee2a1f80 r7:ee2bb000 
r6:00000002 r5:00000050
[  135.980769]  r4:ee112240
[  135.980811] [<c029f120>] (drm_mode_set_config_internal) from 
[<c0290c60>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
[  135.980831]  r7:ee2a18a8 r6:00000002 r5:00000050 r4:00000000
[  135.980860] [<c0290b74>] (drm_fb_helper_restore_fbdev_mode_unlocked) 
from [<c02b268c>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
[  135.980868]  r10:ee2ca94c r9:edba5480 r8:ee2ca834 r7:ee2ca800 
r6:ee2ca858 r5:c0748f94
[  135.980895]  r4:ee2ca800
[  135.980911] [<c02b2664>] (exynos_drm_fbdev_restore_mode) from 
[<c02b109c>] (exynos_drm_lastclose+0x10/0x14)
[  135.980924] [<c02b108c>] (exynos_drm_lastclose) from [<c0294598>] 
(drm_lastclose+0x3c/0x10c)
[  135.980937] [<c029455c>] (drm_lastclose) from [<c02949a8>] 
(drm_release+0x340/0x4e0)
[  135.980944]  r6:ee2ca858 r5:ed33f0a8 r4:ed33f000 r3:00000000
[  135.980973] [<c0294668>] (drm_release) from [<c0103c14>] 
(__fput+0xa0/0x1e4)
[  135.980981]  r10:00000000 r9:00000008 r8:ed9b83e0 r7:edc4a8e8 
r6:edba9110 r5:ed9b83e0
[  135.981007]  r4:ed33f800
[  135.981024] [<c0103b74>] (__fput) from [<c0103dc4>] 
(____fput+0x10/0x14)
[  135.981031]  r10:00000000 r9:ec6f2000 r8:c000fc04 r7:ee2e5940 
r6:c0718ef8 r5:00000000
[  135.981057]  r4:ee2e5d44
[  135.981076] [<c0103db4>] (____fput) from [<c0047398>] 
(task_work_run+0xb8/0xfc)
[  135.981094] [<c00472e0>] (task_work_run) from [<c0012ec8>] 
(do_work_pending+0x88/0xa8)
[  135.981102]  r7:00000006 r6:ec6f3fb0 r5:c000fc04 r4:ec6f2000
[  135.981130] [<c0012e40>] (do_work_pending) from [<c000faa4>] 
(work_pending+0xc/0x20)
[  135.981137]  r6:00000000 r5:00000001 r4:00000003 r3:00000000
[  135.981163] [drm:drm_atomic_helper_commit_modeset_enables] enabling 
[ENCODER:30:TMDS-30]
[  135.981180] [drm:drm_vblank_enable] enabling vblank on crtc 1, ret: 0
[  135.981192] [drm:drm_update_vblank_count] updating vblank count on 
crtc 1, missed 0
[  136.029987] [drm:drm_atomic_state_clear] Clearing atomic state 
ed3a4a40
[  136.030008] [drm:drm_atomic_state_free] Freeing atomic state ed3a4a40
[  136.030027] [drm:drm_framebuffer_reference] ee112240: FB ID: 40 (2)
[  136.030045] [drm:drm_atomic_state_alloc] Allocate atomic state 
ed3a4a40
[  136.030063] [drm:drm_atomic_get_crtc_state] Added [CRTC:35] ed892a00 
state to ed3a4a40
[  136.030079] [drm:drm_atomic_get_plane_state] Added [PLANE:32] 
ed3a4340 state to ed3a4a40
[  136.030091] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ed3a4340 to [NOCRTC]
[  136.030101] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane 
state ed3a4340
[  136.030116] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:35] to ed3a4a40
[  136.030127] [drm:drm_atomic_check_only] checking ed3a4a40
[  136.030142] [drm:drm_atomic_commit] commiting ed3a4a40
[  136.030158] [drm:drm_atomic_state_clear] Clearing atomic state 
ed3a4a40
[  136.030171] [drm:drm_atomic_state_free] Freeing atomic state ed3a4a40
[  136.030187] [drm:drm_framebuffer_reference] ee112240: FB ID: 40 (3)
[  136.030198] [drm:drm_framebuffer_unreference] ee112240: FB ID: 40 (4)
[  136.030215] [drm:drm_lastclose] driver lastclose completed
[  136.030228] [drm:drm_lastclose] lastclose completed
[  136.030308] [drm:drm_stub_open]
[  136.030325] [drm:drm_open_helper] pid = 2650, minor = 0
[  136.030343] [drm:ipp_subdrv_open] done priv[0xed983210]
[  136.030358] [drm:drm_setup]
[  136.030383] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_VERSION
[  136.030401] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_VERSION
[  136.030443] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_GET_UNIQUE
[  136.030459] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_GET_UNIQUE
[  136.030499] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_SET_CLIENT_CAP
[  136.030521] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETRESOURCES
[  136.030537] [drm:drm_mode_getresources] CRTC[3] CONNECTORS[3] 
ENCODERS[3]
[  136.030552] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETRESOURCES
[  136.030567] [drm:drm_mode_getresources] CRTC[3] CONNECTORS[3] 
ENCODERS[3]
[  136.030596] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCRTC
[  136.030622] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCRTC
[  136.030646] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCRTC
[  136.030674] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETENCODER
[  136.030692] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETENCODER
[  136.030708] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETENCODER
[  136.030729] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  136.030741] [drm:drm_mode_getconnector] [CONNECTOR:23:?]
[  136.030756] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:23:Virtual-1]
[  136.030769] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:23:Virtual-1] disconnected
[  136.030788] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  136.030799] [drm:drm_mode_getconnector] [CONNECTOR:23:?]
[  136.030822] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  136.030833] [drm:drm_mode_getconnector] [CONNECTOR:31:?]
[  136.030848] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:31:VGA-1]
[  136.030873] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:31:VGA-1] probed modes :
[  136.030892] [drm:drm_mode_debug_printmodeline] Modeline 38:"1366x768" 
0 500 1366 1414 1446 1526 768 771 776 790 0x48 0x5
[  136.030911] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  136.030922] [drm:drm_mode_getconnector] [CONNECTOR:31:?]
[  136.030946] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  136.030958] [drm:drm_mode_getconnector] [CONNECTOR:37:?]
[  136.030972] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:37:HDMI-A-1]
[  136.030992] [drm:drm_helper_probe_single_connector_modes_merge_bits] 
[CONNECTOR:37:HDMI-A-1] disconnected
[  136.031010] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETCONNECTOR
[  136.031021] [drm:drm_mode_getconnector] [CONNECTOR:37:?]
[  136.031049] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031084] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031117] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031149] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031183] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031214] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031247] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031280] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031320] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031356] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031398] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031432] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031469] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031501] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031534] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031567] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031603] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031637] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.031673] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031705] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031737] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031770] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.031812] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANERESOURCES
[  136.031828] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANERESOURCES
[  136.031853] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.031870] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.031888] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.031904] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.031922] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.031937] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.031954] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.031970] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.031987] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032002] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032035] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032052] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032069] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032085] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032102] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032118] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032135] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032151] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032168] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032184] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032201] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032217] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPLANE
[  136.032234] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032267] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032303] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032337] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032373] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032407] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032443] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032477] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032513] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032545] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032580] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032613] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032648] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032682] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032717] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032750] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032785] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032819] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032854] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032888] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.032923] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032956] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.032991] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033025] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033061] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033093] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033127] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033161] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033196] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033229] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033265] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033298] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033332] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033366] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033401] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033435] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033470] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033503] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033537] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033570] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033606] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033639] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033674] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033707] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033741] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033775] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033810] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033842] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033878] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033911] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.033946] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.033979] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.034023] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.034057] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.034092] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.034126] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_OBJ_GETPROPERTIES
[  136.034161] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.034194] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.034230] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.034263] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPERTY
[  136.037071] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPBLOB
[  136.037124] [drm:drm_ioctl] ret = -2
[  136.038184] [drm:drm_ioctl] pid=2650, dev=0xe200, auth=1, 
DRM_IOCTL_MODE_GETPROPBLOB
[  136.038221] [drm:drm_ioctl] ret = -2
[  136.066465] [drm:drm_release] open_count = 1
[  136.066489] [drm:drm_release] pid = 2650, device = 0xe200, open_count 
= 1
[  136.066511] [drm:drm_lastclose]
[  136.066548] [drm:drm_atomic_state_alloc] Allocate atomic state 
ed3a4800
[  136.066565] [drm:drm_atomic_get_crtc_state] Added [CRTC:21] ed892c00 
state to ed3a4800
[  136.066579] [drm:drm_atomic_get_plane_state] Added [PLANE:17] 
ed3a4200 state to ed3a4800
[  136.066589] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ed3a4200 to [NOCRTC]
[  136.066599] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane 
state ed3a4200
[  136.066612] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:21] to ed3a4800
[  136.066623] [drm:drm_atomic_check_only] checking ed3a4800
[  136.066637] [drm:drm_atomic_commit] commiting ed3a4800
[  136.066652] [drm:drm_atomic_state_clear] Clearing atomic state 
ed3a4800
[  136.066666] [drm:drm_atomic_state_free] Freeing atomic state ed3a4800
[  136.066681] [drm:drm_framebuffer_reference] ee112240: FB ID: 40 (3)
[  136.066691] [drm:drm_framebuffer_unreference] ee112240: FB ID: 40 (4)
[  136.066706] [drm:drm_atomic_state_alloc] Allocate atomic state 
ed3a4800
[  136.066719] [drm:drm_atomic_get_crtc_state] Added [CRTC:29] ed892800 
state to ed3a4800
[  136.066732] [drm:drm_framebuffer_reference] ee112240: FB ID: 40 (3)
[  136.066742] [drm:drm_atomic_get_plane_state] Added [PLANE:24] 
ed3a4f80 state to ed3a4800
[  136.066753] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ed3a4f80 to [CRTC:29]
[  136.066762] [drm:drm_framebuffer_unreference] ee112240: FB ID: 40 (4)
[  136.066772] [drm:drm_framebuffer_reference] ee112240: FB ID: 40 (3)
[  136.066781] [drm:drm_atomic_set_fb_for_plane] Set [FB:40] for plane 
state ed3a4f80
[  136.066795] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:31] 
ed3a4140 state to ed3a4800
[  136.066807] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:29] to ed3a4800
[  136.066818] [drm:drm_atomic_set_crtc_for_connector] Link connector 
state ed3a4140 to [NOCRTC]
[  136.066828] [drm:drm_atomic_set_crtc_for_connector] Link connector 
state ed3a4140 to [CRTC:29]
[  136.066837] [drm:drm_atomic_check_only] checking ed3a4800
[  136.066848] [drm:update_connector_routing] Updating routing for 
[CONNECTOR:31:VGA-1]
[  136.066859] [drm:update_connector_routing] [CONNECTOR:31:VGA-1] keeps 
[ENCODER:30:TMDS-30], now on [CRTC:29]
[  136.066871] [drm:exynos_drm_fb_buffer] dma_addr = 0x20100000
[  136.066881] [drm:exynos_plane_atomic_check] buffer: 0, dma_addr = 
0x20100000
[  136.066890] [drm:drm_atomic_commit] commiting ed3a4800
[  136.066904] [drm:exynos_plane_mode_set] plane : offset_x/y(0,0), 
width/height(1366,768)
[  136.066917] [drm:fimd_win_commit] start addr = 0x20100000, end addr = 
0x20500800, size = 0x400800
[  136.066927] [drm:fimd_win_commit] ovl_width = 1366, ovl_height = 768
[  136.066938] [drm:fimd_win_commit] osd pos: tx = 0, ty = 0, bx = 1365, 
by = 767
[  136.066946] [drm:fimd_win_commit] osd size = 0x100200
[  136.066955] [drm:fimd_win_set_pixfmt] bpp = 32
[  136.066966] [drm:drm_atomic_state_clear] Clearing atomic state 
ed3a4800
[  136.066979] [drm:drm_framebuffer_unreference] ee112240: FB ID: 40 (4)
[  136.066988] [drm:drm_atomic_state_free] Freeing atomic state ed3a4800
[  136.067002] [drm:drm_framebuffer_reference] ee112240: FB ID: 40 (3)
[  136.067011] [drm:drm_framebuffer_unreference] ee112240: FB ID: 40 (4)
[  136.067026] [drm:drm_atomic_state_alloc] Allocate atomic state 
ed3a4800
[  136.067041] [drm:drm_atomic_get_crtc_state] Added [CRTC:35] ee20d800 
state to ed3a4800
[  136.067054] [drm:drm_atomic_get_plane_state] Added [PLANE:32] 
ed3a4ac0 state to ed3a4800
[  136.067063] [drm:drm_atomic_set_crtc_for_plane] Link plane state 
ed3a4ac0 to [NOCRTC]
[  136.067072] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane 
state ed3a4ac0
[  136.067084] [drm:drm_atomic_add_affected_connectors] Adding all 
current connectors for [CRTC:35] to ed3a4800
[  136.067093] [drm:drm_atomic_check_only] checking ed3a4800
[  136.067104] [drm:drm_atomic_commit] commiting ed3a4800
[  136.067117] [drm:drm_atomic_state_clear] Clearing atomic state 
ed3a4800
[  136.067129] [drm:drm_atomic_state_free] Freeing atomic state ed3a4800
[  136.067143] [drm:drm_framebuffer_reference] ee112240: FB ID: 40 (3)
[  136.067153] [drm:drm_framebuffer_unreference] ee112240: FB ID: 40 (4)
[  136.067166] [drm:drm_lastclose] driver lastclose completed
[  136.067177] [drm:drm_lastclose] lastclose completed
[  140.995693] [drm:vblank_disable_fn] disabling vblank on crtc 1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-19 13:53       ` Tobias Jakobi
@ 2015-05-19 14:06         ` Daniel Stone
  2015-05-19 14:52           ` Tobias Jakobi
  2015-05-19 17:27           ` Tobias Jakobi
  0 siblings, 2 replies; 23+ messages in thread
From: Daniel Stone @ 2015-05-19 14:06 UTC (permalink / raw)
  To: Tobias Jakobi
  Cc: Gustavo Padovan, InKi Dae, linux-samsung-soc, dri-devel, liquid.acid

Hi Tobias,

On 19 May 2015 at 14:53, Tobias Jakobi <tjakobi@math.uni-bielefeld.de> wrote:
> On 2015-05-18 23:02, Gustavo Padovan wrote:
>> So better try this. Ideally fimd_mode_fixup should go away too, I'll do a
>> proper
>> patch once we know this works.
>>
>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> index 12ab80c..363353b 100644
>> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>> @@ -307,9 +307,17 @@ static void fimd_iommu_detach_devices(struct
>> fimd_context *ctx)
>>  static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
>>                 const struct drm_display_mode *mode)
>>  {
>> -       unsigned long ideal_clk = mode->htotal * mode->vtotal *
>> mode->vrefresh;
>> +       unsigned long ideal_clk;
>> +       int vrefresh;
>>         u32 clkdiv;
>>
>> +       if (mode->vrefresh == 0)
>> +               vrefresh = drm_mode_vrefresh(mode);
>> +       else
>> +               vrefresh = mode->vrefresh;
>> +
>> +       ideal_clk =  mode->htotal * mode->vtotal * vrefresh;
>> +
>>         if (ctx->i80_if) {
>>                 /*
>>                  * The frame done interrupt should be occurred prior to
>> the
>
> I've applied this and the debug output patch, but I still get a div-by-zero.

Can you please add a drm_mode_debug_printmodeline(mode) and give the
output there?

Cheers,
Daniel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-19 14:06         ` Daniel Stone
@ 2015-05-19 14:52           ` Tobias Jakobi
  2015-05-19 17:27           ` Tobias Jakobi
  1 sibling, 0 replies; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-19 14:52 UTC (permalink / raw)
  To: Daniel Stone; +Cc: linux-samsung-soc, dri-devel, liquid.acid

Hey Daniel,

On 2015-05-19 16:06, Daniel Stone wrote:
> Hi Tobias,
> 
> On 19 May 2015 at 14:53, Tobias Jakobi <tjakobi@math.uni-bielefeld.de> 
> wrote:
>> On 2015-05-18 23:02, Gustavo Padovan wrote:
>>> So better try this. Ideally fimd_mode_fixup should go away too, I'll 
>>> do a
>>> proper
>>> patch once we know this works.
>>> 
>>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>>> b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>>> index 12ab80c..363353b 100644
>>> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>>> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>>> @@ -307,9 +307,17 @@ static void fimd_iommu_detach_devices(struct
>>> fimd_context *ctx)
>>>  static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
>>>                 const struct drm_display_mode *mode)
>>>  {
>>> -       unsigned long ideal_clk = mode->htotal * mode->vtotal *
>>> mode->vrefresh;
>>> +       unsigned long ideal_clk;
>>> +       int vrefresh;
>>>         u32 clkdiv;
>>> 
>>> +       if (mode->vrefresh == 0)
>>> +               vrefresh = drm_mode_vrefresh(mode);
>>> +       else
>>> +               vrefresh = mode->vrefresh;
>>> +
>>> +       ideal_clk =  mode->htotal * mode->vtotal * vrefresh;
>>> +
>>>         if (ctx->i80_if) {
>>>                 /*
>>>                  * The frame done interrupt should be occurred prior 
>>> to
>>> the
>> 
>> I've applied this and the debug output patch, but I still get a 
>> div-by-zero.
> 
> Can you please add a drm_mode_debug_printmodeline(mode) and give the
> output there?
I've also added printk for ideal_clk, here's the output.

kernel output:
[   81.204682] [drm:fimd_calc_clkdiv] vrefresh 0
[   81.204700] [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 
0 500 1366 1414 1446 1526 768 771 776 790 0x48 0x5
[   81.204710] [drm:fimd_calc_clkdiv] ideal_clk 0

So vrefresh remains zero after all.

With best wishes,
Tobias


> 
> Cheers,
> Daniel

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-19 14:06         ` Daniel Stone
  2015-05-19 14:52           ` Tobias Jakobi
@ 2015-05-19 17:27           ` Tobias Jakobi
  2015-05-19 18:43             ` Gustavo Padovan
  1 sibling, 1 reply; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-19 17:27 UTC (permalink / raw)
  To: Daniel Stone
  Cc: Gustavo Padovan, InKi Dae, linux-samsung-soc, dri-devel, liquid.acid

OK,

so Daniel helped me track down this issue. It came from an incorrect 
'clock-frequency' entry in my DTS. The freq was 500000. Daniel 
recommended 70600000 which works 'fine' (and according to modetest 
produces a 59Hz mode). I say 'fine' because I can't confirm that FIMD is 
actually working. I just see that with that change I no longer get any 
div-by-zeros in the kernel.

So fimd_calc_clkdiv needs some sanitizing for 'ideal_clk' at least.

What still bothers me though is the fact that FIMD actually gets 
enabled. I'm just calling 'modetest -M exynos', so it's just doing 
probing. Why does that trigger dpms?

With best wishes,
Tobias



On 2015-05-19 16:06, Daniel Stone wrote:
> Hi Tobias,
> 
> On 19 May 2015 at 14:53, Tobias Jakobi <tjakobi@math.uni-bielefeld.de> 
> wrote:
>> On 2015-05-18 23:02, Gustavo Padovan wrote:
>>> So better try this. Ideally fimd_mode_fixup should go away too, I'll 
>>> do a
>>> proper
>>> patch once we know this works.
>>> 
>>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>>> b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>>> index 12ab80c..363353b 100644
>>> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>>> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
>>> @@ -307,9 +307,17 @@ static void fimd_iommu_detach_devices(struct
>>> fimd_context *ctx)
>>>  static u32 fimd_calc_clkdiv(struct fimd_context *ctx,
>>>                 const struct drm_display_mode *mode)
>>>  {
>>> -       unsigned long ideal_clk = mode->htotal * mode->vtotal *
>>> mode->vrefresh;
>>> +       unsigned long ideal_clk;
>>> +       int vrefresh;
>>>         u32 clkdiv;
>>> 
>>> +       if (mode->vrefresh == 0)
>>> +               vrefresh = drm_mode_vrefresh(mode);
>>> +       else
>>> +               vrefresh = mode->vrefresh;
>>> +
>>> +       ideal_clk =  mode->htotal * mode->vtotal * vrefresh;
>>> +
>>>         if (ctx->i80_if) {
>>>                 /*
>>>                  * The frame done interrupt should be occurred prior 
>>> to
>>> the
>> 
>> I've applied this and the debug output patch, but I still get a 
>> div-by-zero.
> 
> Can you please add a drm_mode_debug_printmodeline(mode) and give the
> output there?
> 
> Cheers,
> Daniel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-19 17:27           ` Tobias Jakobi
@ 2015-05-19 18:43             ` Gustavo Padovan
  2015-05-19 18:54               ` Daniel Stone
  0 siblings, 1 reply; 23+ messages in thread
From: Gustavo Padovan @ 2015-05-19 18:43 UTC (permalink / raw)
  To: Tobias Jakobi; +Cc: liquid.acid, linux-samsung-soc, dri-devel

Hi Tobias,

2015-05-19 Tobias Jakobi <tjakobi@math.uni-bielefeld.de>:

> OK,
> 
> so Daniel helped me track down this issue. It came from an incorrect
> 'clock-frequency' entry in my DTS. The freq was 500000. Daniel recommended
> 70600000 which works 'fine' (and according to modetest produces a 59Hz
> mode). I say 'fine' because I can't confirm that FIMD is actually working. I
> just see that with that change I no longer get any div-by-zeros in the
> kernel.

That is good to hear! So maybe we are now ready to have the atomic
modesetting patches merged in. I'll send a new version with the last
fix to avoid crashes with null CRTC.

> 
> So fimd_calc_clkdiv needs some sanitizing for 'ideal_clk' at least.
> 
> What still bothers me though is the fact that FIMD actually gets enabled.
> I'm just calling 'modetest -M exynos', so it's just doing probing. Why does
> that trigger dpms?

That comes from restore_fbdev_mode() when modetest closes the file
descriptor, but I'm not sure why a update happens at this time.

	Gustavo
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-19 18:43             ` Gustavo Padovan
@ 2015-05-19 18:54               ` Daniel Stone
  0 siblings, 0 replies; 23+ messages in thread
From: Daniel Stone @ 2015-05-19 18:54 UTC (permalink / raw)
  To: Gustavo Padovan, Tobias Jakobi, Daniel Stone, InKi Dae,
	linux-samsung-soc, dri-devel, liquid.acid

Hi,

On 19 May 2015 at 19:43, Gustavo Padovan <gustavo@padovan.org> wrote:
> 2015-05-19 Tobias Jakobi <tjakobi@math.uni-bielefeld.de>:
>> so Daniel helped me track down this issue. It came from an incorrect
>> 'clock-frequency' entry in my DTS. The freq was 500000. Daniel recommended
>> 70600000 which works 'fine' (and according to modetest produces a 59Hz
>> mode). I say 'fine' because I can't confirm that FIMD is actually working. I
>> just see that with that change I no longer get any div-by-zeros in the
>> kernel.
>
> That is good to hear! So maybe we are now ready to have the atomic
> modesetting patches merged in. I'll send a new version with the last
> fix to avoid crashes with null CRTC.

Indeed. Though as he says below:

>> So fimd_calc_clkdiv needs some sanitizing for 'ideal_clk' at least.

It would be nice to:
  a) reject any mode with an impossible clock in mode_valid (filter
connector modes) + mode_fixup (explicit request)
  b) WARN_ON and return during FIMD commit if clk_div ends up being zero

>> What still bothers me though is the fact that FIMD actually gets enabled.
>> I'm just calling 'modetest -M exynos', so it's just doing probing. Why does
>> that trigger dpms?
>
> That comes from restore_fbdev_mode() when modetest closes the file
> descriptor, but I'm not sure why a update happens at this time.

It comes from lastclose: when the last client exits, DRM tries to
restore the mode that fbcon was using. Quite why it didn't fail before
this point (i.e. when doing it initially), I'm not quite sure, but oh
well.

Cheers,
Daniel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
@ 2015-05-15 10:16 Tobias Jakobi
  0 siblings, 0 replies; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-15 10:16 UTC (permalink / raw)
  To: gustavo, inki.dae, linux-samsung-soc, dri-devel, liquid.acid

Hello,

I've just tested 'modetest' with the fix applied, and while the nullptr 
deference goes away, I now get a division by zero.

modetest output:
Encoders:
id	crtc	type	possible crtcs	possible clones
22	0	TMDS	0x00000001	0x00000000
30	29	TMDS	0x00000002	0x00000000
36	0	TMDS	0x00000004	0x00000000

Connectors:
id	encoder	status		type	size (mm)	modes	encoders
23	0	disconnected	Virtual	0x0		0	22
   props:
	2 DPMS:
		flags: enum
		enums: On=0 Standby=1 Suspend=2 Off=3
		value: 0
31	30	connected	VGA	0x0		1	30
   modes:
	name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
   1366x768 0 1366 1414 1446 1526 768 771 776 790 flags: phsync, pvsync; 
type: preferred, driver
   props:
	1 EDID:
		flags: immutable blob
		blobs:

		value:
	2 DPMS:
		flags: enum
		enums: On=0 Standby=1 Suspend=2 Off=3
		value: 0
37	0	disconnected	HDMI-A	0x0		0	36
   props:
	1 EDID:
		flags: immutable blob
		blobs:

		value:
	2 DPMS:
		flags: enum
		enums: On=0 Standby=1 Suspend=2 Off=3
		value: 0

CRTCs:
id	fb	pos	size
21	0	(0,0)	(0x0)
    0 0 0 0 0 0 0 0 0 flags: ; type:
   props:
29	40	(0,0)	(1366x768)
   1366x768 0 1366 1414 1446 1526 768 771 776 790 flags: phsync, pvsync; 
type: preferred, driver
   props:
35	0	(0,0)	(0x0)
    0 0 0 0 0 0 0 0 0 flags: ; type:
   props:

Planes:
id	crtc	fb	CRTC x,y	x,y	gamma size	possible crtcs
17	21	0	0,0		0,0	0       	0x00000001
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 1
18	0	0	0,0		0,0	0       	0x00000001
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 0
	19 zpos:
		flags: immutable range
		values: 0 4
		value: 1
20	0	0	0,0		0,0	0       	0x00000001
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 0
	19 zpos:
		flags: immutable range
		values: 0 4
		value: 2
24	29	40	0,0		0,0	0       	0x00000002
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 1
25	0	0	0,0		0,0	0       	0x00000002
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 0
	19 zpos:
		flags: immutable range
		values: 0 4
		value: 1
26	0	0	0,0		0,0	0       	0x00000002
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 0
	19 zpos:
		flags: immutable range
		values: 0 4
		value: 2
27	0	0	0,0		0,0	0       	0x00000002
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 0
	19 zpos:
		flags: immutable range
		values: 0 4
		value: 3
28	0	0	0,0		0,0	0       	0x00000002
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 0
	19 zpos:
		flags: immutable range
		values: 0 4
		value: 4
32	35	0	0,0		0,0	0       	0x00000004
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 1
33	0	0	0,0		0,0	0       	0x00000004
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 0
	19 zpos:
		flags: immutable range
		values: 0 4
		value: 1
34	0	0	0,0		0,0	0       	0x00000004
   formats: XR24 AR24 NV12
   props:
	5 type:
		flags: immutable enum
		enums: Overlay=0 Primary=1 Cursor=2
		value: 0
	19 zpos:
		flags: immutable range
		values: 0 4
		value: 2

Frame buffers:
id	size	pitch


kernel output:
[   46.808858] Division by zero in kernel.
[   46.808888] CPU: 2 PID: 2611 Comm: lt-modetest Not tainted 
4.1.0-rc3-debug+ #2
[   46.808902] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[   46.808912] Backtrace:
[   46.808951] [<c00132b0>] (dump_backtrace) from [<c00134c8>] 
(show_stack+0x18/0x1c)
[   46.808963]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
[   46.809008] [<c00134b0>] (show_stack) from [<c04f2138>] 
(dump_stack+0x88/0xc8)
[   46.809030] [<c04f20b0>] (dump_stack) from [<c0013434>] 
(__div0+0x1c/0x20)
[   46.809040]  r6:00000003 r5:00000000 r4:ed975010 r3:00000000
[   46.809080] [<c0013418>] (__div0) from [<c020dc14>] (Ldiv0+0x8/0x10)
[   46.809106] [<c02b5e08>] (fimd_commit) from [<c02b6200>] 
(fimd_poweron.part.9+0xd4/0x19c)
[   46.809116]  r9:ee14cc00 r8:c06ffcbc r7:c0748f94 r6:ed975a70 
r5:ed975010 r4:00000005
[   46.809159] [<c02b612c>] (fimd_poweron.part.9) from [<c02b6354>] 
(fimd_dpms+0x8c/0xb4)
[   46.809170]  r6:ee14cc00 r5:00000000 r4:c0748f94 r3:00000001
[   46.809206] [<c02b62c8>] (fimd_dpms) from [<c02b1bf4>] 
(exynos_drm_crtc_enable+0x34/0x7c)
[   46.809216]  r6:ed3e5340 r5:ed975020 r4:ee14cc00 r3:c02b62c8
[   46.809260] [<c02b1bc0>] (exynos_drm_crtc_enable) from [<c028c0e8>] 
(drm_atomic_helper_commit_modeset_enables+0x98/0x1c8)
[   46.809271]  r5:ee14cc00 r4:00000001
[   46.809300] [<c028c050>] (drm_atomic_helper_commit_modeset_enables) 
from [<c028e6ac>] (drm_atomic_helper_commit+0x124/0x170)
[   46.809311]  r8:00000000 r7:ee248000 r6:00000000 r5:ed3e5340 
r4:0000000b r3:00000000
[   46.809354] [<c028e588>] (drm_atomic_helper_commit) from [<c02b2794>] 
(exynos_atomic_commit+0x14/0x18)
[   46.809364]  r8:ee14cc00 r7:00000000 r6:ed86f728 r5:ee248000 
r4:ed3e5340 r3:c02b2780
[   46.809405] [<c02b2780>] (exynos_atomic_commit) from [<c02af928>] 
(drm_atomic_commit+0x4c/0x6c)
[   46.809425] [<c02af8dc>] (drm_atomic_commit) from [<c028d250>] 
(drm_atomic_helper_set_config+0x31c/0x428)
[   46.809435]  r5:ed3e5340 r4:00000003
[   46.809469] [<c028cf34>] (drm_atomic_helper_set_config) from 
[<c029f14c>] (drm_mode_set_config_internal+0x60/0xdc)
[   46.809480]  r10:00000000 r9:ee248000 r8:ed86f200 r7:ee14cc00 
r6:00000002 r5:00000050
[   46.809514]  r4:ed832c00
[   46.809540] [<c029f0ec>] (drm_mode_set_config_internal) from 
[<c0290c2c>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
[   46.809550]  r7:ed86f728 r6:00000002 r5:00000050 r4:00000000
[   46.809588] [<c0290b40>] (drm_fb_helper_restore_fbdev_mode_unlocked) 
from [<c02b2658>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
[   46.809599]  r10:ee24814c r9:ed190780 r8:ee248034 r7:ee248000 
r6:ee248058 r5:c0748f94
[   46.809632]  r4:ee248000
[   46.809653] [<c02b2630>] (exynos_drm_fbdev_restore_mode) from 
[<c02b1068>] (exynos_drm_lastclose+0x10/0x14)
[   46.809671] [<c02b1058>] (exynos_drm_lastclose) from [<c0294564>] 
(drm_lastclose+0x3c/0x10c)
[   46.809687] [<c0294528>] (drm_lastclose) from [<c0294974>] 
(drm_release+0x340/0x4e0)
[   46.809697]  r6:ee248058 r5:ec6404a8 r4:ec640400 r3:00000000
[   46.809738] [<c0294634>] (drm_release) from [<c0103ca8>] 
(__fput+0xa0/0x1e4)
[   46.809748]  r10:00000000 r9:00000008 r8:ee11a5b0 r7:edc0d720 
r6:eda71410 r5:ee11a5b0
[   46.809781]  r4:ec640d00
[   46.809803] [<c0103c08>] (__fput) from [<c0103e58>] 
(____fput+0x10/0x14)
[   46.809813]  r10:00000000 r9:ec6ea000 r8:c000fc04 r7:ed8fb9c0 
r6:c0718ef8 r5:00000000
[   46.809847]  r4:ed8fbdc4
[   46.809872] [<c0103e48>] (____fput) from [<c00473b0>] 
(task_work_run+0xb8/0xfc)
[   46.809895] [<c00472f8>] (task_work_run) from [<c0012ec8>] 
(do_work_pending+0x88/0xa8)
[   46.809905]  r7:00000006 r6:ec6ebfb0 r5:c000fc04 r4:ec6ea000
[   46.809943] [<c0012e40>] (do_work_pending) from [<c000faa4>] 
(work_pending+0xc/0x20)
[   46.809953]  r6:00000000 r5:00000001 r4:00000003 r3:00000000
[   46.809992] Division by zero in kernel.
[   46.810010] CPU: 2 PID: 2611 Comm: lt-modetest Not tainted 
4.1.0-rc3-debug+ #2
[   46.810021] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[   46.810030] Backtrace:
[   46.810054] [<c00132b0>] (dump_backtrace) from [<c00134c8>] 
(show_stack+0x18/0x1c)
[   46.810065]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
[   46.810105] [<c00134b0>] (show_stack) from [<c04f2138>] 
(dump_stack+0x88/0xc8)
[   46.810126] [<c04f20b0>] (dump_stack) from [<c0013434>] 
(__div0+0x1c/0x20)
[   46.810136]  r6:00000003 r5:00000000 r4:ed975010 r3:00000000
[   46.810172] [<c0013418>] (__div0) from [<c020dc14>] (Ldiv0+0x8/0x10)
[   46.810193] [<c02b5e08>] (fimd_commit) from [<c02b1c38>] 
(exynos_drm_crtc_enable+0x78/0x7c)
[   46.810203]  r9:ee14cc00 r8:c06ffcbc r7:c0748f94 r6:ed3e5340 
r5:ed975020 r4:ee14cc00
[   46.810248] [<c02b1bc0>] (exynos_drm_crtc_enable) from [<c028c0e8>] 
(drm_atomic_helper_commit_modeset_enables+0x98/0x1c8)
[   46.810258]  r5:ee14cc00 r4:00000001
[   46.810287] [<c028c050>] (drm_atomic_helper_commit_modeset_enables) 
from [<c028e6ac>] (drm_atomic_helper_commit+0x124/0x170)
[   46.810297]  r8:00000000 r7:ee248000 r6:00000000 r5:ed3e5340 
r4:0000000b r3:00000000
[   46.810339] [<c028e588>] (drm_atomic_helper_commit) from [<c02b2794>] 
(exynos_atomic_commit+0x14/0x18)
[   46.810350]  r8:ee14cc00 r7:00000000 r6:ed86f728 r5:ee248000 
r4:ed3e5340 r3:c02b2780
[   46.810390] [<c02b2780>] (exynos_atomic_commit) from [<c02af928>] 
(drm_atomic_commit+0x4c/0x6c)
[   46.810409] [<c02af8dc>] (drm_atomic_commit) from [<c028d250>] 
(drm_atomic_helper_set_config+0x31c/0x428)
[   46.810420]  r5:ed3e5340 r4:00000003
[   46.810452] [<c028cf34>] (drm_atomic_helper_set_config) from 
[<c029f14c>] (drm_mode_set_config_internal+0x60/0xdc)
[   46.810462]  r10:00000000 r9:ee248000 r8:ed86f200 r7:ee14cc00 
r6:00000002 r5:00000050
[   46.810496]  r4:ed832c00
[   46.810521] [<c029f0ec>] (drm_mode_set_config_internal) from 
[<c0290c2c>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
[   46.810531]  r7:ed86f728 r6:00000002 r5:00000050 r4:00000000
[   46.810569] [<c0290b40>] (drm_fb_helper_restore_fbdev_mode_unlocked) 
from [<c02b2658>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
[   46.810579]  r10:ee24814c r9:ed190780 r8:ee248034 r7:ee248000 
r6:ee248058 r5:c0748f94
[   46.810612]  r4:ee248000
[   46.810632] [<c02b2630>] (exynos_drm_fbdev_restore_mode) from 
[<c02b1068>] (exynos_drm_lastclose+0x10/0x14)
[   46.810650] [<c02b1058>] (exynos_drm_lastclose) from [<c0294564>] 
(drm_lastclose+0x3c/0x10c)
[   46.810666] [<c0294528>] (drm_lastclose) from [<c0294974>] 
(drm_release+0x340/0x4e0)
[   46.810676]  r6:ee248058 r5:ec6404a8 r4:ec640400 r3:00000000
[   46.810713] [<c0294634>] (drm_release) from [<c0103ca8>] 
(__fput+0xa0/0x1e4)
[   46.810723]  r10:00000000 r9:00000008 r8:ee11a5b0 r7:edc0d720 
r6:eda71410 r5:ee11a5b0
[   46.810757]  r4:ec640d00
[   46.810778] [<c0103c08>] (__fput) from [<c0103e58>] 
(____fput+0x10/0x14)
[   46.810788]  r10:00000000 r9:ec6ea000 r8:c000fc04 r7:ed8fb9c0 
r6:c0718ef8 r5:00000000
[   46.810821]  r4:ed8fbdc4
[   46.810844] [<c0103e48>] (____fput) from [<c00473b0>] 
(task_work_run+0xb8/0xfc)
[   46.810866] [<c00472f8>] (task_work_run) from [<c0012ec8>] 
(do_work_pending+0x88/0xa8)
[   46.810877]  r7:00000006 r6:ec6ebfb0 r5:c000fc04 r4:ec6ea000
[   46.810913] [<c0012e40>] (do_work_pending) from [<c000faa4>] 
(work_pending+0xc/0x20)
[   46.810923]  r6:00000000 r5:00000001 r4:00000003 r3:00000000


I suspect that atomic merely exposed this bug (I suspect it was there 
all the time).

With best wishes,
Tobias

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-12 18:29         ` Gustavo Padovan
@ 2015-05-14 18:41           ` Gustavo Padovan
  0 siblings, 0 replies; 23+ messages in thread
From: Gustavo Padovan @ 2015-05-14 18:41 UTC (permalink / raw)
  To: Inki Dae, Tobias Jakobi, linux-samsung-soc, DRI mailing list

Hi Inki and Tobias,

2015-05-12 Gustavo Padovan <gustavo@padovan.org>:

> 2015-05-10 Inki Dae <inki.dae@samsung.com>:
> 
> > 2015-05-09 21:13 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
> > > Hello Inki,
> > >
> > >
> > > Inki Dae wrote:
> > >> Hi,
> > >>
> > >> 2015-05-09 6:51 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
> > >>> Hello,
> > >>>
> > >>> I've tested this on my Hardkernel Odroid-X2 (connected via HDMI to a
> > >>> 1080p panel).
> > >>>
> > >>> Run the usual modetest tests (just primary plane, primary plane with
> > >>> vsync, primary plane with overlay, primary plane with overlay and video
> > >>> overlay, overlay partially outside of crtc area, etc.) and haven't
> > >>> noticed any issues so far.
> > >>
> > >> As I mentioned several times, it works well in case that only one crtc
> > >> driver is enabled. Could you check it again after you enable two or
> > >> more crtc drivers such as FIMD and HDMI or FIMD, HDMI and VIDI
> > >> together? For this, dts file for X2 should contain their device nodes
> > >> and also should be configurated though menuconfig.
> > > I've enabled VIDI and FIMD and confirmed that they should up properly in
> > > modetest before applying the series.
> > >
> > > Booting with the atomic series works fine, but I get a segfault when
> > > calling modetest. I've attached the kernel log below.
> > 
> > Below panic issue is same as one I faced with at previous patch seris,
> > v3, which was invalid memory access - state->crtc is NULL whille
> > modetest is being performed. It seems that the last patch of v4 didn't
> > resolve this issue yet.
> 
> The weird thing is that it works quite fine on my exynos 5 hardware.
> I'll take a look on what could be be happening to cause this kind of
> crash.

Can you please check if the following diff solves the issue?

iff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c
index 8a1cd8b..3d64799 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_plane.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c
@@ -163,6 +163,9 @@ static void exynos_plane_atomic_update(struct drm_plane *plane,
        struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(state->crtc);
        struct exynos_drm_plane *exynos_plane = to_exynos_plane(plane);
 
+       if (!state->crtc)
+               return;
+
        exynos_plane_mode_set(plane, state->crtc, state->fb,
                              state->crtc_x, state->crtc_y,
                              state->crtc_w, state->crtc_h,
@@ -179,6 +182,9 @@ static void exynos_plane_atomic_disable(struct drm_plane *plane,
        struct exynos_drm_plane *exynos_plane = to_exynos_plane(plane);
        struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(old_state->crtc);
 
+       if (!old_state->crtc)
+               return;
+
        if (exynos_crtc->ops->disable_plane)
                exynos_crtc->ops->disable_plane(exynos_crtc,
                                                exynos_plane->zpos);

^ permalink raw reply related	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-10 13:54       ` Inki Dae
@ 2015-05-12 18:29         ` Gustavo Padovan
  2015-05-14 18:41           ` Gustavo Padovan
  0 siblings, 1 reply; 23+ messages in thread
From: Gustavo Padovan @ 2015-05-12 18:29 UTC (permalink / raw)
  To: Inki Dae; +Cc: Tobias Jakobi, linux-samsung-soc, DRI mailing list

2015-05-10 Inki Dae <inki.dae@samsung.com>:

> 2015-05-09 21:13 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
> > Hello Inki,
> >
> >
> > Inki Dae wrote:
> >> Hi,
> >>
> >> 2015-05-09 6:51 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
> >>> Hello,
> >>>
> >>> I've tested this on my Hardkernel Odroid-X2 (connected via HDMI to a
> >>> 1080p panel).
> >>>
> >>> Run the usual modetest tests (just primary plane, primary plane with
> >>> vsync, primary plane with overlay, primary plane with overlay and video
> >>> overlay, overlay partially outside of crtc area, etc.) and haven't
> >>> noticed any issues so far.
> >>
> >> As I mentioned several times, it works well in case that only one crtc
> >> driver is enabled. Could you check it again after you enable two or
> >> more crtc drivers such as FIMD and HDMI or FIMD, HDMI and VIDI
> >> together? For this, dts file for X2 should contain their device nodes
> >> and also should be configurated though menuconfig.
> > I've enabled VIDI and FIMD and confirmed that they should up properly in
> > modetest before applying the series.
> >
> > Booting with the atomic series works fine, but I get a segfault when
> > calling modetest. I've attached the kernel log below.
> 
> Below panic issue is same as one I faced with at previous patch seris,
> v3, which was invalid memory access - state->crtc is NULL whille
> modetest is being performed. It seems that the last patch of v4 didn't
> resolve this issue yet.

The weird thing is that it works quite fine on my exynos 5 hardware.
I'll take a look on what could be be happening to cause this kind of
crash.

	Gustavo

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-09 12:13     ` Tobias Jakobi
  2015-05-09 12:20       ` Tobias Jakobi
@ 2015-05-10 13:54       ` Inki Dae
  2015-05-12 18:29         ` Gustavo Padovan
  1 sibling, 1 reply; 23+ messages in thread
From: Inki Dae @ 2015-05-10 13:54 UTC (permalink / raw)
  To: Tobias Jakobi; +Cc: linux-samsung-soc, DRI mailing list

2015-05-09 21:13 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
> Hello Inki,
>
>
> Inki Dae wrote:
>> Hi,
>>
>> 2015-05-09 6:51 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
>>> Hello,
>>>
>>> I've tested this on my Hardkernel Odroid-X2 (connected via HDMI to a
>>> 1080p panel).
>>>
>>> Run the usual modetest tests (just primary plane, primary plane with
>>> vsync, primary plane with overlay, primary plane with overlay and video
>>> overlay, overlay partially outside of crtc area, etc.) and haven't
>>> noticed any issues so far.
>>
>> As I mentioned several times, it works well in case that only one crtc
>> driver is enabled. Could you check it again after you enable two or
>> more crtc drivers such as FIMD and HDMI or FIMD, HDMI and VIDI
>> together? For this, dts file for X2 should contain their device nodes
>> and also should be configurated though menuconfig.
> I've enabled VIDI and FIMD and confirmed that they should up properly in
> modetest before applying the series.
>
> Booting with the atomic series works fine, but I get a segfault when
> calling modetest. I've attached the kernel log below.

Below panic issue is same as one I faced with at previous patch seris,
v3, which was invalid memory access - state->crtc is NULL whille
modetest is being performed. It seems that the last patch of v4 didn't
resolve this issue yet.

Thanks,
Inki Dae

>
>
>
>>> Kernel log is 'clean', so the series works fine for me.
>>>
>>> You can add my
>>> Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
>>
>> So you didn't test it correctly yet.
> I tested the common usage scenario. In fact I can't really test with
> FIMD anyway, since I don't have any panel that I can attach to the LCD
> expansion port. Regardless of whether the kernel oopses or anything with
> atomic, I can never make sure that the FIMD visuals are actually correct.
>
>
> With best wishes,
> Tobias
>
>> Thanks,
>> Inki Dae
>>
>
>
>
> Kernel log (after triggering segfault with modetest):
>> liquid@chidori ~/sourcecode/video/drm/tests/modetest $ dmesg
>> [    0.000000] Booting Linux on physical CPU 0xa00
>> [    0.000000] Initializing cgroup subsys cpuset
>> [    0.000000] Initializing cgroup subsys cpuacct
>> [    0.000000] Linux version 4.1.0-rc2-debug+ (liquid@chidori) (gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9) ) #4 SMP PREEMPT Sat May 9 05:11:08 CEST 2015
>> [    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
>> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
>> [    0.000000] Machine model: Hardkernel ODROID-X2 board based on Exynos4412
>> [    0.000000] earlycon: no match for ttySAC1,115200n8
>> [    0.000000] bootconsole [earlycon0] enabled
>> [    0.000000] Reserved memory: created CMA memory pool at 0x77000000, size 16 MiB
>> [    0.000000] Reserved memory: initialized node region@77000000, compatible id shared-dma-pool
>> [    0.000000] Reserved memory: created CMA memory pool at 0x78000000, size 16 MiB
>> [    0.000000] Reserved memory: initialized node region@78000000, compatible id shared-dma-pool
>> [    0.000000] cma: Reserved 128 MiB at 0xb7c00000
>> [    0.000000] Memory policy: Data cache writealloc
>> [    0.000000] Samsung CPU ID: 0xe4412220
>> [    0.000000] On node 0 totalpages: 524032
>> [    0.000000] free_area_init_node: node 0, pgdat c0712980, node_mem_map ee7f5000
>> [    0.000000]   Normal zone: 1520 pages used for memmap
>> [    0.000000]   Normal zone: 0 pages reserved
>> [    0.000000]   Normal zone: 194560 pages, LIFO batch:31
>> [    0.000000]   HighMem zone: 329472 pages, LIFO batch:31
>> [    0.000000] Running under secure firmware.
>> [    0.000000] PERCPU: Embedded 12 pages/cpu @ee786000 s17600 r8192 d23360 u49152
>> [    0.000000] pcpu-alloc: s17600 r8192 d23360 u49152 alloc=12*4096
>> [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
>> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522512
>> [    0.000000] Kernel command line: video=HDMI-A-1:1280x720M@60 console=ttySAC1,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ro earlyprintk
>> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
>> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
>> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
>> [    0.000000] Memory: 1907080K/2096128K available (5067K kernel code, 230K rwdata, 1696K rodata, 228K init, 255K bss, 25208K reserved, 163840K cma-reserved, 1154048K highmem)
>> [    0.000000] Virtual kernel memory layout:
>>     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>>     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
>>     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
>>     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
>>     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
>>     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
>>       .text : 0xc0008000 - 0xc06a2fb4   (6764 kB)
>>       .init : 0xc06a3000 - 0xc06dc000   ( 228 kB)
>>       .data : 0xc06dc000 - 0xc0715a18   ( 231 kB)
>>        .bss : 0xc0718000 - 0xc0757d28   ( 256 kB)
>> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
>> [    0.000000] Preemptible hierarchical RCU implementation.
>> [    0.000000] NR_IRQS:16 nr_irqs:16 16
>> [    0.000000] L2C: platform modifies aux control register: 0x02070000 -> 0x3e470001
>> [    0.000000] L2C: platform provided aux values permit register corruption.
>> [    0.000000] L2C: DT/platform modifies aux control register: 0x02070000 -> 0x3e470001
>> [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
>> [    0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9
>> [    0.000000] L2C-310 ID prefetch enabled, offset 8 lines
>> [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
>> [    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
>> [    0.000000] L2C-310: CACHE_ID 0x4100c4c8, AUX_CTRL 0x7e470001
>> [    0.000000] Exynos4x12 clocks: sclk_apll = 1000000000, sclk_mpll = 800000000
>>       sclk_epll = 96000000, sclk_vpll = 350000000, arm_clk = 1000000000
>> [    0.000000] Switching to timer-based delay loop, resolution 41ns
>> [    0.000000] clocksource mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
>> [    0.000004] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
>> [    0.008102] Console: colour dummy device 80x30
>> [    0.012477] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
>> [    0.022869] pid_max: default: 32768 minimum: 301
>> [    0.027653] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
>> [    0.034253] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
>> [    0.041876] Initializing cgroup subsys devices
>> [    0.046262] CPU: Testing write buffer coherency: ok
>> [    0.051455] CPU0: thread -1, cpu 0, socket 10, mpidr 80000a00
>> [    0.057537] Setting up static identity map for 0x40008240 - 0x40008298
>> [    0.100275] CPU1: thread -1, cpu 1, socket 10, mpidr 80000a01
>> [    0.110261] CPU2: thread -1, cpu 2, socket 10, mpidr 80000a02
>> [    0.120255] CPU3: thread -1, cpu 3, socket 10, mpidr 80000a03
>> [    0.120323] Brought up 4 CPUs
>> [    0.140659] SMP: Total of 4 processors activated (192.00 BogoMIPS).
>> [    0.146993] CPU: All CPU(s) started in SVC mode.
>> [    0.152261] devtmpfs: initialized
>> [    0.156913] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
>> [    0.164971] lcd0-power-domain@10023C80 has as child subdomain: tv-power-domain@10023C20.
>> [    0.173550] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
>> [    0.188296] pinctrl core: initialized pinctrl subsystem
>> [    0.193978] regulator-dummy: no parameters
>> [    0.217531] NET: Registered protocol family 16
>> [    0.223901] DMA: preallocated 256 KiB pool for atomic coherent allocations
>> [    0.249814] cpuidle: using governor ladder
>> [    0.264814] cpuidle: using governor menu
>> [    0.282638] exynos-audss-clk 3810000.clock-controller: setup completed
>> [    0.319093] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
>> [    0.327028] hw-breakpoint: maximum watchpoint size is 4 bytes.
>> [    0.342381] sysvdd: 5000 mV
>> [    0.342441] reg-fixed-voltage regulators:regulator@0: sysvdd supplying 5000000uV
>> [    0.342800] p3v3: 3300 mV
>> [    0.342852] reg-fixed-voltage regulators:regulator@1: p3v3 supplying 3300000uV
>> [    0.343165] p3v3_en: GPIO 9 is already used
>> [    0.343184] p3v3_en: 3300 mV
>> [    0.343238] reg-fixed-voltage regulator_p3v3: p3v3_en supplying 3300000uV
>> [    0.344896] SCSI subsystem initialized
>> [    0.348809] usbcore: registered new interface driver usbfs
>> [    0.354306] usbcore: registered new interface driver hub
>> [    0.359991] usbcore: registered new device driver usb
>> [    0.365659] s3c-i2c 13860000.i2c: slave address 0x10
>> [    0.370560] s3c-i2c 13860000.i2c: bus frequency set to 390 KHz
>> [    0.378650] max77686-pmic max77686-pmic: max77686_pmic_probe
>> [    0.379376] vdd_alive_1.0V: 1000 mV
>> [    0.380142] vddq_m1_m2_1.8V: 1800 mV
>> [    0.380879] vddq_ext_1.8V: 1800 mV
>> [    0.381613] vddq_mmc2_2.8V: 2800 mV
>> [    0.382365] vddq_mmc1_mmc3_1.8V: 1800 mV
>> [    0.383103] vdd_mpll_1.0V: 1000 mV
>> [    0.383853] vdd_epll_1.0V: 1000 mV
>> [    0.384455] vdd_hdmi_1.0V: 1000 mV
>> [    0.385219] vt_core_1.0V: 1000 mV
>> [    0.385823] vddq_mipihsi_1.8V: 1800 mV
>> [    0.386564] vdd_abb1_1.8V: 1800 mV
>> [    0.387332] vdd_usb_otg_3.3V: 3300 mV
>> [    0.388084] vddq_c2c_w_1.8V: 1800 mV
>> [    0.388835] vdd_abb0_abb2_1.8V: 1800 mV
>> [    0.389588] vdd_otg_hsic_1.0V: 1000 mV
>> [    0.390337] vdd_hsic_1.8V: 1800 mV
>> [    0.390967] vddq_cam_1.8V: 1800 mV
>> [    0.391730] vddq_isp_1.8V: 1800 mV
>> [    0.392345] vt_cam_1.8V: 1800 mV
>> [    0.393212] vddq_emmc_1.8V: 1800 <--> 3000 mV at 1800 mV
>> [    0.394094] tflash_2.8V: 2800 mV
>> [    0.394749] unused_2.8V: 2800 mV
>> [    0.395386] vdd_touch_2.8V: 2800 mV
>> [    0.396009] vdd_touchled_3.3V: 3300 mV
>> [    0.396781] vddq_lcd_1.8V: 1800 mV
>> [    0.397404] vdd_motor_3.0V: 3000 mV
>> [    0.398166] vdd_mif: 850 <--> 1100 mV at 1100 mV
>> [    0.398926] vdd_arm: 900 <--> 1400 mV at 1037 mV
>> [    0.399686] vdd_int: 850 <--> 1150 mV at 1000 mV
>> [    0.400321] vdd_g3d: 50mV offset
>> [    0.401097] vddq_ckem1_1.2V: 1200 mV
>> [    0.401890] input_ldo_1.35V: 1350 mV
>> [    0.402670] input_ldo_2.0V: 2000 mV
>> [    0.403289] vddf_emmc_2.85V: 2850 mV
>> [    0.404054] io_1.2V: 1200 mV
>> [    0.404442] s3c-i2c 13860000.i2c: i2c-0: S3C I2C adapter
>> [    0.409941] s3c-i2c 13870000.i2c: slave address 0x10
>> [    0.414835] s3c-i2c 13870000.i2c: bus frequency set to 390 KHz
>> [    0.421169] s3c-i2c 13870000.i2c: i2c-1: S3C I2C adapter
>> [    0.426581] s3c-i2c 13880000.i2c: slave address 0x00
>> [    0.431474] s3c-i2c 13880000.i2c: bus frequency set to 97 KHz
>> [    0.437534] s3c-i2c 13880000.i2c: i2c-2: S3C I2C adapter
>> [    0.442905] s3c-i2c 138e0000.i2c: slave address 0x00
>> [    0.447809] s3c-i2c 138e0000.i2c: bus frequency set to 97 KHz
>> [    0.454028] s3c-i2c 138e0000.i2c: i2c-8: S3C I2C adapter
>> [    0.459490] Linux video capture interface: v2.00
>> [    0.464682] Advanced Linux Sound Architecture Driver Initialized.
>> [    0.471666] Switched to clocksource mct-frc
>> [    0.491175] NET: Registered protocol family 2
>> [    0.496182] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
>> [    0.503240] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
>> [    0.509948] TCP: Hash tables configured (established 8192 bind 8192)
>> [    0.516298] UDP hash table entries: 512 (order: 2, 24576 bytes)
>> [    0.522262] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
>> [    0.528879] NET: Registered protocol family 1
>> [    0.533652] CPU PMU: Failed to parse <no-node>/interrupt-affinity[0]
>> [    0.539981] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
>> [    0.552811] futex hash table entries: 1024 (order: 4, 65536 bytes)
>> [    0.559052] audit: initializing netlink subsys (disabled)
>> [    0.564437] audit: type=2000 audit(0.535:1): initialized
>> [    0.585260] alg: No test for stdrng (krng)
>> [    0.617700] bounce: pool size: 64 pages
>> [    0.621703] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
>> [    0.629039] io scheduler noop registered
>> [    0.633026] io scheduler deadline registered
>> [    0.637703] io scheduler cfq registered (default)
>> [    0.642891] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
>> [    0.642907] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
>> [    0.643115] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
>> [    0.643129] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
>> [    0.643291] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
>> [    0.643304] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
>> [    0.643471] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
>> [    0.643485] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
>> [    0.649998] dma-pl330 12680000.pdma: Loaded driver for PL330 DMAC-141330
>> [    0.656639] dma-pl330 12680000.pdma:       DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
>> [    0.670196] dma-pl330 12690000.pdma: Loaded driver for PL330 DMAC-141330
>> [    0.676840] dma-pl330 12690000.pdma:       DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
>> [    0.686800] dma-pl330 12850000.mdma: Loaded driver for PL330 DMAC-141330
>> [    0.693432] dma-pl330 12850000.mdma:       DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
>> [    0.702961] 13800000.serial: ttySAC0 at MMIO 0x13800000 (irq = 70, base_baud = 0) is a S3C6400/10
>> [    0.712302] 13810000.serial: ttySAC1 at MMIO 0x13810000 (irq = 71, base_baud = 0) is a S3C6400/10
>> [    0.721180] console [ttySAC1] enabled
>> [    0.728499] bootconsole [earlycon0] disabled
>> [    0.737620] 13820000.serial: ttySAC2 at MMIO 0x13820000 (irq = 72, base_baud = 0) is a S3C6400/10
>> [    0.741352] 13830000.serial: ttySAC3 at MMIO 0x13830000 (irq = 73, base_baud = 0) is a S3C6400/10
>> [    0.750813] [drm] Initialized drm 1.1.0 20060810
>> [    0.759713] exynos-hdmi 12d00000.hdmi: Looking up vdd-supply from device tree
>> [    0.759807] exynos-hdmi 12d00000.hdmi: Looking up vdd_osc-supply from device tree
>> [    0.759878] exynos-hdmi 12d00000.hdmi: Looking up vdd_pll-supply from device tree
>> [    0.759945] exynos-hdmi 12d00000.hdmi: Looking up hdmi-en-supply from device tree
>> [    0.759958] exynos-hdmi 12d00000.hdmi: Looking up hdmi-en-supply property in node /hdmi@12D00000 failed
>> [    0.759983] 12d00000.hdmi supply hdmi-en not found, using dummy regulator
>> [    0.762761] s5p-g2d 10800000.g2d: The exynos g2d(ver 4.1) successfully probed
>> [    0.770698] exynos-drm-fimc 11820000.fimc: drm fimc registered successfully.
>> [    0.776400] exynos-drm-fimc 11830000.fimc: drm fimc registered successfully.
>> [    0.783136] exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
>> [    0.790616] exynos-drm exynos-drm: bound exynos-drm-vidi (ops vidi_component_ops)
>> [    0.798083] exynos-sysmmu 11e20000.sysmmu: Enabled
>> [    0.798099] exynos4-fb 11c00000.fimd: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000
>> [    0.798117] exynos-drm exynos-drm: bound 11c00000.fimd (ops fimd_component_ops)
>> [    0.804690] exynos-sysmmu 12e20000.sysmmu: Enabled
>> [    0.804704] exynos-mixer 12c10000.mixer: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000
>> [    0.804735] exynos-drm exynos-drm: bound 12c10000.mixer (ops mixer_component_ops)
>> [    0.811804] exynos-drm exynos-drm: bound 12d00000.hdmi (ops hdmi_component_ops)
>> [    0.818780] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
>> [    0.825370] [drm] No driver support for vblank timestamp query.
>> [    0.831580] exynos-sysmmu 10a40000.sysmmu: Enabled
>> [    0.831594] s5p-g2d 10800000.g2d: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000
>> [    0.832024] exynos-sysmmu 11a40000.sysmmu: Enabled
>> [    0.832037] exynos-drm-fimc 11820000.fimc: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000
>> [    0.832069] exynos-sysmmu 11a50000.sysmmu: Enabled
>> [    0.832081] exynos-drm-fimc 11830000.fimc: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000
>> [    0.869747] exynos-drm exynos-drm: fb0:  frame buffer device
>> [    0.869817] exynos-drm exynos-drm: registered panic notifier
>> [    0.875429] [drm] Initialized exynos 1.0.0 20110530 on minor 0
>> [    0.885490] loop: module loaded
>> [    0.886394] usbcore: registered new interface driver smsc95xx
>> [    0.890357] dwc2 12480000.hsotg: registering common handler for irq67
>> [    0.890455] dwc2 12480000.hsotg: mapped PA 12480000 to VA f01c0000
>> [    0.890609] dwc2 12480000.hsotg: NonPeriodic TXFIFO size: 1024
>> [    0.890619] dwc2 12480000.hsotg: RXFIFO size: 2048
>> [    0.890629] dwc2 12480000.hsotg: Periodic TXFIFO 0 size: 0
>> [    0.890638] dwc2 12480000.hsotg: Periodic TXFIFO 1 size: 256
>> [    0.890646] dwc2 12480000.hsotg: Periodic TXFIFO 2 size: 256
>> [    0.890655] dwc2 12480000.hsotg: Periodic TXFIFO 3 size: 256
>> [    0.890664] dwc2 12480000.hsotg: Periodic TXFIFO 4 size: 256
>> [    0.890672] dwc2 12480000.hsotg: Periodic TXFIFO 5 size: 768
>> [    0.890680] dwc2 12480000.hsotg: Periodic TXFIFO 6 size: 768
>> [    0.890689] dwc2 12480000.hsotg: Periodic TXFIFO 7 size: 768
>> [    0.890697] dwc2 12480000.hsotg: Periodic TXFIFO 8 size: 768
>> [    0.890706] dwc2 12480000.hsotg: Periodic TXFIFO 9 size: 0
>> [    0.890714] dwc2 12480000.hsotg: Periodic TXFIFO10 size: 0
>> [    0.890723] dwc2 12480000.hsotg: Periodic TXFIFO11 size: 0
>> [    0.890731] dwc2 12480000.hsotg: Periodic TXFIFO12 size: 0
>> [    0.890740] dwc2 12480000.hsotg: Periodic TXFIFO13 size: 0
>> [    0.890748] dwc2 12480000.hsotg: Periodic TXFIFO14 size: 0
>> [    0.890756] dwc2 12480000.hsotg: Periodic TXFIFO15 size: 0
>> [    0.890845] dwc2 12480000.hsotg: Looking up vusb_d-supply from device tree
>> [    0.891134] dwc2 12480000.hsotg: Looking up vusb_a-supply from device tree
>> [    0.891412] dwc2 12480000.hsotg: pdev 0xee29a600
>> [    0.916698] dwc2 12480000.hsotg: resetting core
>> [    0.916710] dwc2 12480000.hsotg: reset successful
>> [    0.916759] dwc2 12480000.hsotg: EPs: 16, dedicated fifos, 7808 entries in SPRAM
>> [    0.918510] dwc2 12480000.hsotg: GRXFSIZ=0x00001f00, GNPTXFSIZ=0x03001f00
>> [    0.918522] dwc2 12480000.hsotg: FIFOs reset, timeout at 100
>> [    0.919174] dwc2 12480000.hsotg: DCFG=0x08200000, DCTL=0x00000002, DIEPMSK=0000000f
>> [    0.926168] dwc2 12480000.hsotg: GAHBCFG=0x00000000, GHWCFG1=0x00000000
>> [    0.932761] dwc2 12480000.hsotg: GRXFSIZ=0x00000800, GNPTXFSIZ=0x04000800
>> [    0.939529] dwc2 12480000.hsotg: DPTx[1] FSize=256, StAddr=0x00000c00
>> [    0.945953] dwc2 12480000.hsotg: DPTx[2] FSize=256, StAddr=0x00000d00
>> [    0.952376] dwc2 12480000.hsotg: DPTx[3] FSize=256, StAddr=0x00000e00
>> [    0.958799] dwc2 12480000.hsotg: DPTx[4] FSize=256, StAddr=0x00000f00
>> [    0.965221] dwc2 12480000.hsotg: DPTx[5] FSize=768, StAddr=0x00001000
>> [    0.971645] dwc2 12480000.hsotg: DPTx[6] FSize=768, StAddr=0x00001300
>> [    0.978071] dwc2 12480000.hsotg: DPTx[7] FSize=768, StAddr=0x00001600
>> [    0.984492] dwc2 12480000.hsotg: DPTx[8] FSize=768, StAddr=0x00001900
>> [    0.990915] dwc2 12480000.hsotg: DPTx[9] FSize=768, StAddr=0x00003a00
>> [    0.997339] dwc2 12480000.hsotg: DPTx[10] FSize=768, StAddr=0x00003d00
>> [    1.003848] dwc2 12480000.hsotg: DPTx[11] FSize=768, StAddr=0x00004000
>> [    1.010359] dwc2 12480000.hsotg: DPTx[12] FSize=768, StAddr=0x00004300
>> [    1.016869] dwc2 12480000.hsotg: DPTx[13] FSize=768, StAddr=0x00004600
>> [    1.023378] dwc2 12480000.hsotg: DPTx[14] FSize=768, StAddr=0x00004900
>> [    1.029895] dwc2 12480000.hsotg: DPTx[15] FSize=768, StAddr=0x00004c00
>> [    1.036400] dwc2 12480000.hsotg: ep0-in: EPCTL=0x00008000, SIZ=0x00000000, DMA=0xfaea717b
>> [    1.044560] dwc2 12480000.hsotg: ep0-out: EPCTL=0x00008000, SIZ=0x00000000, DMA=0x463c36f1
>> [    1.052805] dwc2 12480000.hsotg: ep1-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xc1c96fe3
>> [    1.060964] dwc2 12480000.hsotg: ep1-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x0a5ff495
>> [    1.069210] dwc2 12480000.hsotg: ep2-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x157e47e4
>> [    1.077369] dwc2 12480000.hsotg: ep2-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf86e1204
>> [    1.085615] dwc2 12480000.hsotg: ep3-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1165f7ee
>> [    1.093774] dwc2 12480000.hsotg: ep3-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1826c196
>> [    1.102020] dwc2 12480000.hsotg: ep4-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xed08cae0
>> [    1.110179] dwc2 12480000.hsotg: ep4-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x10d40640
>> [    1.118425] dwc2 12480000.hsotg: ep5-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5d89bf7a
>> [    1.126584] dwc2 12480000.hsotg: ep5-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xa2448680
>> [    1.134830] dwc2 12480000.hsotg: ep6-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x3ffe411c
>> [    1.142990] dwc2 12480000.hsotg: ep6-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x4b8c6202
>> [    1.151236] dwc2 12480000.hsotg: ep7-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1973d37f
>> [    1.159395] dwc2 12480000.hsotg: ep7-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x2541e654
>> [    1.167641] dwc2 12480000.hsotg: ep8-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xbfde1ff2
>> [    1.175800] dwc2 12480000.hsotg: ep8-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x27341467
>> [    1.184051] dwc2 12480000.hsotg: ep9-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xd335fffd
>> [    1.192207] dwc2 12480000.hsotg: ep9-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xc8843b0d
>> [    1.200452] dwc2 12480000.hsotg: ep10-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf66f29f7
>> [    1.208698] dwc2 12480000.hsotg: ep10-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x9ba428e6
>> [    1.217031] dwc2 12480000.hsotg: ep11-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xbb1f9b9d
>> [    1.225276] dwc2 12480000.hsotg: ep11-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x0d34b128
>> [    1.233609] dwc2 12480000.hsotg: ep12-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf177e671
>> [    1.241856] dwc2 12480000.hsotg: ep12-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x85725105
>> [    1.250188] dwc2 12480000.hsotg: ep13-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xe1557ecb
>> [    1.258434] dwc2 12480000.hsotg: ep13-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x8b013e1b
>> [    1.266766] dwc2 12480000.hsotg: ep14-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x37e77bee
>> [    1.275012] dwc2 12480000.hsotg: ep14-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x29a24008
>> [    1.283346] dwc2 12480000.hsotg: ep15-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x95c8ddee
>> [    1.291591] dwc2 12480000.hsotg: ep15-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x10402de7
>> [    1.299923] dwc2 12480000.hsotg: DVBUSDIS=0x000017d7, DVBUSPULSE=000005b8
>> [    1.306912] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>> [    1.313213] ehci-exynos: EHCI EXYNOS driver
>> [    1.317878] exynos-ehci 12580000.ehci: EHCI Host Controller
>> [    1.322958] exynos-ehci 12580000.ehci: new USB bus registered, assigned bus number 1
>> [    1.330955] exynos-ehci 12580000.ehci: irq 68, io mem 0x12580000
>> [    1.341699] exynos-ehci 12580000.ehci: USB 2.0 started, EHCI 1.00
>> [    1.342894] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
>> [    1.349490] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>> [    1.356694] usb usb1: Product: EHCI Host Controller
>> [    1.361534] usb usb1: Manufacturer: Linux 4.1.0-rc2-debug+ ehci_hcd
>> [    1.367802] usb usb1: SerialNumber: 12580000.ehci
>> [    1.373360] hub 1-0:1.0: USB hub found
>> [    1.376235] hub 1-0:1.0: 3 ports detected
>> [    1.381237] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>> [    1.386397] ohci-exynos: OHCI EXYNOS driver
>> [    1.391074] usb3503 0-0008: Looking up ext-supply from device tree
>> [    1.391088] usb3503 0-0008: Looking up ext-supply property in node /i2c@13860000/usb3503@08 failed
>> [    1.606796] usb3503 0-0008: switched to HUB mode
>> [    1.606855] usb3503 0-0008: usb3503_probe: probed in hub mode
>> [    1.612295] max77686-rtc max77686-rtc: max77686_rtc_probe
>> [    1.716735] usb 1-2: new high-speed USB device number 2 using exynos-ehci
>> [    1.718456] rtc rtc0: max77686-rtc: dev (254:0)
>> [    1.718479] max77686-rtc max77686-rtc: rtc core: registered max77686-rtc as rtc0
>> [    1.726018] s3c-rtc 10070000.rtc: s3c2410_rtc: tick irq 65, alarm irq 64
>> [    1.726123] s3c-rtc 10070000.rtc: failed to find rtc source clock
>> [    1.731625] i2c /dev entries driver
>> [    1.736264] exynos-tmu 100c0000.tmu: Looking up vtmu-supply from device tree
>> [    1.737858] s3c2410-wdt 10060000.watchdog: watchdog inactive, reset disabled, irq disabled
>> [    1.743829] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
>> [    1.753589] sdhci: Secure Digital Host Controller Interface driver
>> [    1.757553] sdhci: Copyright(c) Pierre Ossman
>> [    1.762233] s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (100000000 Hz)
>> [    1.769400] s3c-sdhci 12530000.sdhci: Got CD GPIO
>> [    1.774315] s3c-sdhci 12530000.sdhci: Looking up vmmc-supply from device tree
>> [    1.774370] s3c-sdhci 12530000.sdhci: Looking up vqmmc-supply from device tree
>> [    1.801804] mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
>> [    1.803615] Synopsys Designware Multimedia Card Interface Driver
>> [    1.810179] dwmmc_exynos 12550000.mmc: IDMAC supports 32-bit address mode.
>> [    1.816396] dwmmc_exynos 12550000.mmc: Using internal DMA controller.
>> [    1.822753] dwmmc_exynos 12550000.mmc: Version ID is 240a
>> [    1.828160] dwmmc_exynos 12550000.mmc: DW MMC controller at irq 120, 32 bit host data width, 128 deep fifo
>> [    1.837784] dwmmc_exynos 12550000.mmc: Looking up vmmc-supply from device tree
>> [    1.837835] dwmmc_exynos 12550000.mmc: Looking up vqmmc-supply from device tree
>> [    1.838022] dwmmc_exynos 12550000.mmc: allocated mmc-pwrseq
>> [    1.847021] usb 1-2: New USB device found, idVendor=0424, idProduct=3503
>> [    1.849991] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
>> [    1.857677] hub 1-2:1.0: USB hub found
>> [    1.860896] hub 1-2:1.0: 3 ports detected
>> [    1.871734] dwmmc_exynos 12550000.mmc: 1 slots initialized
>> [    1.872744] alg: skcipher: encryption failed on test 1 for ecb-aes-s5p: ret=22
>> [    1.878884] s5p-sss driver registered
>> [    1.882581] hidraw: raw HID events driver (C) Jiri Kosina
>> [    1.887989] usbcore: registered new interface driver usbhid
>> [    1.893384] usbhid: USB HID core driver
>> [    1.897650] exynos-memory-bus memory_bus@0: Looking up vdd-mem-supply from device tree
>> [    1.897892] exynos-memory-bus memory_bus@0: unable to get devfreq-event device : ppmu-event3-dmc0
>> [    1.906108] exynos-memory-bus memory_bus@0: failed to initialize memory-bus
>> [    1.913094] exynos-memory-bus memory_bus@1: Looking up vdd-mem-supply from device tree
>> [    1.913300] exynos-memory-bus memory_bus@1: unable to get devfreq-event device : ppmu-event3-leftbus
>> [    1.922157] exynos-memory-bus memory_bus@1: failed to initialize memory-bus
>> [    1.932582] oprofile: using arm/armv7-ca9
>> [    1.933680] NET: Registered protocol family 10
>> [    1.937986] sit: IPv6 over IPv4 tunneling driver
>> [    1.942596] NET: Registered protocol family 17
>> [    1.946602] ThumbEE CPU extension supported.
>> [    1.950753] Registering SWP/SWPB emulation handler
>> [    1.956569] s3c-rtc 10070000.rtc: s3c2410_rtc: tick irq 65, alarm irq 64
>> [    1.956916] s3c-rtc 10070000.rtc: s3c2410_rtc: RTCCON=01
>> [    1.956972] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
>> [    1.956995] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
>> [    1.957006] s3c-rtc 10070000.rtc: read alarm 0, 1900.00.00 00:00:00
>> [    1.957016] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
>> [    1.957023] rtc rtc1: alarm rollover: day
>> [    1.957033] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
>> [    1.957205] rtc rtc1: s3c: dev (254:1)
>> [    1.957219] s3c-rtc 10070000.rtc: rtc core: registered s3c as rtc1
>> [    1.962037] exynos-memory-bus memory_bus@0: Looking up vdd-mem-supply from device tree
>> [    1.962624] exynos-memory-bus memory_bus@1: Looking up vdd-mem-supply from device tree
>> [    1.986841] max98090 1-0010: MAX98090 REVID=0x43
>> [    1.991838] asoc-simple-card sound: HiFi <-> 3830000.i2s mapping ok
>> [    1.995035] input: gpio_keys as /devices/platform/gpio_keys/input/input0
>> [    2.016336] vdd_hdmi_1.0V: disabling
>> [    2.017365] ALSA device list:
>> [    2.017400]   #0: Odroid-X2
>> [    2.020316] Waiting for root device /dev/mmcblk0p2...
>> [    2.068120] mmc0: new high speed SDXC card at address aaaa
>> [    2.068524] mmcblk0: mmc0:aaaa SE64G 59.4 GiB
>> [    2.073463]  mmcblk0: p1 p2 p3
>> [    2.136398] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
>> [    2.138872] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
>> [    2.145739] Freeing unused kernel memory: 228K (c06a3000 - c06dc000)
>> [    2.146787] usb 1-2.1: new high-speed USB device number 3 using exynos-ehci
>> [    2.252221] usb 1-2.1: New USB device found, idVendor=0424, idProduct=9514
>> [    2.253473] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
>> [    2.262134] hub 1-2.1:1.0: USB hub found
>> [    2.264949] hub 1-2.1:1.0: 5 ports detected
>> [    2.351966] usb 1-2.2: new high-speed USB device number 4 using exynos-ehci
>> [    2.462315] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
>> [    2.463559] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> [    2.470879] usb 1-2.2: Product: Mass Storage Device
>> [    2.475844] usb 1-2.2: Manufacturer: JetFlash
>> [    2.480098] usb 1-2.2: SerialNumber: 059FKI3OMNH24FV4
>> [    2.566973] usb 1-2.1.1: new high-speed USB device number 5 using exynos-ehci
>> [    2.672331] usb 1-2.1.1: New USB device found, idVendor=0424, idProduct=ec00
>> [    2.673746] usb 1-2.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
>> [    2.684870] smsc95xx v1.0.4
>> [    2.736342] smsc95xx 1-2.1.1:1.0 eth0: register 'smsc95xx' at usb-12580000.ehci-2.1.1, smsc95xx USB 2.0 Ethernet, ae:74:f4:b9:9c:4c
>> [    2.826794] usb 1-2.1.3: new full-speed USB device number 6 using exynos-ehci
>> [    2.935809] usb 1-2.1.3: New USB device found, idVendor=0b05, idProduct=17cb
>> [    2.937269] usb 1-2.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> [    2.944751] usb 1-2.1.3: Product: BCM20702A0
>> [    2.948981] usb 1-2.1.3: Manufacturer: Broadcom Corp
>> [    2.953943] usb 1-2.1.3: SerialNumber: 000272C64311
>> [    3.910324] systemd-udevd[1035]: starting version 216
>> [    3.956260] random: systemd-udevd urandom read with 40 bits of entropy available
>> [    4.166911] s5p-jpeg 11840000.jpeg-codec: sclk clock not available
>> [    4.167137] s5p-jpeg 11840000.jpeg-codec: encoder device registered as /dev/video0
>> [    4.167312] s5p-jpeg 11840000.jpeg-codec: decoder device registered as /dev/video1
>> [    4.167317] s5p-jpeg 11840000.jpeg-codec: Samsung S5P JPEG codec
>> [    4.220028] usb-storage 1-2.2:1.0: USB Mass Storage device detected
>> [    4.220486] scsi host0: usb-storage 1-2.2:1.0
>> [    4.227433] usbcore: registered new interface driver usb-storage
>> [    4.261527] Bluetooth: Core ver 2.20
>> [    4.261588] NET: Registered protocol family 31
>> [    4.261594] Bluetooth: HCI device and connection manager initialized
>> [    4.261613] Bluetooth: HCI socket layer initialized
>> [    4.261625] Bluetooth: L2CAP socket layer initialized
>> [    4.262569] Bluetooth: SCO socket layer initialized
>> [    4.321779] usbcore: registered new interface driver btusb
>> [    4.328530] Bluetooth: hci0: BCM: chip id 63
>> [    4.329532] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
>> [    4.342542] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cb.hcd failed with error -2
>> [    4.342559] Bluetooth: hci0: BCM: patch brcm/BCM20702A1-0b05-17cb.hcd not found
>> [    5.607589] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 6
>> [    5.609550] sd 0:0:0:0: [sda] 61702144 512-byte logical blocks: (31.5 GB/29.4 GiB)
>> [    5.610410] sd 0:0:0:0: [sda] Write Protect is off
>> [    5.610419] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
>> [    5.611308] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
>> [    5.626977]  sda: sda1 sda2 sda3
>> [    5.631039] sd 0:0:0:0: [sda] Attached SCSI removable disk
>> [    5.976906] raid6: int32x1  gen()   253 MB/s
>> [    6.061767] raid6: int32x1  xor()   219 MB/s
>> [    6.146703] raid6: int32x2  gen()   344 MB/s
>> [    6.231703] raid6: int32x2  xor()   263 MB/s
>> [    6.316761] raid6: int32x4  gen()   397 MB/s
>> [    6.401717] raid6: int32x4  xor()   273 MB/s
>> [    6.486674] raid6: int32x8  gen()   393 MB/s
>> [    6.571969] raid6: int32x8  xor()   254 MB/s
>> [    6.656781] raid6: neonx1   gen()  1046 MB/s
>> [    6.741728] raid6: neonx2   gen()  1446 MB/s
>> [    6.826739] raid6: neonx4   gen()  1503 MB/s
>> [    6.909713] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
>> [    6.911704] raid6: neonx8   gen()  1042 MB/s
>> [    6.911719] raid6: using algorithm neonx4 gen() 1503 MB/s
>> [    6.911731] raid6: using intx1 recovery algorithm
>> [    6.923619] xor: measuring software checksum speed
>> [    6.971708]    arm4regs  :  2887.200 MB/sec
>> [    7.021701]    8regs     :  1896.800 MB/sec
>> [    7.071699]    32regs    :  1459.200 MB/sec
>> [    7.121697]    neon      :  1756.800 MB/sec
>> [    7.121709] xor: using function: arm4regs (2887.200 MB/sec)
>> [    7.229707] Btrfs loaded
>> [    7.232454] BTRFS: device label odroid_portage devid 1 transid 473 /dev/sda1
>> [    7.259786] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
>> [    7.271365] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
>> [    7.286692] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
>> [    7.289609] EXT4-fs (mmcblk0p3): mounting ext3 file system using the ext4 subsystem
>> [    7.303613] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
>> [    7.645277] random: nonblocking pool is initialized
>> [    9.578598] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
>> [    9.578626] Bluetooth: BNEP socket layer initialized
>> [    9.842243] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
>> [    9.865029] device br0 entered promiscuous mode
>> [   13.865314] smsc95xx 1-2.1.1:1.0 eth0: hardware isn't capable of remote wakeup
>> [   13.865405] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
>> [   34.735378] device bnep0 entered promiscuous mode
>> [   34.737823] br0: port 1(bnep0) entered forwarding state
>> [   34.737920] br0: port 1(bnep0) entered forwarding state
>> [   34.744828] ------------[ cut here ]------------
>> [   34.744903] WARNING: CPU: 1 PID: 2276 at kernel/sched/core.c:7291 __might_sleep+0x94/0xa0()
>> [   34.744957] do not call blocking ops when !TASK_RUNNING; state=1 set at [<bf245250>] bnep_session+0xa4/0x858 [bnep]
>> [   34.744981] Modules linked in: cmac ecb bridge stp llc bnep btrfs xor xor_neon zlib_inflate zlib_deflate raid6_pq btusb btbcm btintel bluetooth usb_storage s5p_jpeg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem videobuf2_core
>> [   34.745233] CPU: 1 PID: 2276 Comm: kbnepd bnep0 Not tainted 4.1.0-rc2-debug+ #4
>> [   34.745257] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
>> [   34.745277] Backtrace:
>> [   34.745341] [<c0013270>] (dump_backtrace) from [<c0013488>] (show_stack+0x18/0x1c)
>> [   34.745363]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
>> [   34.745454] [<c0013470>] (show_stack) from [<c04f1d98>] (dump_stack+0x88/0xc8)
>> [   34.745502] [<c04f1d10>] (dump_stack) from [<c002e634>] (warn_slowpath_common+0x88/0xb8)
>> [   34.745522]  r6:c0604f3c r5:00001c7b r4:edbb3da8 r3:dc8ba300
>> [   34.745597] [<c002e5ac>] (warn_slowpath_common) from [<c002e69c>] (warn_slowpath_fmt+0x38/0x40)
>> [   34.745617]  r8:edb56c00 r7:c0713770 r6:00000000 r5:00000943 r4:c06648d8
>> [   34.745703] [<c002e668>] (warn_slowpath_fmt) from [<c004e068>] (__might_sleep+0x94/0xa0)
>> [   34.745722]  r3:00000001 r2:c0605064
>> [   34.745780] [<c004dfd4>] (__might_sleep) from [<c040ce7c>] (lock_sock_nested+0x28/0x6c)
>> [   34.745801]  r7:00000004 r6:edba2c00 r5:edba2460 r4:edba2400
>> [   34.745996] [<c040ce54>] (lock_sock_nested) from [<bf06a474>] (l2cap_sock_sendmsg+0x48/0xe4 [bluetooth])
>> [   34.746020]  r5:ec12ad2c r4:edba2400
>> [   34.746183] [<bf06a42c>] (l2cap_sock_sendmsg [bluetooth]) from [<c04097e8>] (sock_sendmsg+0x1c/0x2c)
>> [   34.746213]  r8:edb56c00 r7:ec12a800 r6:edba248c r5:ec8748c0 r4:ec12ad2c r3:bf06a42c
>> [   34.746342] [<c04097cc>] (sock_sendmsg) from [<c04098ec>] (kernel_sendmsg+0x38/0x40)
>> [   34.746405] [<c04098b4>] (kernel_sendmsg) from [<bf245050>] (bnep_send_rsp+0x50/0x58 [bnep])
>> [   34.746431]  r5:ec8748c0 r4:00000100
>> [   34.746514] [<bf245000>] (bnep_send_rsp [bnep]) from [<bf2450d4>] (bnep_rx_control+0x7c/0x154 [bnep])
>> [   34.746542]  r5:00000001 r4:ec12ad00
>> [   34.746815] [<bf245058>] (bnep_rx_control [bnep]) from [<bf245820>] (bnep_session+0x674/0x858 [bnep])
>> [   34.746846]  r5:00000001 r4:ec12ad00
>> [   34.746940] [<bf2451ac>] (bnep_session [bnep]) from [<c0048ae8>] (kthread+0xf4/0x110)
>> [   34.746961]  r10:00000000 r9:00000000 r8:00000000 r7:bf2451ac r6:ec12ad00 r5:00000000
>> [   34.747031]  r4:ec0d2d00
>> [   34.747086] [<c00489f4>] (kthread) from [<c000fac0>] (ret_from_fork+0x14/0x34)
>> [   34.747106]  r7:00000000 r6:00000000 r5:c00489f4 r4:ec0d2d00
>> [   34.747167] ---[ end trace 2dd031423862af06 ]---
>> [  133.283940] Unable to handle kernel NULL pointer dereference at virtual address 000000a4
>> [  133.283962] pgd = ec35c000
>> [  133.283976] [000000a4] *pgd=6c32d831, *pte=00000000, *ppte=00000000
>> [  133.284010] Internal error: Oops: 17 [#1] PREEMPT SMP ARM
>> [  133.284084] Modules linked in: cmac ecb bridge stp llc bnep btrfs xor xor_neon zlib_inflate zlib_deflate raid6_pq btusb btbcm btintel bluetooth usb_storage s5p_jpeg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem videobuf2_core
>> [  133.304170] CPU: 2 PID: 2430 Comm: lt-modetest Tainted: G        W       4.1.0-rc2-debug+ #4
>> [  133.312582] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
>> [  133.318661] task: ec2af8c0 ti: ec166000 task.ti: ec166000
>> [  133.324053] PC is at exynos_plane_atomic_update+0x44/0x2a8
>> [  133.329520] LR is at drm_atomic_helper_commit_planes+0xd8/0x1bc
>> [  133.335415] pc : [<c02b4130>]    lr : [<c028c2ec>]    psr: 60070053
>> sp : ec167d38  ip : 00000000  fp : ec167d84
>> [  133.346868] r10: 00000001  r9 : ee32c400  r8 : 00000000
>> [  133.352077] r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : ee15a308
>> [  133.358587] r3 : 00000000  r2 : ec112580  r1 : 00000000  r0 : 00000000
>> [  133.365099] Flags: nZCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment user
>> [  133.372297] Control: 10c5387d  Table: 6c35c04a  DAC: 00000015
>> [  133.378025] Process lt-modetest (pid: 2430, stack limit = 0xec166218)
>> [  133.384449] Stack: (0xec167d38 to 0xec168000)
>> [  133.388790] 7d20:                                                       ee272800 00000000
>> [  133.396950] 7d40: ec112300 ee32c400 ec167d7c ec167d58 00000000 c02b1b54 ec112300 ec112300
>> [  133.405109] 7d60: 00000000 ee15a308 ed957780 c053d40c ee32c400 00000001 ec167dac ec167d88
>> [  133.413268] 7d80: c028c2ec c02b40f8 00000000 0000000b ec112300 00000000 ee272800 00000000
>> [  133.421427] 7da0: ec167dd4 ec167db0 c028e69c c028c220 c02b2774 ec112300 ee272800 ee100200
>> [  133.429586] 7dc0: 00000000 ee32c400 ec167de4 ec167dd8 c02b2788 c028e590 ec167dfc ec167de8
>> [  133.437745] 7de0: c02af91c c02b2780 00000003 ec112300 ec167e34 ec167e00 c028d24c c02af8dc
>> [  133.445905] 7e00: c02aea0c c02ae484 00000000 00000000 00000028 00000001 ee32c400 ee100300
>> [  133.454064] 7e20: ee272800 00000000 ec167e54 ec167e38 c029f140 c028cf3c 00000000 00000028
>> [  133.462223] 7e40: 00000001 ee100200 ec167e8c ec167e58 c0290c28 c029f0ec ec167e7c ec167e68
>> [  133.470383] 7e60: c004fc84 ee272800 c0749014 ee272858 ee272800 ee272834 edbc4780 ee27294c
>> [  133.478541] 7e80: ec167e9c ec167e90 c02b264c c0290b48 ec167eac ec167ea0 c02b105c c02b2630
>> [  133.486701] 7ea0: ec167ecc ec167eb0 c0294560 c02b1058 00000000 edb4c800 edb4c8a8 ee272858
>> [  133.494860] 7ec0: ec167f1c ec167ed0 c0294970 c0294530 c004fc84 ec102308 00000001 00000002
>> [  133.503019] 7ee0: ee272800 60070053 ee272954 ee102680 c004e03c ec102300 ee11b090 ee182e10
>> [  133.511178] 7f00: edc0dc78 ee11b090 00000008 00000000 ec167f5c ec167f20 c0103c14 c029463c
>> [  133.519337] 7f20: 00000000 00000000 00000000 ec102308 ec167f54 ec2afcc4 00000000 c0718ef8
>> [  133.527497] 7f40: ec2af8c0 c000fbc4 ec166000 00000000 ec167f6c ec167f60 c0103dc4 c0103b80
>> [  133.535656] 7f60: ec167f8c ec167f70 c0047310 c0103dc0 ec166000 c000fbc4 ec167fb0 00000006
>> [  133.543815] 7f80: ec167fac ec167f90 c0012e88 c0047264 00000000 00000003 00000001 00000000
>> [  133.551974] 7fa0: 00000000 ec167fb0 c000fa64 c0012e0c 00000000 00000000 013b8450 00000000
>> [  133.560133] 7fc0: 00000003 00000001 00000000 00000006 000120a4 0001b354 be8fd2b3 00000000
>> [  133.568293] 7fe0: 00000000 be8fcda4 b6f1975c b6ef257c 60070050 00000003 00000000 00000000
>> [  133.576449] Backtrace:
>> [  133.578887] [<c02b40ec>] (exynos_plane_atomic_update) from [<c028c2ec>] (drm_atomic_helper_commit_planes+0xd8/0x1bc)
>> [  133.589383]  r10:00000001 r9:ee32c400 r8:c053d40c r7:ed957780 r6:ee15a308 r5:00000000
>> [  133.597195]  r4:ec112300
>> [  133.599717] [<c028c214>] (drm_atomic_helper_commit_planes) from [<c028e69c>] (drm_atomic_helper_commit+0x118/0x170)
>> [  133.610128]  r8:00000000 r7:ee272800 r6:00000000 r5:ec112300 r4:0000000b r3:00000000
>> [  133.617857] [<c028e584>] (drm_atomic_helper_commit) from [<c02b2788>] (exynos_atomic_commit+0x14/0x18)
>> [  133.627141]  r8:ee32c400 r7:00000000 r6:ee100200 r5:ee272800 r4:ec112300 r3:c02b2774
>> [  133.634869] [<c02b2774>] (exynos_atomic_commit) from [<c02af91c>] (drm_atomic_commit+0x4c/0x6c)
>> [  133.643549] [<c02af8d0>] (drm_atomic_commit) from [<c028d24c>] (drm_atomic_helper_set_config+0x31c/0x428)
>> [  133.653094]  r5:ec112300 r4:00000003
>> [  133.656660] [<c028cf30>] (drm_atomic_helper_set_config) from [<c029f140>] (drm_mode_set_config_internal+0x60/0xdc)
>> [  133.666982]  r10:00000000 r9:ee272800 r8:ee100300 r7:ee32c400 r6:00000001 r5:00000028
>> [  133.674794]  r4:00000000
>> [  133.677317] [<c029f0e0>] (drm_mode_set_config_internal) from [<c0290c28>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
>> [  133.688856]  r7:ee100200 r6:00000001 r5:00000028 r4:00000000
>> [  133.694501] [<c0290b3c>] (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c02b264c>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
>> [  133.706042]  r10:ee27294c r9:edbc4780 r8:ee272834 r7:ee272800 r6:ee272858 r5:c0749014
>> [  133.713854]  r4:ee272800
>> [  133.716374] [<c02b2624>] (exynos_drm_fbdev_restore_mode) from [<c02b105c>] (exynos_drm_lastclose+0x10/0x14)
>> [  133.726096] [<c02b104c>] (exynos_drm_lastclose) from [<c0294560>] (drm_lastclose+0x3c/0x10c)
>> [  133.734514] [<c0294524>] (drm_lastclose) from [<c0294970>] (drm_release+0x340/0x4e0)
>> [  133.742238]  r6:ee272858 r5:edb4c8a8 r4:edb4c800 r3:00000000
>> [  133.747885] [<c0294630>] (drm_release) from [<c0103c14>] (__fput+0xa0/0x1e4)
>> [  133.754910]  r10:00000000 r9:00000008 r8:ee11b090 r7:edc0dc78 r6:ee182e10 r5:ee11b090
>> [  133.762722]  r4:ec102300
>> [  133.765243] [<c0103b74>] (__fput) from [<c0103dc4>] (____fput+0x10/0x14)
>> [  133.771923]  r10:00000000 r9:ec166000 r8:c000fbc4 r7:ec2af8c0 r6:c0718ef8 r5:00000000
>> [  133.779735]  r4:ec2afcc4
>> [  133.782258] [<c0103db4>] (____fput) from [<c0047310>] (task_work_run+0xb8/0xfc)
>> [  133.789550] [<c0047258>] (task_work_run) from [<c0012e88>] (do_work_pending+0x88/0xa8)
>> [  133.797442]  r7:00000006 r6:ec167fb0 r5:c000fbc4 r4:ec166000
>> [  133.803088] [<c0012e00>] (do_work_pending) from [<c000fa64>] (work_pending+0xc/0x20)
>> [  133.810809]  r6:00000000 r5:00000001 r4:00000003 r3:00000000
>> [  133.816454] Code: e5927014 e5921018 e592301c e1d202be (e59590a4)
>> [  133.822608] ---[ end trace 2dd031423862af07 ]---
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-09 12:20       ` Tobias Jakobi
@ 2015-05-09 12:30         ` Tobias Jakobi
  0 siblings, 0 replies; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-09 12:30 UTC (permalink / raw)
  To: Inki Dae; +Cc: Gustavo Padovan, linux-samsung-soc, DRI mailing list

And here's the drm.debug=0xff output leading to the oops:
> [  109.575582] [drm:drm_stub_open] 
> [  109.575609] [drm:drm_open_helper] pid = 2430, minor = 0
> [  109.575630] [drm:ipp_subdrv_open] done priv[0xed9b7e10]
> [  109.575647] [drm:drm_setup] 
> [  109.575699] [drm:drm_ioctl] pid=2430, dev=0xe200, auth=1, DRM_IOCTL_VERSION
> [  109.575719] [drm:drm_ioctl] pid=2430, dev=0xe200, auth=1, DRM_IOCTL_VERSION
> [  109.575764] [drm:drm_release] open_count = 1
> [  109.575786] [drm:drm_release] pid = 2430, device = 0xe200, open_count = 1
> [  109.575810] [drm:drm_lastclose] 
> [  109.575856] [drm:drm_atomic_state_alloc] Allocate atomic state edbdb100
> [  109.575876] [drm:drm_atomic_get_crtc_state] Added [CRTC:21] ed10d600 state to edbdb100
> [  109.575893] [drm:drm_atomic_get_plane_state] Added [PLANE:17] edbdb900 state to edbdb100
> [  109.575906] [drm:drm_atomic_set_crtc_for_plane] Link plane state edbdb900 to [NOCRTC]
> [  109.575918] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state edbdb900
> [  109.575933] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:21] to edbdb100
> [  109.575947] [drm:drm_atomic_check_only] checking edbdb100
> [  109.575965] [drm:drm_atomic_commit] commiting edbdb100
> [  109.575996] Unable to handle kernel NULL pointer dereference at virtual address 000000a4

I've tried to do this in userspace by running modetest through gdb, but
I can't seem to break when the segfault occurs (modetest is already dead
when gdb attempts to break).

I hope this makes it easier to isolate the issue.

With best wishes,
Tobias

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-09 12:13     ` Tobias Jakobi
@ 2015-05-09 12:20       ` Tobias Jakobi
  2015-05-09 12:30         ` Tobias Jakobi
  2015-05-10 13:54       ` Inki Dae
  1 sibling, 1 reply; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-09 12:20 UTC (permalink / raw)
  To: Inki Dae; +Cc: Gustavo Padovan, linux-samsung-soc, DRI mailing list

Tobias Jakobi wrote:
> Hello Inki,
> 
> 
> Inki Dae wrote:
>> Hi,
>>
>> 2015-05-09 6:51 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
>>> Hello,
>>>
>>> I've tested this on my Hardkernel Odroid-X2 (connected via HDMI to a
>>> 1080p panel).
>>>
>>> Run the usual modetest tests (just primary plane, primary plane with
>>> vsync, primary plane with overlay, primary plane with overlay and video
>>> overlay, overlay partially outside of crtc area, etc.) and haven't
>>> noticed any issues so far.
>>
>> As I mentioned several times, it works well in case that only one crtc
>> driver is enabled. Could you check it again after you enable two or
>> more crtc drivers such as FIMD and HDMI or FIMD, HDMI and VIDI
>> together? For this, dts file for X2 should contain their device nodes
>> and also should be configurated though menuconfig.
> I've enabled VIDI and FIMD and confirmed that they should up properly in
> modetest before applying the series.
This should read "...show up properly..."



> 
> Booting with the atomic series works fine, but I get a segfault when
> calling modetest. I've attached the kernel log below.
> 
> 
> 
>>> Kernel log is 'clean', so the series works fine for me.
>>>
>>> You can add my
>>> Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
>>
>> So you didn't test it correctly yet.
> I tested the common usage scenario. In fact I can't really test with
> FIMD anyway, since I don't have any panel that I can attach to the LCD
> expansion port. Regardless of whether the kernel oopses or anything with
> atomic, I can never make sure that the FIMD visuals are actually correct.
> 
> 
> With best wishes,
> Tobias
> 
>> Thanks,
>> Inki Dae
>>
> 
> 
> 
> Kernel log (after triggering segfault with modetest):
>> liquid@chidori ~/sourcecode/video/drm/tests/modetest $ dmesg
>> [    0.000000] Booting Linux on physical CPU 0xa00
>> [    0.000000] Initializing cgroup subsys cpuset
>> [    0.000000] Initializing cgroup subsys cpuacct
>> [    0.000000] Linux version 4.1.0-rc2-debug+ (liquid@chidori) (gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9) ) #4 SMP PREEMPT Sat May 9 05:11:08 CEST 2015
>> [    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
>> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
>> [    0.000000] Machine model: Hardkernel ODROID-X2 board based on Exynos4412
>> [    0.000000] earlycon: no match for ttySAC1,115200n8
>> [    0.000000] bootconsole [earlycon0] enabled
>> [    0.000000] Reserved memory: created CMA memory pool at 0x77000000, size 16 MiB
>> [    0.000000] Reserved memory: initialized node region@77000000, compatible id shared-dma-pool
>> [    0.000000] Reserved memory: created CMA memory pool at 0x78000000, size 16 MiB
>> [    0.000000] Reserved memory: initialized node region@78000000, compatible id shared-dma-pool
>> [    0.000000] cma: Reserved 128 MiB at 0xb7c00000
>> [    0.000000] Memory policy: Data cache writealloc
>> [    0.000000] Samsung CPU ID: 0xe4412220
>> [    0.000000] On node 0 totalpages: 524032
>> [    0.000000] free_area_init_node: node 0, pgdat c0712980, node_mem_map ee7f5000
>> [    0.000000]   Normal zone: 1520 pages used for memmap
>> [    0.000000]   Normal zone: 0 pages reserved
>> [    0.000000]   Normal zone: 194560 pages, LIFO batch:31
>> [    0.000000]   HighMem zone: 329472 pages, LIFO batch:31
>> [    0.000000] Running under secure firmware.
>> [    0.000000] PERCPU: Embedded 12 pages/cpu @ee786000 s17600 r8192 d23360 u49152
>> [    0.000000] pcpu-alloc: s17600 r8192 d23360 u49152 alloc=12*4096
>> [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
>> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522512
>> [    0.000000] Kernel command line: video=HDMI-A-1:1280x720M@60 console=ttySAC1,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ro earlyprintk
>> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
>> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
>> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
>> [    0.000000] Memory: 1907080K/2096128K available (5067K kernel code, 230K rwdata, 1696K rodata, 228K init, 255K bss, 25208K reserved, 163840K cma-reserved, 1154048K highmem)
>> [    0.000000] Virtual kernel memory layout:
>>     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>>     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
>>     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
>>     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
>>     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
>>     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
>>       .text : 0xc0008000 - 0xc06a2fb4   (6764 kB)
>>       .init : 0xc06a3000 - 0xc06dc000   ( 228 kB)
>>       .data : 0xc06dc000 - 0xc0715a18   ( 231 kB)
>>        .bss : 0xc0718000 - 0xc0757d28   ( 256 kB)
>> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
>> [    0.000000] Preemptible hierarchical RCU implementation.
>> [    0.000000] NR_IRQS:16 nr_irqs:16 16
>> [    0.000000] L2C: platform modifies aux control register: 0x02070000 -> 0x3e470001
>> [    0.000000] L2C: platform provided aux values permit register corruption.
>> [    0.000000] L2C: DT/platform modifies aux control register: 0x02070000 -> 0x3e470001
>> [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
>> [    0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9
>> [    0.000000] L2C-310 ID prefetch enabled, offset 8 lines
>> [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
>> [    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
>> [    0.000000] L2C-310: CACHE_ID 0x4100c4c8, AUX_CTRL 0x7e470001
>> [    0.000000] Exynos4x12 clocks: sclk_apll = 1000000000, sclk_mpll = 800000000
>> 	sclk_epll = 96000000, sclk_vpll = 350000000, arm_clk = 1000000000
>> [    0.000000] Switching to timer-based delay loop, resolution 41ns
>> [    0.000000] clocksource mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
>> [    0.000004] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
>> [    0.008102] Console: colour dummy device 80x30
>> [    0.012477] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
>> [    0.022869] pid_max: default: 32768 minimum: 301
>> [    0.027653] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
>> [    0.034253] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
>> [    0.041876] Initializing cgroup subsys devices
>> [    0.046262] CPU: Testing write buffer coherency: ok
>> [    0.051455] CPU0: thread -1, cpu 0, socket 10, mpidr 80000a00
>> [    0.057537] Setting up static identity map for 0x40008240 - 0x40008298
>> [    0.100275] CPU1: thread -1, cpu 1, socket 10, mpidr 80000a01
>> [    0.110261] CPU2: thread -1, cpu 2, socket 10, mpidr 80000a02
>> [    0.120255] CPU3: thread -1, cpu 3, socket 10, mpidr 80000a03
>> [    0.120323] Brought up 4 CPUs
>> [    0.140659] SMP: Total of 4 processors activated (192.00 BogoMIPS).
>> [    0.146993] CPU: All CPU(s) started in SVC mode.
>> [    0.152261] devtmpfs: initialized
>> [    0.156913] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
>> [    0.164971] lcd0-power-domain@10023C80 has as child subdomain: tv-power-domain@10023C20.
>> [    0.173550] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
>> [    0.188296] pinctrl core: initialized pinctrl subsystem
>> [    0.193978] regulator-dummy: no parameters
>> [    0.217531] NET: Registered protocol family 16
>> [    0.223901] DMA: preallocated 256 KiB pool for atomic coherent allocations
>> [    0.249814] cpuidle: using governor ladder
>> [    0.264814] cpuidle: using governor menu
>> [    0.282638] exynos-audss-clk 3810000.clock-controller: setup completed
>> [    0.319093] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
>> [    0.327028] hw-breakpoint: maximum watchpoint size is 4 bytes.
>> [    0.342381] sysvdd: 5000 mV 
>> [    0.342441] reg-fixed-voltage regulators:regulator@0: sysvdd supplying 5000000uV
>> [    0.342800] p3v3: 3300 mV 
>> [    0.342852] reg-fixed-voltage regulators:regulator@1: p3v3 supplying 3300000uV
>> [    0.343165] p3v3_en: GPIO 9 is already used
>> [    0.343184] p3v3_en: 3300 mV 
>> [    0.343238] reg-fixed-voltage regulator_p3v3: p3v3_en supplying 3300000uV
>> [    0.344896] SCSI subsystem initialized
>> [    0.348809] usbcore: registered new interface driver usbfs
>> [    0.354306] usbcore: registered new interface driver hub
>> [    0.359991] usbcore: registered new device driver usb
>> [    0.365659] s3c-i2c 13860000.i2c: slave address 0x10
>> [    0.370560] s3c-i2c 13860000.i2c: bus frequency set to 390 KHz
>> [    0.378650] max77686-pmic max77686-pmic: max77686_pmic_probe
>> [    0.379376] vdd_alive_1.0V: 1000 mV 
>> [    0.380142] vddq_m1_m2_1.8V: 1800 mV 
>> [    0.380879] vddq_ext_1.8V: 1800 mV 
>> [    0.381613] vddq_mmc2_2.8V: 2800 mV 
>> [    0.382365] vddq_mmc1_mmc3_1.8V: 1800 mV 
>> [    0.383103] vdd_mpll_1.0V: 1000 mV 
>> [    0.383853] vdd_epll_1.0V: 1000 mV 
>> [    0.384455] vdd_hdmi_1.0V: 1000 mV 
>> [    0.385219] vt_core_1.0V: 1000 mV 
>> [    0.385823] vddq_mipihsi_1.8V: 1800 mV 
>> [    0.386564] vdd_abb1_1.8V: 1800 mV 
>> [    0.387332] vdd_usb_otg_3.3V: 3300 mV 
>> [    0.388084] vddq_c2c_w_1.8V: 1800 mV 
>> [    0.388835] vdd_abb0_abb2_1.8V: 1800 mV 
>> [    0.389588] vdd_otg_hsic_1.0V: 1000 mV 
>> [    0.390337] vdd_hsic_1.8V: 1800 mV 
>> [    0.390967] vddq_cam_1.8V: 1800 mV 
>> [    0.391730] vddq_isp_1.8V: 1800 mV 
>> [    0.392345] vt_cam_1.8V: 1800 mV 
>> [    0.393212] vddq_emmc_1.8V: 1800 <--> 3000 mV at 1800 mV 
>> [    0.394094] tflash_2.8V: 2800 mV 
>> [    0.394749] unused_2.8V: 2800 mV 
>> [    0.395386] vdd_touch_2.8V: 2800 mV 
>> [    0.396009] vdd_touchled_3.3V: 3300 mV 
>> [    0.396781] vddq_lcd_1.8V: 1800 mV 
>> [    0.397404] vdd_motor_3.0V: 3000 mV 
>> [    0.398166] vdd_mif: 850 <--> 1100 mV at 1100 mV 
>> [    0.398926] vdd_arm: 900 <--> 1400 mV at 1037 mV 
>> [    0.399686] vdd_int: 850 <--> 1150 mV at 1000 mV 
>> [    0.400321] vdd_g3d: 50mV offset 
>> [    0.401097] vddq_ckem1_1.2V: 1200 mV 
>> [    0.401890] input_ldo_1.35V: 1350 mV 
>> [    0.402670] input_ldo_2.0V: 2000 mV 
>> [    0.403289] vddf_emmc_2.85V: 2850 mV 
>> [    0.404054] io_1.2V: 1200 mV 
>> [    0.404442] s3c-i2c 13860000.i2c: i2c-0: S3C I2C adapter
>> [    0.409941] s3c-i2c 13870000.i2c: slave address 0x10
>> [    0.414835] s3c-i2c 13870000.i2c: bus frequency set to 390 KHz
>> [    0.421169] s3c-i2c 13870000.i2c: i2c-1: S3C I2C adapter
>> [    0.426581] s3c-i2c 13880000.i2c: slave address 0x00
>> [    0.431474] s3c-i2c 13880000.i2c: bus frequency set to 97 KHz
>> [    0.437534] s3c-i2c 13880000.i2c: i2c-2: S3C I2C adapter
>> [    0.442905] s3c-i2c 138e0000.i2c: slave address 0x00
>> [    0.447809] s3c-i2c 138e0000.i2c: bus frequency set to 97 KHz
>> [    0.454028] s3c-i2c 138e0000.i2c: i2c-8: S3C I2C adapter
>> [    0.459490] Linux video capture interface: v2.00
>> [    0.464682] Advanced Linux Sound Architecture Driver Initialized.
>> [    0.471666] Switched to clocksource mct-frc
>> [    0.491175] NET: Registered protocol family 2
>> [    0.496182] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
>> [    0.503240] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
>> [    0.509948] TCP: Hash tables configured (established 8192 bind 8192)
>> [    0.516298] UDP hash table entries: 512 (order: 2, 24576 bytes)
>> [    0.522262] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
>> [    0.528879] NET: Registered protocol family 1
>> [    0.533652] CPU PMU: Failed to parse <no-node>/interrupt-affinity[0]
>> [    0.539981] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
>> [    0.552811] futex hash table entries: 1024 (order: 4, 65536 bytes)
>> [    0.559052] audit: initializing netlink subsys (disabled)
>> [    0.564437] audit: type=2000 audit(0.535:1): initialized
>> [    0.585260] alg: No test for stdrng (krng)
>> [    0.617700] bounce: pool size: 64 pages
>> [    0.621703] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
>> [    0.629039] io scheduler noop registered
>> [    0.633026] io scheduler deadline registered
>> [    0.637703] io scheduler cfq registered (default)
>> [    0.642891] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
>> [    0.642907] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
>> [    0.643115] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
>> [    0.643129] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
>> [    0.643291] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
>> [    0.643304] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
>> [    0.643471] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
>> [    0.643485] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
>> [    0.649998] dma-pl330 12680000.pdma: Loaded driver for PL330 DMAC-141330
>> [    0.656639] dma-pl330 12680000.pdma: 	DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
>> [    0.670196] dma-pl330 12690000.pdma: Loaded driver for PL330 DMAC-141330
>> [    0.676840] dma-pl330 12690000.pdma: 	DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
>> [    0.686800] dma-pl330 12850000.mdma: Loaded driver for PL330 DMAC-141330
>> [    0.693432] dma-pl330 12850000.mdma: 	DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
>> [    0.702961] 13800000.serial: ttySAC0 at MMIO 0x13800000 (irq = 70, base_baud = 0) is a S3C6400/10
>> [    0.712302] 13810000.serial: ttySAC1 at MMIO 0x13810000 (irq = 71, base_baud = 0) is a S3C6400/10
>> [    0.721180] console [ttySAC1] enabled
>> [    0.728499] bootconsole [earlycon0] disabled
>> [    0.737620] 13820000.serial: ttySAC2 at MMIO 0x13820000 (irq = 72, base_baud = 0) is a S3C6400/10
>> [    0.741352] 13830000.serial: ttySAC3 at MMIO 0x13830000 (irq = 73, base_baud = 0) is a S3C6400/10
>> [    0.750813] [drm] Initialized drm 1.1.0 20060810
>> [    0.759713] exynos-hdmi 12d00000.hdmi: Looking up vdd-supply from device tree
>> [    0.759807] exynos-hdmi 12d00000.hdmi: Looking up vdd_osc-supply from device tree
>> [    0.759878] exynos-hdmi 12d00000.hdmi: Looking up vdd_pll-supply from device tree
>> [    0.759945] exynos-hdmi 12d00000.hdmi: Looking up hdmi-en-supply from device tree
>> [    0.759958] exynos-hdmi 12d00000.hdmi: Looking up hdmi-en-supply property in node /hdmi@12D00000 failed
>> [    0.759983] 12d00000.hdmi supply hdmi-en not found, using dummy regulator
>> [    0.762761] s5p-g2d 10800000.g2d: The exynos g2d(ver 4.1) successfully probed
>> [    0.770698] exynos-drm-fimc 11820000.fimc: drm fimc registered successfully.
>> [    0.776400] exynos-drm-fimc 11830000.fimc: drm fimc registered successfully.
>> [    0.783136] exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
>> [    0.790616] exynos-drm exynos-drm: bound exynos-drm-vidi (ops vidi_component_ops)
>> [    0.798083] exynos-sysmmu 11e20000.sysmmu: Enabled
>> [    0.798099] exynos4-fb 11c00000.fimd: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
>> [    0.798117] exynos-drm exynos-drm: bound 11c00000.fimd (ops fimd_component_ops)
>> [    0.804690] exynos-sysmmu 12e20000.sysmmu: Enabled
>> [    0.804704] exynos-mixer 12c10000.mixer: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
>> [    0.804735] exynos-drm exynos-drm: bound 12c10000.mixer (ops mixer_component_ops)
>> [    0.811804] exynos-drm exynos-drm: bound 12d00000.hdmi (ops hdmi_component_ops)
>> [    0.818780] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
>> [    0.825370] [drm] No driver support for vblank timestamp query.
>> [    0.831580] exynos-sysmmu 10a40000.sysmmu: Enabled
>> [    0.831594] s5p-g2d 10800000.g2d: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
>> [    0.832024] exynos-sysmmu 11a40000.sysmmu: Enabled
>> [    0.832037] exynos-drm-fimc 11820000.fimc: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
>> [    0.832069] exynos-sysmmu 11a50000.sysmmu: Enabled
>> [    0.832081] exynos-drm-fimc 11830000.fimc: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
>> [    0.869747] exynos-drm exynos-drm: fb0:  frame buffer device
>> [    0.869817] exynos-drm exynos-drm: registered panic notifier
>> [    0.875429] [drm] Initialized exynos 1.0.0 20110530 on minor 0
>> [    0.885490] loop: module loaded
>> [    0.886394] usbcore: registered new interface driver smsc95xx
>> [    0.890357] dwc2 12480000.hsotg: registering common handler for irq67
>> [    0.890455] dwc2 12480000.hsotg: mapped PA 12480000 to VA f01c0000
>> [    0.890609] dwc2 12480000.hsotg: NonPeriodic TXFIFO size: 1024
>> [    0.890619] dwc2 12480000.hsotg: RXFIFO size: 2048
>> [    0.890629] dwc2 12480000.hsotg: Periodic TXFIFO 0 size: 0
>> [    0.890638] dwc2 12480000.hsotg: Periodic TXFIFO 1 size: 256
>> [    0.890646] dwc2 12480000.hsotg: Periodic TXFIFO 2 size: 256
>> [    0.890655] dwc2 12480000.hsotg: Periodic TXFIFO 3 size: 256
>> [    0.890664] dwc2 12480000.hsotg: Periodic TXFIFO 4 size: 256
>> [    0.890672] dwc2 12480000.hsotg: Periodic TXFIFO 5 size: 768
>> [    0.890680] dwc2 12480000.hsotg: Periodic TXFIFO 6 size: 768
>> [    0.890689] dwc2 12480000.hsotg: Periodic TXFIFO 7 size: 768
>> [    0.890697] dwc2 12480000.hsotg: Periodic TXFIFO 8 size: 768
>> [    0.890706] dwc2 12480000.hsotg: Periodic TXFIFO 9 size: 0
>> [    0.890714] dwc2 12480000.hsotg: Periodic TXFIFO10 size: 0
>> [    0.890723] dwc2 12480000.hsotg: Periodic TXFIFO11 size: 0
>> [    0.890731] dwc2 12480000.hsotg: Periodic TXFIFO12 size: 0
>> [    0.890740] dwc2 12480000.hsotg: Periodic TXFIFO13 size: 0
>> [    0.890748] dwc2 12480000.hsotg: Periodic TXFIFO14 size: 0
>> [    0.890756] dwc2 12480000.hsotg: Periodic TXFIFO15 size: 0
>> [    0.890845] dwc2 12480000.hsotg: Looking up vusb_d-supply from device tree
>> [    0.891134] dwc2 12480000.hsotg: Looking up vusb_a-supply from device tree
>> [    0.891412] dwc2 12480000.hsotg: pdev 0xee29a600
>> [    0.916698] dwc2 12480000.hsotg: resetting core
>> [    0.916710] dwc2 12480000.hsotg: reset successful
>> [    0.916759] dwc2 12480000.hsotg: EPs: 16, dedicated fifos, 7808 entries in SPRAM
>> [    0.918510] dwc2 12480000.hsotg: GRXFSIZ=0x00001f00, GNPTXFSIZ=0x03001f00
>> [    0.918522] dwc2 12480000.hsotg: FIFOs reset, timeout at 100
>> [    0.919174] dwc2 12480000.hsotg: DCFG=0x08200000, DCTL=0x00000002, DIEPMSK=0000000f
>> [    0.926168] dwc2 12480000.hsotg: GAHBCFG=0x00000000, GHWCFG1=0x00000000
>> [    0.932761] dwc2 12480000.hsotg: GRXFSIZ=0x00000800, GNPTXFSIZ=0x04000800
>> [    0.939529] dwc2 12480000.hsotg: DPTx[1] FSize=256, StAddr=0x00000c00
>> [    0.945953] dwc2 12480000.hsotg: DPTx[2] FSize=256, StAddr=0x00000d00
>> [    0.952376] dwc2 12480000.hsotg: DPTx[3] FSize=256, StAddr=0x00000e00
>> [    0.958799] dwc2 12480000.hsotg: DPTx[4] FSize=256, StAddr=0x00000f00
>> [    0.965221] dwc2 12480000.hsotg: DPTx[5] FSize=768, StAddr=0x00001000
>> [    0.971645] dwc2 12480000.hsotg: DPTx[6] FSize=768, StAddr=0x00001300
>> [    0.978071] dwc2 12480000.hsotg: DPTx[7] FSize=768, StAddr=0x00001600
>> [    0.984492] dwc2 12480000.hsotg: DPTx[8] FSize=768, StAddr=0x00001900
>> [    0.990915] dwc2 12480000.hsotg: DPTx[9] FSize=768, StAddr=0x00003a00
>> [    0.997339] dwc2 12480000.hsotg: DPTx[10] FSize=768, StAddr=0x00003d00
>> [    1.003848] dwc2 12480000.hsotg: DPTx[11] FSize=768, StAddr=0x00004000
>> [    1.010359] dwc2 12480000.hsotg: DPTx[12] FSize=768, StAddr=0x00004300
>> [    1.016869] dwc2 12480000.hsotg: DPTx[13] FSize=768, StAddr=0x00004600
>> [    1.023378] dwc2 12480000.hsotg: DPTx[14] FSize=768, StAddr=0x00004900
>> [    1.029895] dwc2 12480000.hsotg: DPTx[15] FSize=768, StAddr=0x00004c00
>> [    1.036400] dwc2 12480000.hsotg: ep0-in: EPCTL=0x00008000, SIZ=0x00000000, DMA=0xfaea717b
>> [    1.044560] dwc2 12480000.hsotg: ep0-out: EPCTL=0x00008000, SIZ=0x00000000, DMA=0x463c36f1
>> [    1.052805] dwc2 12480000.hsotg: ep1-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xc1c96fe3
>> [    1.060964] dwc2 12480000.hsotg: ep1-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x0a5ff495
>> [    1.069210] dwc2 12480000.hsotg: ep2-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x157e47e4
>> [    1.077369] dwc2 12480000.hsotg: ep2-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf86e1204
>> [    1.085615] dwc2 12480000.hsotg: ep3-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1165f7ee
>> [    1.093774] dwc2 12480000.hsotg: ep3-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1826c196
>> [    1.102020] dwc2 12480000.hsotg: ep4-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xed08cae0
>> [    1.110179] dwc2 12480000.hsotg: ep4-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x10d40640
>> [    1.118425] dwc2 12480000.hsotg: ep5-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5d89bf7a
>> [    1.126584] dwc2 12480000.hsotg: ep5-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xa2448680
>> [    1.134830] dwc2 12480000.hsotg: ep6-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x3ffe411c
>> [    1.142990] dwc2 12480000.hsotg: ep6-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x4b8c6202
>> [    1.151236] dwc2 12480000.hsotg: ep7-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1973d37f
>> [    1.159395] dwc2 12480000.hsotg: ep7-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x2541e654
>> [    1.167641] dwc2 12480000.hsotg: ep8-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xbfde1ff2
>> [    1.175800] dwc2 12480000.hsotg: ep8-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x27341467
>> [    1.184051] dwc2 12480000.hsotg: ep9-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xd335fffd
>> [    1.192207] dwc2 12480000.hsotg: ep9-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xc8843b0d
>> [    1.200452] dwc2 12480000.hsotg: ep10-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf66f29f7
>> [    1.208698] dwc2 12480000.hsotg: ep10-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x9ba428e6
>> [    1.217031] dwc2 12480000.hsotg: ep11-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xbb1f9b9d
>> [    1.225276] dwc2 12480000.hsotg: ep11-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x0d34b128
>> [    1.233609] dwc2 12480000.hsotg: ep12-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf177e671
>> [    1.241856] dwc2 12480000.hsotg: ep12-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x85725105
>> [    1.250188] dwc2 12480000.hsotg: ep13-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xe1557ecb
>> [    1.258434] dwc2 12480000.hsotg: ep13-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x8b013e1b
>> [    1.266766] dwc2 12480000.hsotg: ep14-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x37e77bee
>> [    1.275012] dwc2 12480000.hsotg: ep14-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x29a24008
>> [    1.283346] dwc2 12480000.hsotg: ep15-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x95c8ddee
>> [    1.291591] dwc2 12480000.hsotg: ep15-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x10402de7
>> [    1.299923] dwc2 12480000.hsotg: DVBUSDIS=0x000017d7, DVBUSPULSE=000005b8
>> [    1.306912] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>> [    1.313213] ehci-exynos: EHCI EXYNOS driver
>> [    1.317878] exynos-ehci 12580000.ehci: EHCI Host Controller
>> [    1.322958] exynos-ehci 12580000.ehci: new USB bus registered, assigned bus number 1
>> [    1.330955] exynos-ehci 12580000.ehci: irq 68, io mem 0x12580000
>> [    1.341699] exynos-ehci 12580000.ehci: USB 2.0 started, EHCI 1.00
>> [    1.342894] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
>> [    1.349490] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>> [    1.356694] usb usb1: Product: EHCI Host Controller
>> [    1.361534] usb usb1: Manufacturer: Linux 4.1.0-rc2-debug+ ehci_hcd
>> [    1.367802] usb usb1: SerialNumber: 12580000.ehci
>> [    1.373360] hub 1-0:1.0: USB hub found
>> [    1.376235] hub 1-0:1.0: 3 ports detected
>> [    1.381237] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>> [    1.386397] ohci-exynos: OHCI EXYNOS driver
>> [    1.391074] usb3503 0-0008: Looking up ext-supply from device tree
>> [    1.391088] usb3503 0-0008: Looking up ext-supply property in node /i2c@13860000/usb3503@08 failed
>> [    1.606796] usb3503 0-0008: switched to HUB mode
>> [    1.606855] usb3503 0-0008: usb3503_probe: probed in hub mode
>> [    1.612295] max77686-rtc max77686-rtc: max77686_rtc_probe
>> [    1.716735] usb 1-2: new high-speed USB device number 2 using exynos-ehci
>> [    1.718456] rtc rtc0: max77686-rtc: dev (254:0)
>> [    1.718479] max77686-rtc max77686-rtc: rtc core: registered max77686-rtc as rtc0
>> [    1.726018] s3c-rtc 10070000.rtc: s3c2410_rtc: tick irq 65, alarm irq 64
>> [    1.726123] s3c-rtc 10070000.rtc: failed to find rtc source clock
>> [    1.731625] i2c /dev entries driver
>> [    1.736264] exynos-tmu 100c0000.tmu: Looking up vtmu-supply from device tree
>> [    1.737858] s3c2410-wdt 10060000.watchdog: watchdog inactive, reset disabled, irq disabled
>> [    1.743829] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
>> [    1.753589] sdhci: Secure Digital Host Controller Interface driver
>> [    1.757553] sdhci: Copyright(c) Pierre Ossman
>> [    1.762233] s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (100000000 Hz)
>> [    1.769400] s3c-sdhci 12530000.sdhci: Got CD GPIO
>> [    1.774315] s3c-sdhci 12530000.sdhci: Looking up vmmc-supply from device tree
>> [    1.774370] s3c-sdhci 12530000.sdhci: Looking up vqmmc-supply from device tree
>> [    1.801804] mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
>> [    1.803615] Synopsys Designware Multimedia Card Interface Driver
>> [    1.810179] dwmmc_exynos 12550000.mmc: IDMAC supports 32-bit address mode.
>> [    1.816396] dwmmc_exynos 12550000.mmc: Using internal DMA controller.
>> [    1.822753] dwmmc_exynos 12550000.mmc: Version ID is 240a
>> [    1.828160] dwmmc_exynos 12550000.mmc: DW MMC controller at irq 120, 32 bit host data width, 128 deep fifo
>> [    1.837784] dwmmc_exynos 12550000.mmc: Looking up vmmc-supply from device tree
>> [    1.837835] dwmmc_exynos 12550000.mmc: Looking up vqmmc-supply from device tree
>> [    1.838022] dwmmc_exynos 12550000.mmc: allocated mmc-pwrseq
>> [    1.847021] usb 1-2: New USB device found, idVendor=0424, idProduct=3503
>> [    1.849991] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
>> [    1.857677] hub 1-2:1.0: USB hub found
>> [    1.860896] hub 1-2:1.0: 3 ports detected
>> [    1.871734] dwmmc_exynos 12550000.mmc: 1 slots initialized
>> [    1.872744] alg: skcipher: encryption failed on test 1 for ecb-aes-s5p: ret=22
>> [    1.878884] s5p-sss driver registered
>> [    1.882581] hidraw: raw HID events driver (C) Jiri Kosina
>> [    1.887989] usbcore: registered new interface driver usbhid
>> [    1.893384] usbhid: USB HID core driver
>> [    1.897650] exynos-memory-bus memory_bus@0: Looking up vdd-mem-supply from device tree
>> [    1.897892] exynos-memory-bus memory_bus@0: unable to get devfreq-event device : ppmu-event3-dmc0
>> [    1.906108] exynos-memory-bus memory_bus@0: failed to initialize memory-bus
>> [    1.913094] exynos-memory-bus memory_bus@1: Looking up vdd-mem-supply from device tree
>> [    1.913300] exynos-memory-bus memory_bus@1: unable to get devfreq-event device : ppmu-event3-leftbus
>> [    1.922157] exynos-memory-bus memory_bus@1: failed to initialize memory-bus
>> [    1.932582] oprofile: using arm/armv7-ca9
>> [    1.933680] NET: Registered protocol family 10
>> [    1.937986] sit: IPv6 over IPv4 tunneling driver
>> [    1.942596] NET: Registered protocol family 17
>> [    1.946602] ThumbEE CPU extension supported.
>> [    1.950753] Registering SWP/SWPB emulation handler
>> [    1.956569] s3c-rtc 10070000.rtc: s3c2410_rtc: tick irq 65, alarm irq 64
>> [    1.956916] s3c-rtc 10070000.rtc: s3c2410_rtc: RTCCON=01
>> [    1.956972] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
>> [    1.956995] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
>> [    1.957006] s3c-rtc 10070000.rtc: read alarm 0, 1900.00.00 00:00:00
>> [    1.957016] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
>> [    1.957023] rtc rtc1: alarm rollover: day
>> [    1.957033] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
>> [    1.957205] rtc rtc1: s3c: dev (254:1)
>> [    1.957219] s3c-rtc 10070000.rtc: rtc core: registered s3c as rtc1
>> [    1.962037] exynos-memory-bus memory_bus@0: Looking up vdd-mem-supply from device tree
>> [    1.962624] exynos-memory-bus memory_bus@1: Looking up vdd-mem-supply from device tree
>> [    1.986841] max98090 1-0010: MAX98090 REVID=0x43
>> [    1.991838] asoc-simple-card sound: HiFi <-> 3830000.i2s mapping ok
>> [    1.995035] input: gpio_keys as /devices/platform/gpio_keys/input/input0
>> [    2.016336] vdd_hdmi_1.0V: disabling
>> [    2.017365] ALSA device list:
>> [    2.017400]   #0: Odroid-X2
>> [    2.020316] Waiting for root device /dev/mmcblk0p2...
>> [    2.068120] mmc0: new high speed SDXC card at address aaaa
>> [    2.068524] mmcblk0: mmc0:aaaa SE64G 59.4 GiB 
>> [    2.073463]  mmcblk0: p1 p2 p3
>> [    2.136398] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
>> [    2.138872] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
>> [    2.145739] Freeing unused kernel memory: 228K (c06a3000 - c06dc000)
>> [    2.146787] usb 1-2.1: new high-speed USB device number 3 using exynos-ehci
>> [    2.252221] usb 1-2.1: New USB device found, idVendor=0424, idProduct=9514
>> [    2.253473] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
>> [    2.262134] hub 1-2.1:1.0: USB hub found
>> [    2.264949] hub 1-2.1:1.0: 5 ports detected
>> [    2.351966] usb 1-2.2: new high-speed USB device number 4 using exynos-ehci
>> [    2.462315] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
>> [    2.463559] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> [    2.470879] usb 1-2.2: Product: Mass Storage Device
>> [    2.475844] usb 1-2.2: Manufacturer: JetFlash
>> [    2.480098] usb 1-2.2: SerialNumber: 059FKI3OMNH24FV4
>> [    2.566973] usb 1-2.1.1: new high-speed USB device number 5 using exynos-ehci
>> [    2.672331] usb 1-2.1.1: New USB device found, idVendor=0424, idProduct=ec00
>> [    2.673746] usb 1-2.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
>> [    2.684870] smsc95xx v1.0.4
>> [    2.736342] smsc95xx 1-2.1.1:1.0 eth0: register 'smsc95xx' at usb-12580000.ehci-2.1.1, smsc95xx USB 2.0 Ethernet, ae:74:f4:b9:9c:4c
>> [    2.826794] usb 1-2.1.3: new full-speed USB device number 6 using exynos-ehci
>> [    2.935809] usb 1-2.1.3: New USB device found, idVendor=0b05, idProduct=17cb
>> [    2.937269] usb 1-2.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> [    2.944751] usb 1-2.1.3: Product: BCM20702A0
>> [    2.948981] usb 1-2.1.3: Manufacturer: Broadcom Corp
>> [    2.953943] usb 1-2.1.3: SerialNumber: 000272C64311
>> [    3.910324] systemd-udevd[1035]: starting version 216
>> [    3.956260] random: systemd-udevd urandom read with 40 bits of entropy available
>> [    4.166911] s5p-jpeg 11840000.jpeg-codec: sclk clock not available
>> [    4.167137] s5p-jpeg 11840000.jpeg-codec: encoder device registered as /dev/video0
>> [    4.167312] s5p-jpeg 11840000.jpeg-codec: decoder device registered as /dev/video1
>> [    4.167317] s5p-jpeg 11840000.jpeg-codec: Samsung S5P JPEG codec
>> [    4.220028] usb-storage 1-2.2:1.0: USB Mass Storage device detected
>> [    4.220486] scsi host0: usb-storage 1-2.2:1.0
>> [    4.227433] usbcore: registered new interface driver usb-storage
>> [    4.261527] Bluetooth: Core ver 2.20
>> [    4.261588] NET: Registered protocol family 31
>> [    4.261594] Bluetooth: HCI device and connection manager initialized
>> [    4.261613] Bluetooth: HCI socket layer initialized
>> [    4.261625] Bluetooth: L2CAP socket layer initialized
>> [    4.262569] Bluetooth: SCO socket layer initialized
>> [    4.321779] usbcore: registered new interface driver btusb
>> [    4.328530] Bluetooth: hci0: BCM: chip id 63
>> [    4.329532] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
>> [    4.342542] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cb.hcd failed with error -2
>> [    4.342559] Bluetooth: hci0: BCM: patch brcm/BCM20702A1-0b05-17cb.hcd not found
>> [    5.607589] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 6
>> [    5.609550] sd 0:0:0:0: [sda] 61702144 512-byte logical blocks: (31.5 GB/29.4 GiB)
>> [    5.610410] sd 0:0:0:0: [sda] Write Protect is off
>> [    5.610419] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
>> [    5.611308] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
>> [    5.626977]  sda: sda1 sda2 sda3
>> [    5.631039] sd 0:0:0:0: [sda] Attached SCSI removable disk
>> [    5.976906] raid6: int32x1  gen()   253 MB/s
>> [    6.061767] raid6: int32x1  xor()   219 MB/s
>> [    6.146703] raid6: int32x2  gen()   344 MB/s
>> [    6.231703] raid6: int32x2  xor()   263 MB/s
>> [    6.316761] raid6: int32x4  gen()   397 MB/s
>> [    6.401717] raid6: int32x4  xor()   273 MB/s
>> [    6.486674] raid6: int32x8  gen()   393 MB/s
>> [    6.571969] raid6: int32x8  xor()   254 MB/s
>> [    6.656781] raid6: neonx1   gen()  1046 MB/s
>> [    6.741728] raid6: neonx2   gen()  1446 MB/s
>> [    6.826739] raid6: neonx4   gen()  1503 MB/s
>> [    6.909713] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
>> [    6.911704] raid6: neonx8   gen()  1042 MB/s
>> [    6.911719] raid6: using algorithm neonx4 gen() 1503 MB/s
>> [    6.911731] raid6: using intx1 recovery algorithm
>> [    6.923619] xor: measuring software checksum speed
>> [    6.971708]    arm4regs  :  2887.200 MB/sec
>> [    7.021701]    8regs     :  1896.800 MB/sec
>> [    7.071699]    32regs    :  1459.200 MB/sec
>> [    7.121697]    neon      :  1756.800 MB/sec
>> [    7.121709] xor: using function: arm4regs (2887.200 MB/sec)
>> [    7.229707] Btrfs loaded
>> [    7.232454] BTRFS: device label odroid_portage devid 1 transid 473 /dev/sda1
>> [    7.259786] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
>> [    7.271365] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
>> [    7.286692] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
>> [    7.289609] EXT4-fs (mmcblk0p3): mounting ext3 file system using the ext4 subsystem
>> [    7.303613] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
>> [    7.645277] random: nonblocking pool is initialized
>> [    9.578598] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
>> [    9.578626] Bluetooth: BNEP socket layer initialized
>> [    9.842243] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
>> [    9.865029] device br0 entered promiscuous mode
>> [   13.865314] smsc95xx 1-2.1.1:1.0 eth0: hardware isn't capable of remote wakeup
>> [   13.865405] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
>> [   34.735378] device bnep0 entered promiscuous mode
>> [   34.737823] br0: port 1(bnep0) entered forwarding state
>> [   34.737920] br0: port 1(bnep0) entered forwarding state
>> [   34.744828] ------------[ cut here ]------------
>> [   34.744903] WARNING: CPU: 1 PID: 2276 at kernel/sched/core.c:7291 __might_sleep+0x94/0xa0()
>> [   34.744957] do not call blocking ops when !TASK_RUNNING; state=1 set at [<bf245250>] bnep_session+0xa4/0x858 [bnep]
>> [   34.744981] Modules linked in: cmac ecb bridge stp llc bnep btrfs xor xor_neon zlib_inflate zlib_deflate raid6_pq btusb btbcm btintel bluetooth usb_storage s5p_jpeg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem videobuf2_core
>> [   34.745233] CPU: 1 PID: 2276 Comm: kbnepd bnep0 Not tainted 4.1.0-rc2-debug+ #4
>> [   34.745257] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
>> [   34.745277] Backtrace: 
>> [   34.745341] [<c0013270>] (dump_backtrace) from [<c0013488>] (show_stack+0x18/0x1c)
>> [   34.745363]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
>> [   34.745454] [<c0013470>] (show_stack) from [<c04f1d98>] (dump_stack+0x88/0xc8)
>> [   34.745502] [<c04f1d10>] (dump_stack) from [<c002e634>] (warn_slowpath_common+0x88/0xb8)
>> [   34.745522]  r6:c0604f3c r5:00001c7b r4:edbb3da8 r3:dc8ba300
>> [   34.745597] [<c002e5ac>] (warn_slowpath_common) from [<c002e69c>] (warn_slowpath_fmt+0x38/0x40)
>> [   34.745617]  r8:edb56c00 r7:c0713770 r6:00000000 r5:00000943 r4:c06648d8
>> [   34.745703] [<c002e668>] (warn_slowpath_fmt) from [<c004e068>] (__might_sleep+0x94/0xa0)
>> [   34.745722]  r3:00000001 r2:c0605064
>> [   34.745780] [<c004dfd4>] (__might_sleep) from [<c040ce7c>] (lock_sock_nested+0x28/0x6c)
>> [   34.745801]  r7:00000004 r6:edba2c00 r5:edba2460 r4:edba2400
>> [   34.745996] [<c040ce54>] (lock_sock_nested) from [<bf06a474>] (l2cap_sock_sendmsg+0x48/0xe4 [bluetooth])
>> [   34.746020]  r5:ec12ad2c r4:edba2400
>> [   34.746183] [<bf06a42c>] (l2cap_sock_sendmsg [bluetooth]) from [<c04097e8>] (sock_sendmsg+0x1c/0x2c)
>> [   34.746213]  r8:edb56c00 r7:ec12a800 r6:edba248c r5:ec8748c0 r4:ec12ad2c r3:bf06a42c
>> [   34.746342] [<c04097cc>] (sock_sendmsg) from [<c04098ec>] (kernel_sendmsg+0x38/0x40)
>> [   34.746405] [<c04098b4>] (kernel_sendmsg) from [<bf245050>] (bnep_send_rsp+0x50/0x58 [bnep])
>> [   34.746431]  r5:ec8748c0 r4:00000100
>> [   34.746514] [<bf245000>] (bnep_send_rsp [bnep]) from [<bf2450d4>] (bnep_rx_control+0x7c/0x154 [bnep])
>> [   34.746542]  r5:00000001 r4:ec12ad00
>> [   34.746815] [<bf245058>] (bnep_rx_control [bnep]) from [<bf245820>] (bnep_session+0x674/0x858 [bnep])
>> [   34.746846]  r5:00000001 r4:ec12ad00
>> [   34.746940] [<bf2451ac>] (bnep_session [bnep]) from [<c0048ae8>] (kthread+0xf4/0x110)
>> [   34.746961]  r10:00000000 r9:00000000 r8:00000000 r7:bf2451ac r6:ec12ad00 r5:00000000
>> [   34.747031]  r4:ec0d2d00
>> [   34.747086] [<c00489f4>] (kthread) from [<c000fac0>] (ret_from_fork+0x14/0x34)
>> [   34.747106]  r7:00000000 r6:00000000 r5:c00489f4 r4:ec0d2d00
>> [   34.747167] ---[ end trace 2dd031423862af06 ]---
>> [  133.283940] Unable to handle kernel NULL pointer dereference at virtual address 000000a4
>> [  133.283962] pgd = ec35c000
>> [  133.283976] [000000a4] *pgd=6c32d831, *pte=00000000, *ppte=00000000
>> [  133.284010] Internal error: Oops: 17 [#1] PREEMPT SMP ARM
>> [  133.284084] Modules linked in: cmac ecb bridge stp llc bnep btrfs xor xor_neon zlib_inflate zlib_deflate raid6_pq btusb btbcm btintel bluetooth usb_storage s5p_jpeg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem videobuf2_core
>> [  133.304170] CPU: 2 PID: 2430 Comm: lt-modetest Tainted: G        W       4.1.0-rc2-debug+ #4
>> [  133.312582] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
>> [  133.318661] task: ec2af8c0 ti: ec166000 task.ti: ec166000
>> [  133.324053] PC is at exynos_plane_atomic_update+0x44/0x2a8
>> [  133.329520] LR is at drm_atomic_helper_commit_planes+0xd8/0x1bc
>> [  133.335415] pc : [<c02b4130>]    lr : [<c028c2ec>]    psr: 60070053
>> sp : ec167d38  ip : 00000000  fp : ec167d84
>> [  133.346868] r10: 00000001  r9 : ee32c400  r8 : 00000000
>> [  133.352077] r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : ee15a308
>> [  133.358587] r3 : 00000000  r2 : ec112580  r1 : 00000000  r0 : 00000000
>> [  133.365099] Flags: nZCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment user
>> [  133.372297] Control: 10c5387d  Table: 6c35c04a  DAC: 00000015
>> [  133.378025] Process lt-modetest (pid: 2430, stack limit = 0xec166218)
>> [  133.384449] Stack: (0xec167d38 to 0xec168000)
>> [  133.388790] 7d20:                                                       ee272800 00000000
>> [  133.396950] 7d40: ec112300 ee32c400 ec167d7c ec167d58 00000000 c02b1b54 ec112300 ec112300
>> [  133.405109] 7d60: 00000000 ee15a308 ed957780 c053d40c ee32c400 00000001 ec167dac ec167d88
>> [  133.413268] 7d80: c028c2ec c02b40f8 00000000 0000000b ec112300 00000000 ee272800 00000000
>> [  133.421427] 7da0: ec167dd4 ec167db0 c028e69c c028c220 c02b2774 ec112300 ee272800 ee100200
>> [  133.429586] 7dc0: 00000000 ee32c400 ec167de4 ec167dd8 c02b2788 c028e590 ec167dfc ec167de8
>> [  133.437745] 7de0: c02af91c c02b2780 00000003 ec112300 ec167e34 ec167e00 c028d24c c02af8dc
>> [  133.445905] 7e00: c02aea0c c02ae484 00000000 00000000 00000028 00000001 ee32c400 ee100300
>> [  133.454064] 7e20: ee272800 00000000 ec167e54 ec167e38 c029f140 c028cf3c 00000000 00000028
>> [  133.462223] 7e40: 00000001 ee100200 ec167e8c ec167e58 c0290c28 c029f0ec ec167e7c ec167e68
>> [  133.470383] 7e60: c004fc84 ee272800 c0749014 ee272858 ee272800 ee272834 edbc4780 ee27294c
>> [  133.478541] 7e80: ec167e9c ec167e90 c02b264c c0290b48 ec167eac ec167ea0 c02b105c c02b2630
>> [  133.486701] 7ea0: ec167ecc ec167eb0 c0294560 c02b1058 00000000 edb4c800 edb4c8a8 ee272858
>> [  133.494860] 7ec0: ec167f1c ec167ed0 c0294970 c0294530 c004fc84 ec102308 00000001 00000002
>> [  133.503019] 7ee0: ee272800 60070053 ee272954 ee102680 c004e03c ec102300 ee11b090 ee182e10
>> [  133.511178] 7f00: edc0dc78 ee11b090 00000008 00000000 ec167f5c ec167f20 c0103c14 c029463c
>> [  133.519337] 7f20: 00000000 00000000 00000000 ec102308 ec167f54 ec2afcc4 00000000 c0718ef8
>> [  133.527497] 7f40: ec2af8c0 c000fbc4 ec166000 00000000 ec167f6c ec167f60 c0103dc4 c0103b80
>> [  133.535656] 7f60: ec167f8c ec167f70 c0047310 c0103dc0 ec166000 c000fbc4 ec167fb0 00000006
>> [  133.543815] 7f80: ec167fac ec167f90 c0012e88 c0047264 00000000 00000003 00000001 00000000
>> [  133.551974] 7fa0: 00000000 ec167fb0 c000fa64 c0012e0c 00000000 00000000 013b8450 00000000
>> [  133.560133] 7fc0: 00000003 00000001 00000000 00000006 000120a4 0001b354 be8fd2b3 00000000
>> [  133.568293] 7fe0: 00000000 be8fcda4 b6f1975c b6ef257c 60070050 00000003 00000000 00000000
>> [  133.576449] Backtrace: 
>> [  133.578887] [<c02b40ec>] (exynos_plane_atomic_update) from [<c028c2ec>] (drm_atomic_helper_commit_planes+0xd8/0x1bc)
>> [  133.589383]  r10:00000001 r9:ee32c400 r8:c053d40c r7:ed957780 r6:ee15a308 r5:00000000
>> [  133.597195]  r4:ec112300
>> [  133.599717] [<c028c214>] (drm_atomic_helper_commit_planes) from [<c028e69c>] (drm_atomic_helper_commit+0x118/0x170)
>> [  133.610128]  r8:00000000 r7:ee272800 r6:00000000 r5:ec112300 r4:0000000b r3:00000000
>> [  133.617857] [<c028e584>] (drm_atomic_helper_commit) from [<c02b2788>] (exynos_atomic_commit+0x14/0x18)
>> [  133.627141]  r8:ee32c400 r7:00000000 r6:ee100200 r5:ee272800 r4:ec112300 r3:c02b2774
>> [  133.634869] [<c02b2774>] (exynos_atomic_commit) from [<c02af91c>] (drm_atomic_commit+0x4c/0x6c)
>> [  133.643549] [<c02af8d0>] (drm_atomic_commit) from [<c028d24c>] (drm_atomic_helper_set_config+0x31c/0x428)
>> [  133.653094]  r5:ec112300 r4:00000003
>> [  133.656660] [<c028cf30>] (drm_atomic_helper_set_config) from [<c029f140>] (drm_mode_set_config_internal+0x60/0xdc)
>> [  133.666982]  r10:00000000 r9:ee272800 r8:ee100300 r7:ee32c400 r6:00000001 r5:00000028
>> [  133.674794]  r4:00000000
>> [  133.677317] [<c029f0e0>] (drm_mode_set_config_internal) from [<c0290c28>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
>> [  133.688856]  r7:ee100200 r6:00000001 r5:00000028 r4:00000000
>> [  133.694501] [<c0290b3c>] (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c02b264c>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
>> [  133.706042]  r10:ee27294c r9:edbc4780 r8:ee272834 r7:ee272800 r6:ee272858 r5:c0749014
>> [  133.713854]  r4:ee272800
>> [  133.716374] [<c02b2624>] (exynos_drm_fbdev_restore_mode) from [<c02b105c>] (exynos_drm_lastclose+0x10/0x14)
>> [  133.726096] [<c02b104c>] (exynos_drm_lastclose) from [<c0294560>] (drm_lastclose+0x3c/0x10c)
>> [  133.734514] [<c0294524>] (drm_lastclose) from [<c0294970>] (drm_release+0x340/0x4e0)
>> [  133.742238]  r6:ee272858 r5:edb4c8a8 r4:edb4c800 r3:00000000
>> [  133.747885] [<c0294630>] (drm_release) from [<c0103c14>] (__fput+0xa0/0x1e4)
>> [  133.754910]  r10:00000000 r9:00000008 r8:ee11b090 r7:edc0dc78 r6:ee182e10 r5:ee11b090
>> [  133.762722]  r4:ec102300
>> [  133.765243] [<c0103b74>] (__fput) from [<c0103dc4>] (____fput+0x10/0x14)
>> [  133.771923]  r10:00000000 r9:ec166000 r8:c000fbc4 r7:ec2af8c0 r6:c0718ef8 r5:00000000
>> [  133.779735]  r4:ec2afcc4
>> [  133.782258] [<c0103db4>] (____fput) from [<c0047310>] (task_work_run+0xb8/0xfc)
>> [  133.789550] [<c0047258>] (task_work_run) from [<c0012e88>] (do_work_pending+0x88/0xa8)
>> [  133.797442]  r7:00000006 r6:ec167fb0 r5:c000fbc4 r4:ec166000
>> [  133.803088] [<c0012e00>] (do_work_pending) from [<c000fa64>] (work_pending+0xc/0x20)
>> [  133.810809]  r6:00000000 r5:00000001 r4:00000003 r3:00000000
>> [  133.816454] Code: e5927014 e5921018 e592301c e1d202be (e59590a4) 
>> [  133.822608] ---[ end trace 2dd031423862af07 ]---
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-09 10:23   ` Inki Dae
@ 2015-05-09 12:13     ` Tobias Jakobi
  2015-05-09 12:20       ` Tobias Jakobi
  2015-05-10 13:54       ` Inki Dae
  0 siblings, 2 replies; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-09 12:13 UTC (permalink / raw)
  To: Inki Dae; +Cc: Gustavo Padovan, linux-samsung-soc, DRI mailing list

Hello Inki,


Inki Dae wrote:
> Hi,
> 
> 2015-05-09 6:51 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
>> Hello,
>>
>> I've tested this on my Hardkernel Odroid-X2 (connected via HDMI to a
>> 1080p panel).
>>
>> Run the usual modetest tests (just primary plane, primary plane with
>> vsync, primary plane with overlay, primary plane with overlay and video
>> overlay, overlay partially outside of crtc area, etc.) and haven't
>> noticed any issues so far.
> 
> As I mentioned several times, it works well in case that only one crtc
> driver is enabled. Could you check it again after you enable two or
> more crtc drivers such as FIMD and HDMI or FIMD, HDMI and VIDI
> together? For this, dts file for X2 should contain their device nodes
> and also should be configurated though menuconfig.
I've enabled VIDI and FIMD and confirmed that they should up properly in
modetest before applying the series.

Booting with the atomic series works fine, but I get a segfault when
calling modetest. I've attached the kernel log below.



>> Kernel log is 'clean', so the series works fine for me.
>>
>> You can add my
>> Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
> 
> So you didn't test it correctly yet.
I tested the common usage scenario. In fact I can't really test with
FIMD anyway, since I don't have any panel that I can attach to the LCD
expansion port. Regardless of whether the kernel oopses or anything with
atomic, I can never make sure that the FIMD visuals are actually correct.


With best wishes,
Tobias

> Thanks,
> Inki Dae
> 



Kernel log (after triggering segfault with modetest):
> liquid@chidori ~/sourcecode/video/drm/tests/modetest $ dmesg
> [    0.000000] Booting Linux on physical CPU 0xa00
> [    0.000000] Initializing cgroup subsys cpuset
> [    0.000000] Initializing cgroup subsys cpuacct
> [    0.000000] Linux version 4.1.0-rc2-debug+ (liquid@chidori) (gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9) ) #4 SMP PREEMPT Sat May 9 05:11:08 CEST 2015
> [    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
> [    0.000000] Machine model: Hardkernel ODROID-X2 board based on Exynos4412
> [    0.000000] earlycon: no match for ttySAC1,115200n8
> [    0.000000] bootconsole [earlycon0] enabled
> [    0.000000] Reserved memory: created CMA memory pool at 0x77000000, size 16 MiB
> [    0.000000] Reserved memory: initialized node region@77000000, compatible id shared-dma-pool
> [    0.000000] Reserved memory: created CMA memory pool at 0x78000000, size 16 MiB
> [    0.000000] Reserved memory: initialized node region@78000000, compatible id shared-dma-pool
> [    0.000000] cma: Reserved 128 MiB at 0xb7c00000
> [    0.000000] Memory policy: Data cache writealloc
> [    0.000000] Samsung CPU ID: 0xe4412220
> [    0.000000] On node 0 totalpages: 524032
> [    0.000000] free_area_init_node: node 0, pgdat c0712980, node_mem_map ee7f5000
> [    0.000000]   Normal zone: 1520 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 194560 pages, LIFO batch:31
> [    0.000000]   HighMem zone: 329472 pages, LIFO batch:31
> [    0.000000] Running under secure firmware.
> [    0.000000] PERCPU: Embedded 12 pages/cpu @ee786000 s17600 r8192 d23360 u49152
> [    0.000000] pcpu-alloc: s17600 r8192 d23360 u49152 alloc=12*4096
> [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522512
> [    0.000000] Kernel command line: video=HDMI-A-1:1280x720M@60 console=ttySAC1,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ro earlyprintk
> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.000000] Memory: 1907080K/2096128K available (5067K kernel code, 230K rwdata, 1696K rodata, 228K init, 255K bss, 25208K reserved, 163840K cma-reserved, 1154048K highmem)
> [    0.000000] Virtual kernel memory layout:
>     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
>     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
>     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
>     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
>     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
>       .text : 0xc0008000 - 0xc06a2fb4   (6764 kB)
>       .init : 0xc06a3000 - 0xc06dc000   ( 228 kB)
>       .data : 0xc06dc000 - 0xc0715a18   ( 231 kB)
>        .bss : 0xc0718000 - 0xc0757d28   ( 256 kB)
> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
> [    0.000000] Preemptible hierarchical RCU implementation.
> [    0.000000] NR_IRQS:16 nr_irqs:16 16
> [    0.000000] L2C: platform modifies aux control register: 0x02070000 -> 0x3e470001
> [    0.000000] L2C: platform provided aux values permit register corruption.
> [    0.000000] L2C: DT/platform modifies aux control register: 0x02070000 -> 0x3e470001
> [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
> [    0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9
> [    0.000000] L2C-310 ID prefetch enabled, offset 8 lines
> [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
> [    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
> [    0.000000] L2C-310: CACHE_ID 0x4100c4c8, AUX_CTRL 0x7e470001
> [    0.000000] Exynos4x12 clocks: sclk_apll = 1000000000, sclk_mpll = 800000000
> 	sclk_epll = 96000000, sclk_vpll = 350000000, arm_clk = 1000000000
> [    0.000000] Switching to timer-based delay loop, resolution 41ns
> [    0.000000] clocksource mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
> [    0.000004] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
> [    0.008102] Console: colour dummy device 80x30
> [    0.012477] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
> [    0.022869] pid_max: default: 32768 minimum: 301
> [    0.027653] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.034253] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.041876] Initializing cgroup subsys devices
> [    0.046262] CPU: Testing write buffer coherency: ok
> [    0.051455] CPU0: thread -1, cpu 0, socket 10, mpidr 80000a00
> [    0.057537] Setting up static identity map for 0x40008240 - 0x40008298
> [    0.100275] CPU1: thread -1, cpu 1, socket 10, mpidr 80000a01
> [    0.110261] CPU2: thread -1, cpu 2, socket 10, mpidr 80000a02
> [    0.120255] CPU3: thread -1, cpu 3, socket 10, mpidr 80000a03
> [    0.120323] Brought up 4 CPUs
> [    0.140659] SMP: Total of 4 processors activated (192.00 BogoMIPS).
> [    0.146993] CPU: All CPU(s) started in SVC mode.
> [    0.152261] devtmpfs: initialized
> [    0.156913] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
> [    0.164971] lcd0-power-domain@10023C80 has as child subdomain: tv-power-domain@10023C20.
> [    0.173550] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
> [    0.188296] pinctrl core: initialized pinctrl subsystem
> [    0.193978] regulator-dummy: no parameters
> [    0.217531] NET: Registered protocol family 16
> [    0.223901] DMA: preallocated 256 KiB pool for atomic coherent allocations
> [    0.249814] cpuidle: using governor ladder
> [    0.264814] cpuidle: using governor menu
> [    0.282638] exynos-audss-clk 3810000.clock-controller: setup completed
> [    0.319093] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
> [    0.327028] hw-breakpoint: maximum watchpoint size is 4 bytes.
> [    0.342381] sysvdd: 5000 mV 
> [    0.342441] reg-fixed-voltage regulators:regulator@0: sysvdd supplying 5000000uV
> [    0.342800] p3v3: 3300 mV 
> [    0.342852] reg-fixed-voltage regulators:regulator@1: p3v3 supplying 3300000uV
> [    0.343165] p3v3_en: GPIO 9 is already used
> [    0.343184] p3v3_en: 3300 mV 
> [    0.343238] reg-fixed-voltage regulator_p3v3: p3v3_en supplying 3300000uV
> [    0.344896] SCSI subsystem initialized
> [    0.348809] usbcore: registered new interface driver usbfs
> [    0.354306] usbcore: registered new interface driver hub
> [    0.359991] usbcore: registered new device driver usb
> [    0.365659] s3c-i2c 13860000.i2c: slave address 0x10
> [    0.370560] s3c-i2c 13860000.i2c: bus frequency set to 390 KHz
> [    0.378650] max77686-pmic max77686-pmic: max77686_pmic_probe
> [    0.379376] vdd_alive_1.0V: 1000 mV 
> [    0.380142] vddq_m1_m2_1.8V: 1800 mV 
> [    0.380879] vddq_ext_1.8V: 1800 mV 
> [    0.381613] vddq_mmc2_2.8V: 2800 mV 
> [    0.382365] vddq_mmc1_mmc3_1.8V: 1800 mV 
> [    0.383103] vdd_mpll_1.0V: 1000 mV 
> [    0.383853] vdd_epll_1.0V: 1000 mV 
> [    0.384455] vdd_hdmi_1.0V: 1000 mV 
> [    0.385219] vt_core_1.0V: 1000 mV 
> [    0.385823] vddq_mipihsi_1.8V: 1800 mV 
> [    0.386564] vdd_abb1_1.8V: 1800 mV 
> [    0.387332] vdd_usb_otg_3.3V: 3300 mV 
> [    0.388084] vddq_c2c_w_1.8V: 1800 mV 
> [    0.388835] vdd_abb0_abb2_1.8V: 1800 mV 
> [    0.389588] vdd_otg_hsic_1.0V: 1000 mV 
> [    0.390337] vdd_hsic_1.8V: 1800 mV 
> [    0.390967] vddq_cam_1.8V: 1800 mV 
> [    0.391730] vddq_isp_1.8V: 1800 mV 
> [    0.392345] vt_cam_1.8V: 1800 mV 
> [    0.393212] vddq_emmc_1.8V: 1800 <--> 3000 mV at 1800 mV 
> [    0.394094] tflash_2.8V: 2800 mV 
> [    0.394749] unused_2.8V: 2800 mV 
> [    0.395386] vdd_touch_2.8V: 2800 mV 
> [    0.396009] vdd_touchled_3.3V: 3300 mV 
> [    0.396781] vddq_lcd_1.8V: 1800 mV 
> [    0.397404] vdd_motor_3.0V: 3000 mV 
> [    0.398166] vdd_mif: 850 <--> 1100 mV at 1100 mV 
> [    0.398926] vdd_arm: 900 <--> 1400 mV at 1037 mV 
> [    0.399686] vdd_int: 850 <--> 1150 mV at 1000 mV 
> [    0.400321] vdd_g3d: 50mV offset 
> [    0.401097] vddq_ckem1_1.2V: 1200 mV 
> [    0.401890] input_ldo_1.35V: 1350 mV 
> [    0.402670] input_ldo_2.0V: 2000 mV 
> [    0.403289] vddf_emmc_2.85V: 2850 mV 
> [    0.404054] io_1.2V: 1200 mV 
> [    0.404442] s3c-i2c 13860000.i2c: i2c-0: S3C I2C adapter
> [    0.409941] s3c-i2c 13870000.i2c: slave address 0x10
> [    0.414835] s3c-i2c 13870000.i2c: bus frequency set to 390 KHz
> [    0.421169] s3c-i2c 13870000.i2c: i2c-1: S3C I2C adapter
> [    0.426581] s3c-i2c 13880000.i2c: slave address 0x00
> [    0.431474] s3c-i2c 13880000.i2c: bus frequency set to 97 KHz
> [    0.437534] s3c-i2c 13880000.i2c: i2c-2: S3C I2C adapter
> [    0.442905] s3c-i2c 138e0000.i2c: slave address 0x00
> [    0.447809] s3c-i2c 138e0000.i2c: bus frequency set to 97 KHz
> [    0.454028] s3c-i2c 138e0000.i2c: i2c-8: S3C I2C adapter
> [    0.459490] Linux video capture interface: v2.00
> [    0.464682] Advanced Linux Sound Architecture Driver Initialized.
> [    0.471666] Switched to clocksource mct-frc
> [    0.491175] NET: Registered protocol family 2
> [    0.496182] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
> [    0.503240] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
> [    0.509948] TCP: Hash tables configured (established 8192 bind 8192)
> [    0.516298] UDP hash table entries: 512 (order: 2, 24576 bytes)
> [    0.522262] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
> [    0.528879] NET: Registered protocol family 1
> [    0.533652] CPU PMU: Failed to parse <no-node>/interrupt-affinity[0]
> [    0.539981] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
> [    0.552811] futex hash table entries: 1024 (order: 4, 65536 bytes)
> [    0.559052] audit: initializing netlink subsys (disabled)
> [    0.564437] audit: type=2000 audit(0.535:1): initialized
> [    0.585260] alg: No test for stdrng (krng)
> [    0.617700] bounce: pool size: 64 pages
> [    0.621703] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
> [    0.629039] io scheduler noop registered
> [    0.633026] io scheduler deadline registered
> [    0.637703] io scheduler cfq registered (default)
> [    0.642891] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
> [    0.642907] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
> [    0.643115] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
> [    0.643129] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
> [    0.643291] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
> [    0.643304] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
> [    0.643471] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply from device tree
> [    0.643485] samsung-usb2-phy 125b0000.exynos-usbphy: Looking up phy-supply property in node /exynos-usbphy@125B0000 failed
> [    0.649998] dma-pl330 12680000.pdma: Loaded driver for PL330 DMAC-141330
> [    0.656639] dma-pl330 12680000.pdma: 	DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
> [    0.670196] dma-pl330 12690000.pdma: Loaded driver for PL330 DMAC-141330
> [    0.676840] dma-pl330 12690000.pdma: 	DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
> [    0.686800] dma-pl330 12850000.mdma: Loaded driver for PL330 DMAC-141330
> [    0.693432] dma-pl330 12850000.mdma: 	DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
> [    0.702961] 13800000.serial: ttySAC0 at MMIO 0x13800000 (irq = 70, base_baud = 0) is a S3C6400/10
> [    0.712302] 13810000.serial: ttySAC1 at MMIO 0x13810000 (irq = 71, base_baud = 0) is a S3C6400/10
> [    0.721180] console [ttySAC1] enabled
> [    0.728499] bootconsole [earlycon0] disabled
> [    0.737620] 13820000.serial: ttySAC2 at MMIO 0x13820000 (irq = 72, base_baud = 0) is a S3C6400/10
> [    0.741352] 13830000.serial: ttySAC3 at MMIO 0x13830000 (irq = 73, base_baud = 0) is a S3C6400/10
> [    0.750813] [drm] Initialized drm 1.1.0 20060810
> [    0.759713] exynos-hdmi 12d00000.hdmi: Looking up vdd-supply from device tree
> [    0.759807] exynos-hdmi 12d00000.hdmi: Looking up vdd_osc-supply from device tree
> [    0.759878] exynos-hdmi 12d00000.hdmi: Looking up vdd_pll-supply from device tree
> [    0.759945] exynos-hdmi 12d00000.hdmi: Looking up hdmi-en-supply from device tree
> [    0.759958] exynos-hdmi 12d00000.hdmi: Looking up hdmi-en-supply property in node /hdmi@12D00000 failed
> [    0.759983] 12d00000.hdmi supply hdmi-en not found, using dummy regulator
> [    0.762761] s5p-g2d 10800000.g2d: The exynos g2d(ver 4.1) successfully probed
> [    0.770698] exynos-drm-fimc 11820000.fimc: drm fimc registered successfully.
> [    0.776400] exynos-drm-fimc 11830000.fimc: drm fimc registered successfully.
> [    0.783136] exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
> [    0.790616] exynos-drm exynos-drm: bound exynos-drm-vidi (ops vidi_component_ops)
> [    0.798083] exynos-sysmmu 11e20000.sysmmu: Enabled
> [    0.798099] exynos4-fb 11c00000.fimd: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
> [    0.798117] exynos-drm exynos-drm: bound 11c00000.fimd (ops fimd_component_ops)
> [    0.804690] exynos-sysmmu 12e20000.sysmmu: Enabled
> [    0.804704] exynos-mixer 12c10000.mixer: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
> [    0.804735] exynos-drm exynos-drm: bound 12c10000.mixer (ops mixer_component_ops)
> [    0.811804] exynos-drm exynos-drm: bound 12d00000.hdmi (ops hdmi_component_ops)
> [    0.818780] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    0.825370] [drm] No driver support for vblank timestamp query.
> [    0.831580] exynos-sysmmu 10a40000.sysmmu: Enabled
> [    0.831594] s5p-g2d 10800000.g2d: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
> [    0.832024] exynos-sysmmu 11a40000.sysmmu: Enabled
> [    0.832037] exynos-drm-fimc 11820000.fimc: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
> [    0.832069] exynos-sysmmu 11a50000.sysmmu: Enabled
> [    0.832081] exynos-drm-fimc 11830000.fimc: exynos_iommu_attach_device: Attached IOMMU with pgtable 0x6d950000 
> [    0.869747] exynos-drm exynos-drm: fb0:  frame buffer device
> [    0.869817] exynos-drm exynos-drm: registered panic notifier
> [    0.875429] [drm] Initialized exynos 1.0.0 20110530 on minor 0
> [    0.885490] loop: module loaded
> [    0.886394] usbcore: registered new interface driver smsc95xx
> [    0.890357] dwc2 12480000.hsotg: registering common handler for irq67
> [    0.890455] dwc2 12480000.hsotg: mapped PA 12480000 to VA f01c0000
> [    0.890609] dwc2 12480000.hsotg: NonPeriodic TXFIFO size: 1024
> [    0.890619] dwc2 12480000.hsotg: RXFIFO size: 2048
> [    0.890629] dwc2 12480000.hsotg: Periodic TXFIFO 0 size: 0
> [    0.890638] dwc2 12480000.hsotg: Periodic TXFIFO 1 size: 256
> [    0.890646] dwc2 12480000.hsotg: Periodic TXFIFO 2 size: 256
> [    0.890655] dwc2 12480000.hsotg: Periodic TXFIFO 3 size: 256
> [    0.890664] dwc2 12480000.hsotg: Periodic TXFIFO 4 size: 256
> [    0.890672] dwc2 12480000.hsotg: Periodic TXFIFO 5 size: 768
> [    0.890680] dwc2 12480000.hsotg: Periodic TXFIFO 6 size: 768
> [    0.890689] dwc2 12480000.hsotg: Periodic TXFIFO 7 size: 768
> [    0.890697] dwc2 12480000.hsotg: Periodic TXFIFO 8 size: 768
> [    0.890706] dwc2 12480000.hsotg: Periodic TXFIFO 9 size: 0
> [    0.890714] dwc2 12480000.hsotg: Periodic TXFIFO10 size: 0
> [    0.890723] dwc2 12480000.hsotg: Periodic TXFIFO11 size: 0
> [    0.890731] dwc2 12480000.hsotg: Periodic TXFIFO12 size: 0
> [    0.890740] dwc2 12480000.hsotg: Periodic TXFIFO13 size: 0
> [    0.890748] dwc2 12480000.hsotg: Periodic TXFIFO14 size: 0
> [    0.890756] dwc2 12480000.hsotg: Periodic TXFIFO15 size: 0
> [    0.890845] dwc2 12480000.hsotg: Looking up vusb_d-supply from device tree
> [    0.891134] dwc2 12480000.hsotg: Looking up vusb_a-supply from device tree
> [    0.891412] dwc2 12480000.hsotg: pdev 0xee29a600
> [    0.916698] dwc2 12480000.hsotg: resetting core
> [    0.916710] dwc2 12480000.hsotg: reset successful
> [    0.916759] dwc2 12480000.hsotg: EPs: 16, dedicated fifos, 7808 entries in SPRAM
> [    0.918510] dwc2 12480000.hsotg: GRXFSIZ=0x00001f00, GNPTXFSIZ=0x03001f00
> [    0.918522] dwc2 12480000.hsotg: FIFOs reset, timeout at 100
> [    0.919174] dwc2 12480000.hsotg: DCFG=0x08200000, DCTL=0x00000002, DIEPMSK=0000000f
> [    0.926168] dwc2 12480000.hsotg: GAHBCFG=0x00000000, GHWCFG1=0x00000000
> [    0.932761] dwc2 12480000.hsotg: GRXFSIZ=0x00000800, GNPTXFSIZ=0x04000800
> [    0.939529] dwc2 12480000.hsotg: DPTx[1] FSize=256, StAddr=0x00000c00
> [    0.945953] dwc2 12480000.hsotg: DPTx[2] FSize=256, StAddr=0x00000d00
> [    0.952376] dwc2 12480000.hsotg: DPTx[3] FSize=256, StAddr=0x00000e00
> [    0.958799] dwc2 12480000.hsotg: DPTx[4] FSize=256, StAddr=0x00000f00
> [    0.965221] dwc2 12480000.hsotg: DPTx[5] FSize=768, StAddr=0x00001000
> [    0.971645] dwc2 12480000.hsotg: DPTx[6] FSize=768, StAddr=0x00001300
> [    0.978071] dwc2 12480000.hsotg: DPTx[7] FSize=768, StAddr=0x00001600
> [    0.984492] dwc2 12480000.hsotg: DPTx[8] FSize=768, StAddr=0x00001900
> [    0.990915] dwc2 12480000.hsotg: DPTx[9] FSize=768, StAddr=0x00003a00
> [    0.997339] dwc2 12480000.hsotg: DPTx[10] FSize=768, StAddr=0x00003d00
> [    1.003848] dwc2 12480000.hsotg: DPTx[11] FSize=768, StAddr=0x00004000
> [    1.010359] dwc2 12480000.hsotg: DPTx[12] FSize=768, StAddr=0x00004300
> [    1.016869] dwc2 12480000.hsotg: DPTx[13] FSize=768, StAddr=0x00004600
> [    1.023378] dwc2 12480000.hsotg: DPTx[14] FSize=768, StAddr=0x00004900
> [    1.029895] dwc2 12480000.hsotg: DPTx[15] FSize=768, StAddr=0x00004c00
> [    1.036400] dwc2 12480000.hsotg: ep0-in: EPCTL=0x00008000, SIZ=0x00000000, DMA=0xfaea717b
> [    1.044560] dwc2 12480000.hsotg: ep0-out: EPCTL=0x00008000, SIZ=0x00000000, DMA=0x463c36f1
> [    1.052805] dwc2 12480000.hsotg: ep1-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xc1c96fe3
> [    1.060964] dwc2 12480000.hsotg: ep1-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x0a5ff495
> [    1.069210] dwc2 12480000.hsotg: ep2-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x157e47e4
> [    1.077369] dwc2 12480000.hsotg: ep2-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf86e1204
> [    1.085615] dwc2 12480000.hsotg: ep3-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1165f7ee
> [    1.093774] dwc2 12480000.hsotg: ep3-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1826c196
> [    1.102020] dwc2 12480000.hsotg: ep4-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xed08cae0
> [    1.110179] dwc2 12480000.hsotg: ep4-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x10d40640
> [    1.118425] dwc2 12480000.hsotg: ep5-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5d89bf7a
> [    1.126584] dwc2 12480000.hsotg: ep5-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xa2448680
> [    1.134830] dwc2 12480000.hsotg: ep6-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x3ffe411c
> [    1.142990] dwc2 12480000.hsotg: ep6-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x4b8c6202
> [    1.151236] dwc2 12480000.hsotg: ep7-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x1973d37f
> [    1.159395] dwc2 12480000.hsotg: ep7-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x2541e654
> [    1.167641] dwc2 12480000.hsotg: ep8-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xbfde1ff2
> [    1.175800] dwc2 12480000.hsotg: ep8-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x27341467
> [    1.184051] dwc2 12480000.hsotg: ep9-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xd335fffd
> [    1.192207] dwc2 12480000.hsotg: ep9-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xc8843b0d
> [    1.200452] dwc2 12480000.hsotg: ep10-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf66f29f7
> [    1.208698] dwc2 12480000.hsotg: ep10-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x9ba428e6
> [    1.217031] dwc2 12480000.hsotg: ep11-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xbb1f9b9d
> [    1.225276] dwc2 12480000.hsotg: ep11-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x0d34b128
> [    1.233609] dwc2 12480000.hsotg: ep12-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xf177e671
> [    1.241856] dwc2 12480000.hsotg: ep12-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x85725105
> [    1.250188] dwc2 12480000.hsotg: ep13-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xe1557ecb
> [    1.258434] dwc2 12480000.hsotg: ep13-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x8b013e1b
> [    1.266766] dwc2 12480000.hsotg: ep14-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x37e77bee
> [    1.275012] dwc2 12480000.hsotg: ep14-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x29a24008
> [    1.283346] dwc2 12480000.hsotg: ep15-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x95c8ddee
> [    1.291591] dwc2 12480000.hsotg: ep15-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x10402de7
> [    1.299923] dwc2 12480000.hsotg: DVBUSDIS=0x000017d7, DVBUSPULSE=000005b8
> [    1.306912] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    1.313213] ehci-exynos: EHCI EXYNOS driver
> [    1.317878] exynos-ehci 12580000.ehci: EHCI Host Controller
> [    1.322958] exynos-ehci 12580000.ehci: new USB bus registered, assigned bus number 1
> [    1.330955] exynos-ehci 12580000.ehci: irq 68, io mem 0x12580000
> [    1.341699] exynos-ehci 12580000.ehci: USB 2.0 started, EHCI 1.00
> [    1.342894] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
> [    1.349490] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [    1.356694] usb usb1: Product: EHCI Host Controller
> [    1.361534] usb usb1: Manufacturer: Linux 4.1.0-rc2-debug+ ehci_hcd
> [    1.367802] usb usb1: SerialNumber: 12580000.ehci
> [    1.373360] hub 1-0:1.0: USB hub found
> [    1.376235] hub 1-0:1.0: 3 ports detected
> [    1.381237] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    1.386397] ohci-exynos: OHCI EXYNOS driver
> [    1.391074] usb3503 0-0008: Looking up ext-supply from device tree
> [    1.391088] usb3503 0-0008: Looking up ext-supply property in node /i2c@13860000/usb3503@08 failed
> [    1.606796] usb3503 0-0008: switched to HUB mode
> [    1.606855] usb3503 0-0008: usb3503_probe: probed in hub mode
> [    1.612295] max77686-rtc max77686-rtc: max77686_rtc_probe
> [    1.716735] usb 1-2: new high-speed USB device number 2 using exynos-ehci
> [    1.718456] rtc rtc0: max77686-rtc: dev (254:0)
> [    1.718479] max77686-rtc max77686-rtc: rtc core: registered max77686-rtc as rtc0
> [    1.726018] s3c-rtc 10070000.rtc: s3c2410_rtc: tick irq 65, alarm irq 64
> [    1.726123] s3c-rtc 10070000.rtc: failed to find rtc source clock
> [    1.731625] i2c /dev entries driver
> [    1.736264] exynos-tmu 100c0000.tmu: Looking up vtmu-supply from device tree
> [    1.737858] s3c2410-wdt 10060000.watchdog: watchdog inactive, reset disabled, irq disabled
> [    1.743829] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
> [    1.753589] sdhci: Secure Digital Host Controller Interface driver
> [    1.757553] sdhci: Copyright(c) Pierre Ossman
> [    1.762233] s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (100000000 Hz)
> [    1.769400] s3c-sdhci 12530000.sdhci: Got CD GPIO
> [    1.774315] s3c-sdhci 12530000.sdhci: Looking up vmmc-supply from device tree
> [    1.774370] s3c-sdhci 12530000.sdhci: Looking up vqmmc-supply from device tree
> [    1.801804] mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
> [    1.803615] Synopsys Designware Multimedia Card Interface Driver
> [    1.810179] dwmmc_exynos 12550000.mmc: IDMAC supports 32-bit address mode.
> [    1.816396] dwmmc_exynos 12550000.mmc: Using internal DMA controller.
> [    1.822753] dwmmc_exynos 12550000.mmc: Version ID is 240a
> [    1.828160] dwmmc_exynos 12550000.mmc: DW MMC controller at irq 120, 32 bit host data width, 128 deep fifo
> [    1.837784] dwmmc_exynos 12550000.mmc: Looking up vmmc-supply from device tree
> [    1.837835] dwmmc_exynos 12550000.mmc: Looking up vqmmc-supply from device tree
> [    1.838022] dwmmc_exynos 12550000.mmc: allocated mmc-pwrseq
> [    1.847021] usb 1-2: New USB device found, idVendor=0424, idProduct=3503
> [    1.849991] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> [    1.857677] hub 1-2:1.0: USB hub found
> [    1.860896] hub 1-2:1.0: 3 ports detected
> [    1.871734] dwmmc_exynos 12550000.mmc: 1 slots initialized
> [    1.872744] alg: skcipher: encryption failed on test 1 for ecb-aes-s5p: ret=22
> [    1.878884] s5p-sss driver registered
> [    1.882581] hidraw: raw HID events driver (C) Jiri Kosina
> [    1.887989] usbcore: registered new interface driver usbhid
> [    1.893384] usbhid: USB HID core driver
> [    1.897650] exynos-memory-bus memory_bus@0: Looking up vdd-mem-supply from device tree
> [    1.897892] exynos-memory-bus memory_bus@0: unable to get devfreq-event device : ppmu-event3-dmc0
> [    1.906108] exynos-memory-bus memory_bus@0: failed to initialize memory-bus
> [    1.913094] exynos-memory-bus memory_bus@1: Looking up vdd-mem-supply from device tree
> [    1.913300] exynos-memory-bus memory_bus@1: unable to get devfreq-event device : ppmu-event3-leftbus
> [    1.922157] exynos-memory-bus memory_bus@1: failed to initialize memory-bus
> [    1.932582] oprofile: using arm/armv7-ca9
> [    1.933680] NET: Registered protocol family 10
> [    1.937986] sit: IPv6 over IPv4 tunneling driver
> [    1.942596] NET: Registered protocol family 17
> [    1.946602] ThumbEE CPU extension supported.
> [    1.950753] Registering SWP/SWPB emulation handler
> [    1.956569] s3c-rtc 10070000.rtc: s3c2410_rtc: tick irq 65, alarm irq 64
> [    1.956916] s3c-rtc 10070000.rtc: s3c2410_rtc: RTCCON=01
> [    1.956972] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
> [    1.956995] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
> [    1.957006] s3c-rtc 10070000.rtc: read alarm 0, 1900.00.00 00:00:00
> [    1.957016] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
> [    1.957023] rtc rtc1: alarm rollover: day
> [    1.957033] s3c-rtc 10070000.rtc: read time 2015.02.17 07:06:53
> [    1.957205] rtc rtc1: s3c: dev (254:1)
> [    1.957219] s3c-rtc 10070000.rtc: rtc core: registered s3c as rtc1
> [    1.962037] exynos-memory-bus memory_bus@0: Looking up vdd-mem-supply from device tree
> [    1.962624] exynos-memory-bus memory_bus@1: Looking up vdd-mem-supply from device tree
> [    1.986841] max98090 1-0010: MAX98090 REVID=0x43
> [    1.991838] asoc-simple-card sound: HiFi <-> 3830000.i2s mapping ok
> [    1.995035] input: gpio_keys as /devices/platform/gpio_keys/input/input0
> [    2.016336] vdd_hdmi_1.0V: disabling
> [    2.017365] ALSA device list:
> [    2.017400]   #0: Odroid-X2
> [    2.020316] Waiting for root device /dev/mmcblk0p2...
> [    2.068120] mmc0: new high speed SDXC card at address aaaa
> [    2.068524] mmcblk0: mmc0:aaaa SE64G 59.4 GiB 
> [    2.073463]  mmcblk0: p1 p2 p3
> [    2.136398] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
> [    2.138872] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
> [    2.145739] Freeing unused kernel memory: 228K (c06a3000 - c06dc000)
> [    2.146787] usb 1-2.1: new high-speed USB device number 3 using exynos-ehci
> [    2.252221] usb 1-2.1: New USB device found, idVendor=0424, idProduct=9514
> [    2.253473] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> [    2.262134] hub 1-2.1:1.0: USB hub found
> [    2.264949] hub 1-2.1:1.0: 5 ports detected
> [    2.351966] usb 1-2.2: new high-speed USB device number 4 using exynos-ehci
> [    2.462315] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
> [    2.463559] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [    2.470879] usb 1-2.2: Product: Mass Storage Device
> [    2.475844] usb 1-2.2: Manufacturer: JetFlash
> [    2.480098] usb 1-2.2: SerialNumber: 059FKI3OMNH24FV4
> [    2.566973] usb 1-2.1.1: new high-speed USB device number 5 using exynos-ehci
> [    2.672331] usb 1-2.1.1: New USB device found, idVendor=0424, idProduct=ec00
> [    2.673746] usb 1-2.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> [    2.684870] smsc95xx v1.0.4
> [    2.736342] smsc95xx 1-2.1.1:1.0 eth0: register 'smsc95xx' at usb-12580000.ehci-2.1.1, smsc95xx USB 2.0 Ethernet, ae:74:f4:b9:9c:4c
> [    2.826794] usb 1-2.1.3: new full-speed USB device number 6 using exynos-ehci
> [    2.935809] usb 1-2.1.3: New USB device found, idVendor=0b05, idProduct=17cb
> [    2.937269] usb 1-2.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [    2.944751] usb 1-2.1.3: Product: BCM20702A0
> [    2.948981] usb 1-2.1.3: Manufacturer: Broadcom Corp
> [    2.953943] usb 1-2.1.3: SerialNumber: 000272C64311
> [    3.910324] systemd-udevd[1035]: starting version 216
> [    3.956260] random: systemd-udevd urandom read with 40 bits of entropy available
> [    4.166911] s5p-jpeg 11840000.jpeg-codec: sclk clock not available
> [    4.167137] s5p-jpeg 11840000.jpeg-codec: encoder device registered as /dev/video0
> [    4.167312] s5p-jpeg 11840000.jpeg-codec: decoder device registered as /dev/video1
> [    4.167317] s5p-jpeg 11840000.jpeg-codec: Samsung S5P JPEG codec
> [    4.220028] usb-storage 1-2.2:1.0: USB Mass Storage device detected
> [    4.220486] scsi host0: usb-storage 1-2.2:1.0
> [    4.227433] usbcore: registered new interface driver usb-storage
> [    4.261527] Bluetooth: Core ver 2.20
> [    4.261588] NET: Registered protocol family 31
> [    4.261594] Bluetooth: HCI device and connection manager initialized
> [    4.261613] Bluetooth: HCI socket layer initialized
> [    4.261625] Bluetooth: L2CAP socket layer initialized
> [    4.262569] Bluetooth: SCO socket layer initialized
> [    4.321779] usbcore: registered new interface driver btusb
> [    4.328530] Bluetooth: hci0: BCM: chip id 63
> [    4.329532] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
> [    4.342542] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cb.hcd failed with error -2
> [    4.342559] Bluetooth: hci0: BCM: patch brcm/BCM20702A1-0b05-17cb.hcd not found
> [    5.607589] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 6
> [    5.609550] sd 0:0:0:0: [sda] 61702144 512-byte logical blocks: (31.5 GB/29.4 GiB)
> [    5.610410] sd 0:0:0:0: [sda] Write Protect is off
> [    5.610419] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
> [    5.611308] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> [    5.626977]  sda: sda1 sda2 sda3
> [    5.631039] sd 0:0:0:0: [sda] Attached SCSI removable disk
> [    5.976906] raid6: int32x1  gen()   253 MB/s
> [    6.061767] raid6: int32x1  xor()   219 MB/s
> [    6.146703] raid6: int32x2  gen()   344 MB/s
> [    6.231703] raid6: int32x2  xor()   263 MB/s
> [    6.316761] raid6: int32x4  gen()   397 MB/s
> [    6.401717] raid6: int32x4  xor()   273 MB/s
> [    6.486674] raid6: int32x8  gen()   393 MB/s
> [    6.571969] raid6: int32x8  xor()   254 MB/s
> [    6.656781] raid6: neonx1   gen()  1046 MB/s
> [    6.741728] raid6: neonx2   gen()  1446 MB/s
> [    6.826739] raid6: neonx4   gen()  1503 MB/s
> [    6.909713] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
> [    6.911704] raid6: neonx8   gen()  1042 MB/s
> [    6.911719] raid6: using algorithm neonx4 gen() 1503 MB/s
> [    6.911731] raid6: using intx1 recovery algorithm
> [    6.923619] xor: measuring software checksum speed
> [    6.971708]    arm4regs  :  2887.200 MB/sec
> [    7.021701]    8regs     :  1896.800 MB/sec
> [    7.071699]    32regs    :  1459.200 MB/sec
> [    7.121697]    neon      :  1756.800 MB/sec
> [    7.121709] xor: using function: arm4regs (2887.200 MB/sec)
> [    7.229707] Btrfs loaded
> [    7.232454] BTRFS: device label odroid_portage devid 1 transid 473 /dev/sda1
> [    7.259786] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
> [    7.271365] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
> [    7.286692] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
> [    7.289609] EXT4-fs (mmcblk0p3): mounting ext3 file system using the ext4 subsystem
> [    7.303613] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
> [    7.645277] random: nonblocking pool is initialized
> [    9.578598] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
> [    9.578626] Bluetooth: BNEP socket layer initialized
> [    9.842243] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
> [    9.865029] device br0 entered promiscuous mode
> [   13.865314] smsc95xx 1-2.1.1:1.0 eth0: hardware isn't capable of remote wakeup
> [   13.865405] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   34.735378] device bnep0 entered promiscuous mode
> [   34.737823] br0: port 1(bnep0) entered forwarding state
> [   34.737920] br0: port 1(bnep0) entered forwarding state
> [   34.744828] ------------[ cut here ]------------
> [   34.744903] WARNING: CPU: 1 PID: 2276 at kernel/sched/core.c:7291 __might_sleep+0x94/0xa0()
> [   34.744957] do not call blocking ops when !TASK_RUNNING; state=1 set at [<bf245250>] bnep_session+0xa4/0x858 [bnep]
> [   34.744981] Modules linked in: cmac ecb bridge stp llc bnep btrfs xor xor_neon zlib_inflate zlib_deflate raid6_pq btusb btbcm btintel bluetooth usb_storage s5p_jpeg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem videobuf2_core
> [   34.745233] CPU: 1 PID: 2276 Comm: kbnepd bnep0 Not tainted 4.1.0-rc2-debug+ #4
> [   34.745257] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
> [   34.745277] Backtrace: 
> [   34.745341] [<c0013270>] (dump_backtrace) from [<c0013488>] (show_stack+0x18/0x1c)
> [   34.745363]  r6:c06f9a08 r5:ffffffff r4:00000000 r3:dc8ba300
> [   34.745454] [<c0013470>] (show_stack) from [<c04f1d98>] (dump_stack+0x88/0xc8)
> [   34.745502] [<c04f1d10>] (dump_stack) from [<c002e634>] (warn_slowpath_common+0x88/0xb8)
> [   34.745522]  r6:c0604f3c r5:00001c7b r4:edbb3da8 r3:dc8ba300
> [   34.745597] [<c002e5ac>] (warn_slowpath_common) from [<c002e69c>] (warn_slowpath_fmt+0x38/0x40)
> [   34.745617]  r8:edb56c00 r7:c0713770 r6:00000000 r5:00000943 r4:c06648d8
> [   34.745703] [<c002e668>] (warn_slowpath_fmt) from [<c004e068>] (__might_sleep+0x94/0xa0)
> [   34.745722]  r3:00000001 r2:c0605064
> [   34.745780] [<c004dfd4>] (__might_sleep) from [<c040ce7c>] (lock_sock_nested+0x28/0x6c)
> [   34.745801]  r7:00000004 r6:edba2c00 r5:edba2460 r4:edba2400
> [   34.745996] [<c040ce54>] (lock_sock_nested) from [<bf06a474>] (l2cap_sock_sendmsg+0x48/0xe4 [bluetooth])
> [   34.746020]  r5:ec12ad2c r4:edba2400
> [   34.746183] [<bf06a42c>] (l2cap_sock_sendmsg [bluetooth]) from [<c04097e8>] (sock_sendmsg+0x1c/0x2c)
> [   34.746213]  r8:edb56c00 r7:ec12a800 r6:edba248c r5:ec8748c0 r4:ec12ad2c r3:bf06a42c
> [   34.746342] [<c04097cc>] (sock_sendmsg) from [<c04098ec>] (kernel_sendmsg+0x38/0x40)
> [   34.746405] [<c04098b4>] (kernel_sendmsg) from [<bf245050>] (bnep_send_rsp+0x50/0x58 [bnep])
> [   34.746431]  r5:ec8748c0 r4:00000100
> [   34.746514] [<bf245000>] (bnep_send_rsp [bnep]) from [<bf2450d4>] (bnep_rx_control+0x7c/0x154 [bnep])
> [   34.746542]  r5:00000001 r4:ec12ad00
> [   34.746815] [<bf245058>] (bnep_rx_control [bnep]) from [<bf245820>] (bnep_session+0x674/0x858 [bnep])
> [   34.746846]  r5:00000001 r4:ec12ad00
> [   34.746940] [<bf2451ac>] (bnep_session [bnep]) from [<c0048ae8>] (kthread+0xf4/0x110)
> [   34.746961]  r10:00000000 r9:00000000 r8:00000000 r7:bf2451ac r6:ec12ad00 r5:00000000
> [   34.747031]  r4:ec0d2d00
> [   34.747086] [<c00489f4>] (kthread) from [<c000fac0>] (ret_from_fork+0x14/0x34)
> [   34.747106]  r7:00000000 r6:00000000 r5:c00489f4 r4:ec0d2d00
> [   34.747167] ---[ end trace 2dd031423862af06 ]---
> [  133.283940] Unable to handle kernel NULL pointer dereference at virtual address 000000a4
> [  133.283962] pgd = ec35c000
> [  133.283976] [000000a4] *pgd=6c32d831, *pte=00000000, *ppte=00000000
> [  133.284010] Internal error: Oops: 17 [#1] PREEMPT SMP ARM
> [  133.284084] Modules linked in: cmac ecb bridge stp llc bnep btrfs xor xor_neon zlib_inflate zlib_deflate raid6_pq btusb btbcm btintel bluetooth usb_storage s5p_jpeg videobuf2_dma_contig videobuf2_memops v4l2_mem2mem videobuf2_core
> [  133.304170] CPU: 2 PID: 2430 Comm: lt-modetest Tainted: G        W       4.1.0-rc2-debug+ #4
> [  133.312582] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
> [  133.318661] task: ec2af8c0 ti: ec166000 task.ti: ec166000
> [  133.324053] PC is at exynos_plane_atomic_update+0x44/0x2a8
> [  133.329520] LR is at drm_atomic_helper_commit_planes+0xd8/0x1bc
> [  133.335415] pc : [<c02b4130>]    lr : [<c028c2ec>]    psr: 60070053
> sp : ec167d38  ip : 00000000  fp : ec167d84
> [  133.346868] r10: 00000001  r9 : ee32c400  r8 : 00000000
> [  133.352077] r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : ee15a308
> [  133.358587] r3 : 00000000  r2 : ec112580  r1 : 00000000  r0 : 00000000
> [  133.365099] Flags: nZCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment user
> [  133.372297] Control: 10c5387d  Table: 6c35c04a  DAC: 00000015
> [  133.378025] Process lt-modetest (pid: 2430, stack limit = 0xec166218)
> [  133.384449] Stack: (0xec167d38 to 0xec168000)
> [  133.388790] 7d20:                                                       ee272800 00000000
> [  133.396950] 7d40: ec112300 ee32c400 ec167d7c ec167d58 00000000 c02b1b54 ec112300 ec112300
> [  133.405109] 7d60: 00000000 ee15a308 ed957780 c053d40c ee32c400 00000001 ec167dac ec167d88
> [  133.413268] 7d80: c028c2ec c02b40f8 00000000 0000000b ec112300 00000000 ee272800 00000000
> [  133.421427] 7da0: ec167dd4 ec167db0 c028e69c c028c220 c02b2774 ec112300 ee272800 ee100200
> [  133.429586] 7dc0: 00000000 ee32c400 ec167de4 ec167dd8 c02b2788 c028e590 ec167dfc ec167de8
> [  133.437745] 7de0: c02af91c c02b2780 00000003 ec112300 ec167e34 ec167e00 c028d24c c02af8dc
> [  133.445905] 7e00: c02aea0c c02ae484 00000000 00000000 00000028 00000001 ee32c400 ee100300
> [  133.454064] 7e20: ee272800 00000000 ec167e54 ec167e38 c029f140 c028cf3c 00000000 00000028
> [  133.462223] 7e40: 00000001 ee100200 ec167e8c ec167e58 c0290c28 c029f0ec ec167e7c ec167e68
> [  133.470383] 7e60: c004fc84 ee272800 c0749014 ee272858 ee272800 ee272834 edbc4780 ee27294c
> [  133.478541] 7e80: ec167e9c ec167e90 c02b264c c0290b48 ec167eac ec167ea0 c02b105c c02b2630
> [  133.486701] 7ea0: ec167ecc ec167eb0 c0294560 c02b1058 00000000 edb4c800 edb4c8a8 ee272858
> [  133.494860] 7ec0: ec167f1c ec167ed0 c0294970 c0294530 c004fc84 ec102308 00000001 00000002
> [  133.503019] 7ee0: ee272800 60070053 ee272954 ee102680 c004e03c ec102300 ee11b090 ee182e10
> [  133.511178] 7f00: edc0dc78 ee11b090 00000008 00000000 ec167f5c ec167f20 c0103c14 c029463c
> [  133.519337] 7f20: 00000000 00000000 00000000 ec102308 ec167f54 ec2afcc4 00000000 c0718ef8
> [  133.527497] 7f40: ec2af8c0 c000fbc4 ec166000 00000000 ec167f6c ec167f60 c0103dc4 c0103b80
> [  133.535656] 7f60: ec167f8c ec167f70 c0047310 c0103dc0 ec166000 c000fbc4 ec167fb0 00000006
> [  133.543815] 7f80: ec167fac ec167f90 c0012e88 c0047264 00000000 00000003 00000001 00000000
> [  133.551974] 7fa0: 00000000 ec167fb0 c000fa64 c0012e0c 00000000 00000000 013b8450 00000000
> [  133.560133] 7fc0: 00000003 00000001 00000000 00000006 000120a4 0001b354 be8fd2b3 00000000
> [  133.568293] 7fe0: 00000000 be8fcda4 b6f1975c b6ef257c 60070050 00000003 00000000 00000000
> [  133.576449] Backtrace: 
> [  133.578887] [<c02b40ec>] (exynos_plane_atomic_update) from [<c028c2ec>] (drm_atomic_helper_commit_planes+0xd8/0x1bc)
> [  133.589383]  r10:00000001 r9:ee32c400 r8:c053d40c r7:ed957780 r6:ee15a308 r5:00000000
> [  133.597195]  r4:ec112300
> [  133.599717] [<c028c214>] (drm_atomic_helper_commit_planes) from [<c028e69c>] (drm_atomic_helper_commit+0x118/0x170)
> [  133.610128]  r8:00000000 r7:ee272800 r6:00000000 r5:ec112300 r4:0000000b r3:00000000
> [  133.617857] [<c028e584>] (drm_atomic_helper_commit) from [<c02b2788>] (exynos_atomic_commit+0x14/0x18)
> [  133.627141]  r8:ee32c400 r7:00000000 r6:ee100200 r5:ee272800 r4:ec112300 r3:c02b2774
> [  133.634869] [<c02b2774>] (exynos_atomic_commit) from [<c02af91c>] (drm_atomic_commit+0x4c/0x6c)
> [  133.643549] [<c02af8d0>] (drm_atomic_commit) from [<c028d24c>] (drm_atomic_helper_set_config+0x31c/0x428)
> [  133.653094]  r5:ec112300 r4:00000003
> [  133.656660] [<c028cf30>] (drm_atomic_helper_set_config) from [<c029f140>] (drm_mode_set_config_internal+0x60/0xdc)
> [  133.666982]  r10:00000000 r9:ee272800 r8:ee100300 r7:ee32c400 r6:00000001 r5:00000028
> [  133.674794]  r4:00000000
> [  133.677317] [<c029f0e0>] (drm_mode_set_config_internal) from [<c0290c28>] (drm_fb_helper_restore_fbdev_mode_unlocked+0xec/0x140)
> [  133.688856]  r7:ee100200 r6:00000001 r5:00000028 r4:00000000
> [  133.694501] [<c0290b3c>] (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c02b264c>] (exynos_drm_fbdev_restore_mode+0x28/0x2c)
> [  133.706042]  r10:ee27294c r9:edbc4780 r8:ee272834 r7:ee272800 r6:ee272858 r5:c0749014
> [  133.713854]  r4:ee272800
> [  133.716374] [<c02b2624>] (exynos_drm_fbdev_restore_mode) from [<c02b105c>] (exynos_drm_lastclose+0x10/0x14)
> [  133.726096] [<c02b104c>] (exynos_drm_lastclose) from [<c0294560>] (drm_lastclose+0x3c/0x10c)
> [  133.734514] [<c0294524>] (drm_lastclose) from [<c0294970>] (drm_release+0x340/0x4e0)
> [  133.742238]  r6:ee272858 r5:edb4c8a8 r4:edb4c800 r3:00000000
> [  133.747885] [<c0294630>] (drm_release) from [<c0103c14>] (__fput+0xa0/0x1e4)
> [  133.754910]  r10:00000000 r9:00000008 r8:ee11b090 r7:edc0dc78 r6:ee182e10 r5:ee11b090
> [  133.762722]  r4:ec102300
> [  133.765243] [<c0103b74>] (__fput) from [<c0103dc4>] (____fput+0x10/0x14)
> [  133.771923]  r10:00000000 r9:ec166000 r8:c000fbc4 r7:ec2af8c0 r6:c0718ef8 r5:00000000
> [  133.779735]  r4:ec2afcc4
> [  133.782258] [<c0103db4>] (____fput) from [<c0047310>] (task_work_run+0xb8/0xfc)
> [  133.789550] [<c0047258>] (task_work_run) from [<c0012e88>] (do_work_pending+0x88/0xa8)
> [  133.797442]  r7:00000006 r6:ec167fb0 r5:c000fbc4 r4:ec166000
> [  133.803088] [<c0012e00>] (do_work_pending) from [<c000fa64>] (work_pending+0xc/0x20)
> [  133.810809]  r6:00000000 r5:00000001 r4:00000003 r3:00000000
> [  133.816454] Code: e5927014 e5921018 e592301c e1d202be (e59590a4) 
> [  133.822608] ---[ end trace 2dd031423862af07 ]---

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-08 21:51 ` Tobias Jakobi
@ 2015-05-09 10:23   ` Inki Dae
  2015-05-09 12:13     ` Tobias Jakobi
  0 siblings, 1 reply; 23+ messages in thread
From: Inki Dae @ 2015-05-09 10:23 UTC (permalink / raw)
  To: Tobias Jakobi; +Cc: linux-samsung-soc, DRI mailing list

Hi,

2015-05-09 6:51 GMT+09:00 Tobias Jakobi <liquid.acid@gmx.net>:
> Hello,
>
> I've tested this on my Hardkernel Odroid-X2 (connected via HDMI to a
> 1080p panel).
>
> Run the usual modetest tests (just primary plane, primary plane with
> vsync, primary plane with overlay, primary plane with overlay and video
> overlay, overlay partially outside of crtc area, etc.) and haven't
> noticed any issues so far.

As I mentioned several times, it works well in case that only one crtc
driver is enabled. Could you check it again after you enable two or
more crtc drivers such as FIMD and HDMI or FIMD, HDMI and VIDI
together? For this, dts file for X2 should contain their device nodes
and also should be configurated though menuconfig.

>
> Kernel log is 'clean', so the series works fine for me.
>
> You can add my
> Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>

So you didn't test it correctly yet.

Thanks,
Inki Dae

>
> With best wishes,
> Tobias
>
>
> Gustavo Padovan wrote:
>> Hi,
>>
>> Here goes the full support for atomic modesetting on exynos. I've
>> split the patches in the various phases of atomic support.
>>
>> v2: fixes comments by Joonyoung
>>         - remove unused var in patch 09
>>         - use ->disable instead of outdated ->dpms in hdmi code
>>         - remove WARN_ON from crtc enable/disable
>>
>> v3: fixes comment by Joonyoung
>>         - move the removal of drm_helper_disable_unused_functions() to
>>         separated patch
>>
>> v4: add patches that remove unnecessary calls to disable_plane()
>>
>>       Gustavo
>>
>> ---
>> Gustavo Padovan (12):
>>       drm/exynos: atomic phase 1: use drm_plane_helper_update()
>>       drm/exynos: atomic phase 1: use drm_plane_helper_disable()
>>       drm/exynos: atomic phase 1: add .mode_set_nofb() callback
>>       drm/exynos: atomic phase 2: wire up state reset(), duplicate() and destroy()
>>       drm/exynos: atomic phase 2: keep track of framebuffer pointer
>>       drm/exynos: atomic phase 3: atomic updates of planes
>>       drm/exynos: atomic phase 3: use atomic .set_config helper
>>       drm/exynos: atomic phase 3: convert page flips
>>       drm/exynos: remove exported functions from exynos_drm_plane
>>       drm/exynos: don't disable unused functions at init
>>       drm/exynos: atomic dpms support
>>       drm/exynos: remove unnecessary calls to disable_plane()
>>
>>  drivers/gpu/drm/bridge/ps8622.c             |   6 +-
>>  drivers/gpu/drm/bridge/ptn3460.c            |   6 +-
>>  drivers/gpu/drm/exynos/exynos_dp_core.c     |   6 +-
>>  drivers/gpu/drm/exynos/exynos_drm_crtc.c    | 215 +++++++++----------------------
>>  drivers/gpu/drm/exynos/exynos_drm_dpi.c     |   6 +-
>>  drivers/gpu/drm/exynos/exynos_drm_drv.c     |   2 +
>>  drivers/gpu/drm/exynos/exynos_drm_drv.h     |   4 +-
>>  drivers/gpu/drm/exynos/exynos_drm_dsi.c     |   6 +-
>>  drivers/gpu/drm/exynos/exynos_drm_encoder.c |  35 +----
>>  drivers/gpu/drm/exynos/exynos_drm_fb.c      |  12 +-
>>  drivers/gpu/drm/exynos/exynos_drm_fbdev.c   |   3 -
>>  drivers/gpu/drm/exynos/exynos_drm_plane.c   | 115 +++++++++--------
>>  drivers/gpu/drm/exynos/exynos_drm_plane.h   |  11 --
>>  drivers/gpu/drm/exynos/exynos_drm_vidi.c    |   6 +-
>>  drivers/gpu/drm/exynos/exynos_hdmi.c        |  10 +-
>>  15 files changed, 178 insertions(+), 265 deletions(-)
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-04-30 21:50 Gustavo Padovan
  2015-05-06 21:45 ` Gustavo Padovan
@ 2015-05-08 21:51 ` Tobias Jakobi
  2015-05-09 10:23   ` Inki Dae
  1 sibling, 1 reply; 23+ messages in thread
From: Tobias Jakobi @ 2015-05-08 21:51 UTC (permalink / raw)
  To: Gustavo Padovan, linux-samsung-soc; +Cc: dri-devel, inki.dae, jy0922.shim

Hello,

I've tested this on my Hardkernel Odroid-X2 (connected via HDMI to a
1080p panel).

Run the usual modetest tests (just primary plane, primary plane with
vsync, primary plane with overlay, primary plane with overlay and video
overlay, overlay partially outside of crtc area, etc.) and haven't
noticed any issues so far.

Kernel log is 'clean', so the series works fine for me.

You can add my
Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>

With best wishes,
Tobias


Gustavo Padovan wrote:
> Hi,
> 
> Here goes the full support for atomic modesetting on exynos. I've
> split the patches in the various phases of atomic support.
> 
> v2: fixes comments by Joonyoung
>         - remove unused var in patch 09
>         - use ->disable instead of outdated ->dpms in hdmi code
>         - remove WARN_ON from crtc enable/disable
> 
> v3: fixes comment by Joonyoung
>         - move the removal of drm_helper_disable_unused_functions() to
>         separated patch
> 
> v4: add patches that remove unnecessary calls to disable_plane()
> 
> 	Gustavo
> 
> ---
> Gustavo Padovan (12):
>       drm/exynos: atomic phase 1: use drm_plane_helper_update()
>       drm/exynos: atomic phase 1: use drm_plane_helper_disable()
>       drm/exynos: atomic phase 1: add .mode_set_nofb() callback
>       drm/exynos: atomic phase 2: wire up state reset(), duplicate() and destroy()
>       drm/exynos: atomic phase 2: keep track of framebuffer pointer
>       drm/exynos: atomic phase 3: atomic updates of planes
>       drm/exynos: atomic phase 3: use atomic .set_config helper
>       drm/exynos: atomic phase 3: convert page flips
>       drm/exynos: remove exported functions from exynos_drm_plane
>       drm/exynos: don't disable unused functions at init
>       drm/exynos: atomic dpms support
>       drm/exynos: remove unnecessary calls to disable_plane()
> 
>  drivers/gpu/drm/bridge/ps8622.c             |   6 +-
>  drivers/gpu/drm/bridge/ptn3460.c            |   6 +-
>  drivers/gpu/drm/exynos/exynos_dp_core.c     |   6 +-
>  drivers/gpu/drm/exynos/exynos_drm_crtc.c    | 215 +++++++++----------------------
>  drivers/gpu/drm/exynos/exynos_drm_dpi.c     |   6 +-
>  drivers/gpu/drm/exynos/exynos_drm_drv.c     |   2 +
>  drivers/gpu/drm/exynos/exynos_drm_drv.h     |   4 +-
>  drivers/gpu/drm/exynos/exynos_drm_dsi.c     |   6 +-
>  drivers/gpu/drm/exynos/exynos_drm_encoder.c |  35 +----
>  drivers/gpu/drm/exynos/exynos_drm_fb.c      |  12 +-
>  drivers/gpu/drm/exynos/exynos_drm_fbdev.c   |   3 -
>  drivers/gpu/drm/exynos/exynos_drm_plane.c   | 115 +++++++++--------
>  drivers/gpu/drm/exynos/exynos_drm_plane.h   |  11 --
>  drivers/gpu/drm/exynos/exynos_drm_vidi.c    |   6 +-
>  drivers/gpu/drm/exynos/exynos_hdmi.c        |  10 +-
>  15 files changed, 178 insertions(+), 265 deletions(-)
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-07  2:45   ` Inki Dae
@ 2015-05-08 21:45     ` Gustavo Padovan
  0 siblings, 0 replies; 23+ messages in thread
From: Gustavo Padovan @ 2015-05-08 21:45 UTC (permalink / raw)
  To: Inki Dae; +Cc: linux-samsung-soc, dri-devel

Hi Inki,

2015-05-07 Inki Dae <inki.dae@samsung.com>:

> Hi,
> 
> On 2015년 05월 07일 06:45, Gustavo Padovan wrote:
> > Hi Inki and Joonyoung.
> > 
> > Any thoughts on this?
> 
> You need to resolve one issue that booting is still halted when one more
> crtc drivers are enabled, which is a dead lock issue incurred by
> register_framebuffer call. For this, I pointed out already at v3.

Don't the last patch of series in v4 fixes this? I think it can fixes
those issues, but I can't test here as I don't have the hardware.

> 
> The last patch may resolve invalid memory access which state->crtc had
> NULL while modetest is being performed but it didn't resolve above
> booting halt issue.
> 
> So as of now, I have merged this patch series for more reviews to
> exynos-drm-next-todo yesterday. I will move them to exynos-drm-next if
> the issue is resolved.

Thanks for moving it to -next-todo

	Gustavo
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-05-06 21:45 ` Gustavo Padovan
@ 2015-05-07  2:45   ` Inki Dae
  2015-05-08 21:45     ` Gustavo Padovan
  0 siblings, 1 reply; 23+ messages in thread
From: Inki Dae @ 2015-05-07  2:45 UTC (permalink / raw)
  To: Gustavo Padovan, linux-samsung-soc, dri-devel, jy0922.shim

Hi,

On 2015년 05월 07일 06:45, Gustavo Padovan wrote:
> Hi Inki and Joonyoung.
> 
> Any thoughts on this?

You need to resolve one issue that booting is still halted when one more
crtc drivers are enabled, which is a dead lock issue incurred by
register_framebuffer call. For this, I pointed out already at v3.

The last patch may resolve invalid memory access which state->crtc had
NULL while modetest is being performed but it didn't resolve above
booting halt issue.

So as of now, I have merged this patch series for more reviews to
exynos-drm-next-todo yesterday. I will move them to exynos-drm-next if
the issue is resolved.

Thanks,
Inki Dae

> 
> 2015-04-30 Gustavo Padovan <gustavo@padovan.org>:
> 
>> Hi,
>>
>> Here goes the full support for atomic modesetting on exynos. I've
>> split the patches in the various phases of atomic support.
>>
>> v2: fixes comments by Joonyoung
>>         - remove unused var in patch 09
>>         - use ->disable instead of outdated ->dpms in hdmi code
>>         - remove WARN_ON from crtc enable/disable
>>
>> v3: fixes comment by Joonyoung
>>         - move the removal of drm_helper_disable_unused_functions() to
>>         separated patch
>>
>> v4: add patches that remove unnecessary calls to disable_plane()
>>
>> 	Gustavo
>>
>> ---
>> Gustavo Padovan (12):
>>       drm/exynos: atomic phase 1: use drm_plane_helper_update()
>>       drm/exynos: atomic phase 1: use drm_plane_helper_disable()
>>       drm/exynos: atomic phase 1: add .mode_set_nofb() callback
>>       drm/exynos: atomic phase 2: wire up state reset(), duplicate() and destroy()
>>       drm/exynos: atomic phase 2: keep track of framebuffer pointer
>>       drm/exynos: atomic phase 3: atomic updates of planes
>>       drm/exynos: atomic phase 3: use atomic .set_config helper
>>       drm/exynos: atomic phase 3: convert page flips
>>       drm/exynos: remove exported functions from exynos_drm_plane
>>       drm/exynos: don't disable unused functions at init
>>       drm/exynos: atomic dpms support
>>       drm/exynos: remove unnecessary calls to disable_plane()
>>
>>  drivers/gpu/drm/bridge/ps8622.c             |   6 +-
>>  drivers/gpu/drm/bridge/ptn3460.c            |   6 +-
>>  drivers/gpu/drm/exynos/exynos_dp_core.c     |   6 +-
>>  drivers/gpu/drm/exynos/exynos_drm_crtc.c    | 215 +++++++++----------------------
>>  drivers/gpu/drm/exynos/exynos_drm_dpi.c     |   6 +-
>>  drivers/gpu/drm/exynos/exynos_drm_drv.c     |   2 +
>>  drivers/gpu/drm/exynos/exynos_drm_drv.h     |   4 +-
>>  drivers/gpu/drm/exynos/exynos_drm_dsi.c     |   6 +-
>>  drivers/gpu/drm/exynos/exynos_drm_encoder.c |  35 +----
>>  drivers/gpu/drm/exynos/exynos_drm_fb.c      |  12 +-
>>  drivers/gpu/drm/exynos/exynos_drm_fbdev.c   |   3 -
>>  drivers/gpu/drm/exynos/exynos_drm_plane.c   | 115 +++++++++--------
>>  drivers/gpu/drm/exynos/exynos_drm_plane.h   |  11 --
>>  drivers/gpu/drm/exynos/exynos_drm_vidi.c    |   6 +-
>>  drivers/gpu/drm/exynos/exynos_hdmi.c        |  10 +-
>>  15 files changed, 178 insertions(+), 265 deletions(-)
>>
> 
> 	Gustavo
> 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: drm/exynos: Add atomic modesetting support
  2015-04-30 21:50 Gustavo Padovan
@ 2015-05-06 21:45 ` Gustavo Padovan
  2015-05-07  2:45   ` Inki Dae
  2015-05-08 21:51 ` Tobias Jakobi
  1 sibling, 1 reply; 23+ messages in thread
From: Gustavo Padovan @ 2015-05-06 21:45 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: dri-devel

Hi Inki and Joonyoung.

Any thoughts on this?

2015-04-30 Gustavo Padovan <gustavo@padovan.org>:

> Hi,
> 
> Here goes the full support for atomic modesetting on exynos. I've
> split the patches in the various phases of atomic support.
> 
> v2: fixes comments by Joonyoung
>         - remove unused var in patch 09
>         - use ->disable instead of outdated ->dpms in hdmi code
>         - remove WARN_ON from crtc enable/disable
> 
> v3: fixes comment by Joonyoung
>         - move the removal of drm_helper_disable_unused_functions() to
>         separated patch
> 
> v4: add patches that remove unnecessary calls to disable_plane()
> 
> 	Gustavo
> 
> ---
> Gustavo Padovan (12):
>       drm/exynos: atomic phase 1: use drm_plane_helper_update()
>       drm/exynos: atomic phase 1: use drm_plane_helper_disable()
>       drm/exynos: atomic phase 1: add .mode_set_nofb() callback
>       drm/exynos: atomic phase 2: wire up state reset(), duplicate() and destroy()
>       drm/exynos: atomic phase 2: keep track of framebuffer pointer
>       drm/exynos: atomic phase 3: atomic updates of planes
>       drm/exynos: atomic phase 3: use atomic .set_config helper
>       drm/exynos: atomic phase 3: convert page flips
>       drm/exynos: remove exported functions from exynos_drm_plane
>       drm/exynos: don't disable unused functions at init
>       drm/exynos: atomic dpms support
>       drm/exynos: remove unnecessary calls to disable_plane()
> 
>  drivers/gpu/drm/bridge/ps8622.c             |   6 +-
>  drivers/gpu/drm/bridge/ptn3460.c            |   6 +-
>  drivers/gpu/drm/exynos/exynos_dp_core.c     |   6 +-
>  drivers/gpu/drm/exynos/exynos_drm_crtc.c    | 215 +++++++++----------------------
>  drivers/gpu/drm/exynos/exynos_drm_dpi.c     |   6 +-
>  drivers/gpu/drm/exynos/exynos_drm_drv.c     |   2 +
>  drivers/gpu/drm/exynos/exynos_drm_drv.h     |   4 +-
>  drivers/gpu/drm/exynos/exynos_drm_dsi.c     |   6 +-
>  drivers/gpu/drm/exynos/exynos_drm_encoder.c |  35 +----
>  drivers/gpu/drm/exynos/exynos_drm_fb.c      |  12 +-
>  drivers/gpu/drm/exynos/exynos_drm_fbdev.c   |   3 -
>  drivers/gpu/drm/exynos/exynos_drm_plane.c   | 115 +++++++++--------
>  drivers/gpu/drm/exynos/exynos_drm_plane.h   |  11 --
>  drivers/gpu/drm/exynos/exynos_drm_vidi.c    |   6 +-
>  drivers/gpu/drm/exynos/exynos_hdmi.c        |  10 +-
>  15 files changed, 178 insertions(+), 265 deletions(-)
> 

	Gustavo
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

* drm/exynos: Add atomic modesetting support
@ 2015-04-30 21:50 Gustavo Padovan
  2015-05-06 21:45 ` Gustavo Padovan
  2015-05-08 21:51 ` Tobias Jakobi
  0 siblings, 2 replies; 23+ messages in thread
From: Gustavo Padovan @ 2015-04-30 21:50 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: dri-devel, inki.dae, jy0922.shim

Hi,

Here goes the full support for atomic modesetting on exynos. I've
split the patches in the various phases of atomic support.

v2: fixes comments by Joonyoung
        - remove unused var in patch 09
        - use ->disable instead of outdated ->dpms in hdmi code
        - remove WARN_ON from crtc enable/disable

v3: fixes comment by Joonyoung
        - move the removal of drm_helper_disable_unused_functions() to
        separated patch

v4: add patches that remove unnecessary calls to disable_plane()

	Gustavo

---
Gustavo Padovan (12):
      drm/exynos: atomic phase 1: use drm_plane_helper_update()
      drm/exynos: atomic phase 1: use drm_plane_helper_disable()
      drm/exynos: atomic phase 1: add .mode_set_nofb() callback
      drm/exynos: atomic phase 2: wire up state reset(), duplicate() and destroy()
      drm/exynos: atomic phase 2: keep track of framebuffer pointer
      drm/exynos: atomic phase 3: atomic updates of planes
      drm/exynos: atomic phase 3: use atomic .set_config helper
      drm/exynos: atomic phase 3: convert page flips
      drm/exynos: remove exported functions from exynos_drm_plane
      drm/exynos: don't disable unused functions at init
      drm/exynos: atomic dpms support
      drm/exynos: remove unnecessary calls to disable_plane()

 drivers/gpu/drm/bridge/ps8622.c             |   6 +-
 drivers/gpu/drm/bridge/ptn3460.c            |   6 +-
 drivers/gpu/drm/exynos/exynos_dp_core.c     |   6 +-
 drivers/gpu/drm/exynos/exynos_drm_crtc.c    | 215 +++++++++----------------------
 drivers/gpu/drm/exynos/exynos_drm_dpi.c     |   6 +-
 drivers/gpu/drm/exynos/exynos_drm_drv.c     |   2 +
 drivers/gpu/drm/exynos/exynos_drm_drv.h     |   4 +-
 drivers/gpu/drm/exynos/exynos_drm_dsi.c     |   6 +-
 drivers/gpu/drm/exynos/exynos_drm_encoder.c |  35 +----
 drivers/gpu/drm/exynos/exynos_drm_fb.c      |  12 +-
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c   |   3 -
 drivers/gpu/drm/exynos/exynos_drm_plane.c   | 115 +++++++++--------
 drivers/gpu/drm/exynos/exynos_drm_plane.h   |  11 --
 drivers/gpu/drm/exynos/exynos_drm_vidi.c    |   6 +-
 drivers/gpu/drm/exynos/exynos_hdmi.c        |  10 +-
 15 files changed, 178 insertions(+), 265 deletions(-)

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-05-19 18:54 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-15 11:44 drm/exynos: Add atomic modesetting support Tobias Jakobi
2015-05-18 19:51 ` Gustavo Padovan
2015-05-18 20:35   ` Daniel Stone
2015-05-18 21:02     ` Gustavo Padovan
2015-05-19 13:53       ` Tobias Jakobi
2015-05-19 14:06         ` Daniel Stone
2015-05-19 14:52           ` Tobias Jakobi
2015-05-19 17:27           ` Tobias Jakobi
2015-05-19 18:43             ` Gustavo Padovan
2015-05-19 18:54               ` Daniel Stone
  -- strict thread matches above, loose matches on Subject: below --
2015-05-15 10:16 Tobias Jakobi
2015-04-30 21:50 Gustavo Padovan
2015-05-06 21:45 ` Gustavo Padovan
2015-05-07  2:45   ` Inki Dae
2015-05-08 21:45     ` Gustavo Padovan
2015-05-08 21:51 ` Tobias Jakobi
2015-05-09 10:23   ` Inki Dae
2015-05-09 12:13     ` Tobias Jakobi
2015-05-09 12:20       ` Tobias Jakobi
2015-05-09 12:30         ` Tobias Jakobi
2015-05-10 13:54       ` Inki Dae
2015-05-12 18:29         ` Gustavo Padovan
2015-05-14 18:41           ` Gustavo Padovan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.