This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA745: filevpedisplay error

Part Number: DRA745

Tool/software: Linux

Hi,

our project based on 6AO1.0.

we use V4L2_MMAP to access our camera. however, mmap may take more time when camera previewing. so, we change from V4L2_MMAP TO V4L2_DMABUF(needless memcpy).

I found CameraHAL have DMABUF interfaces, CameraHAL run ok maybe is a precondition for using DMABUF.

after trying, CameraHal run failed. something I am not clarity in hardware/ti/dra7xx/camera/V4LCameraAdapter/V4LM2M.cpp

filevpedisplay.c in omapdrmtest demo seems same as V4LM2M.cpp, expediently for discussing, I take filevpedisplay to describe:

filevpedisplay ./airshow_p352x288.yuv 352 288 nv12 1920 1080 nv12 0 0 352 288 0 1 -s 32:1920x1080

vpe:/dev/video1 open success!!!
drmModeGetResources 1 2 1 0
drmModeGetPlaneResources 2
disp_kms_open 32 -1 1920x1080
using 1 connectors, 1920x1080 display, multiplanar: 1
Setting mode 1920x1080 on connector 32, crtc 34
vpe i/p: G_FMT: width = 352, height = 288, 4cc = NV12
vpe o/p: G_FMT: width = 1920, height = 1080, 4cc = NV12
Page flip: frame=9528, sec=0, usec=0, remaining=0
vpe i/p: QBUF failed: Bad address, index = 0

part of kernel log, attachment is full log:

[ 629.675196] vb2: __qbuf_dmabuf: failed to map dmabuf for plane 0
[ 629.675962] vb2: __buf_prepare: buffer preparation failed: -14

I am not figure out what these log hint?

Regards,

Sinkeu

[  629.518614] [drm:drm_stub_open] 
[  629.518634] [drm:drm_open_helper] pid = 3837, minor = 0
[  629.518651] [drm:dev_open] open: dev=edc1c000, file=ea65d540
[  629.518675] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_VERSION
[  629.518693] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_VERSION
[  629.518714] [drm:drm_release] open_count = 6
[  629.518725] [drm:dev_preclose] preclose: dev=edc1c000
[  629.518735] [drm:drm_release] pid = 3837, device = 0xe200, open_count = 6
[  629.518751] [drm:dev_postclose] postclose: dev=edc1c000, file=ea65d540
[  629.518797] [drm:drm_stub_open] 
[  629.518810] [drm:drm_open_helper] pid = 3837, minor = 0
[  629.518820] [drm:dev_open] open: dev=edc1c000, file=ea65dcc0
[  629.518836] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_VERSION
[  629.518850] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_VERSION
[  629.518867] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_GET_UNIQUE
[  629.518879] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_GET_UNIQUE
[  629.518930] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES
[  629.518944] [drm:drm_mode_getresources] CRTC[2] CONNECTORS[1] ENCODERS[1]
[  629.518955] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES
[  629.518966] [drm:drm_mode_getresources] [CRTC:34]
[  629.518973] [drm:drm_mode_getresources] [CRTC:36]
[  629.518981] [drm:drm_mode_getresources] [ENCODER:31:TMDS-31]
[  629.518989] [drm:drm_mode_getresources] [CONNECTOR:32:Unknown-1]
[  629.518996] [drm:drm_mode_getresources] CRTC[2] CONNECTORS[1] ENCODERS[1]
[  629.519057] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPLANERESOURCES
[  629.519072] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPLANERESOURCES
[  629.519172] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[  629.519183] [drm:drm_mode_getconnector] [CONNECTOR:32:?]
[  629.519193] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:32:Unknown-1]
[  629.519203] [drm:omap_connector_get_modes] display0
[  629.519233] [drm:omap_connector_mode_valid] connector: mode valid: 39:"1920x1080" 60 148500 1920 2050 2070 2200 1080 1100 1105 1125 0x48 0x1500000a
[  629.519245] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:32:Unknown-1] probed modes :
[  629.519258] [drm:drm_mode_debug_printmodeline] Modeline 39:"1920x1080" 60 148500 1920 2050 2070 2200 1080 1100 1105 1125 0x48 0x1500000a
[  629.519287] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[  629.519297] [drm:drm_mode_getconnector] [CONNECTOR:32:?]
[  629.519327] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETENCODER
[  629.519401] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.519474] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[  629.519491] [drm:omap_framebuffer_init] create framebuffer: dev=edc1c000, mode_cmd=e3369e54 (1920x1080@AR24)
[  629.519505] [drm:omap_framebuffer_init] create: FB ID: 42 (e68c9100)
[  629.519513] [drm:drm_mode_addfb2] [FB:42]
[  629.519573] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETCRTC
[  629.519603] [drm:drm_mode_setcrtc] [CRTC:34]
[  629.519619] [drm:drm_mode_setcrtc] [CONNECTOR:32:Unknown-1]
[  629.519642] [drm:drm_framebuffer_reference] e68c9100: FB ID: 42 (2)
[  629.532821] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 2200, vtotal 1125, vdisplay 1080
[  629.532833] [drm:drm_calc_timestamping_constants] crtc 34: clock 148500 kHz framedur 16666666 linedur 14814
[  629.532846] [drm:omap_crtc_mode_set_nofb] lcd: set mode: 0:"1920x1080" 60 148500 1920 2050 2070 2200 1080 1100 1105 1125 0x48 0x1500000a
[  629.532854] [drm:omap_crtc_enable] lcd
[  629.532863] [drm:omap_irq_update] irqmask=1694d64e
[  629.533000] omapdss DPI: Could not find exact pixel clock. Requested 148499999 Hz, got 148499997 Hz
[  629.534151] [drm:omap_crtc_dss_set_timings] lcd
[  629.534157] [drm:omap_crtc_dss_set_lcd_config] lcd
[  629.536172] [drm:omap_irq_update] irqmask=1694d64e
[  629.552858] [drm:omap_crtc_vblank_irq] lcd: apply done
[  629.552868] [drm:omap_irq_update] irqmask=1694d64e
[  629.552879] [drm:omap_irq_update] irqmask=1694d64e
[  629.552896] [drm:omap_plane_atomic_update] gfx, crtc=edc1d000 fb=e68c9100
[  629.552905] [drm:omap_plane_atomic_update] 1920x1080 -> 1920x1080 (1920)
[  629.552914] [drm:omap_plane_atomic_update] 0,0 0x7efa7000 0x00000000
[  629.552936] [drm:omap_crtc_atomic_flush] lcd: GO
[  629.552954] [drm:omap_irq_update] irqmask=1694d64e
[  629.569519] [drm:omap_crtc_vblank_irq] lcd: apply done
[  629.569529] [drm:omap_irq_update] irqmask=1694d64e
[  629.569562] [drm:drm_framebuffer_reference] e68c9100: FB ID: 42 (3)
[  629.569571] [drm:drm_framebuffer_unreference] e68c9100: FB ID: 42 (4)
[  629.569597] video1: VIDIOC_S_CTRL: id=0x8000000, value=1
[  629.569630] video1: VIDIOC_S_FMT: type=vid-out-mplane, width=352, height=288, format=NV12, field=none, colorspace=1, num_planes=2, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
[  629.569653] plane 0: bytesperline=352 sizeimage=101376
[  629.569660] plane 1: bytesperline=352 sizeimage=50688
[  629.569672] video1: VIDIOC_G_FMT: type=vid-out-mplane, width=352, height=288, format=NV12, field=none, colorspace=1, num_planes=2, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
[  629.569692] plane 0: bytesperline=352 sizeimage=101376
[  629.569698] plane 1: bytesperline=352 sizeimage=50688
[  629.569752] vb2: __vb2_queue_alloc: allocated 6 buffers, 2 plane(s) each
[  629.570606] video1: VIDIOC_REQBUFS: count=6, type=vid-out-mplane, memory=dmabuf
[  629.570628] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.570670] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.570697] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.570730] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.570759] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.570779] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.570802] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.570830] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.570849] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.570872] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.570897] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.570918] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.570938] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.570965] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.570983] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.571004] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.571030] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.571049] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.571069] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.571095] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.571113] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.571135] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.571160] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.571178] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.571200] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.571225] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.571247] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.571267] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.571294] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.571312] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.571332] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.571360] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.571378] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.571399] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.571423] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.571442] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.571469] video1: VIDIOC_S_FMT: type=vid-cap-mplane, width=1920, height=1080, format=NV12, field=none, colorspace=1, num_planes=2, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
[  629.571490] plane 0: bytesperline=1920 sizeimage=2073600
[  629.571497] plane 1: bytesperline=1920 sizeimage=1036800
[  629.571508] video1: VIDIOC_G_FMT: type=vid-cap-mplane, width=1920, height=1080, format=NV12, field=none, colorspace=1, num_planes=2, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
[  629.571527] plane 0: bytesperline=1920 sizeimage=2073600
[  629.571533] plane 1: bytesperline=1920 sizeimage=1036800
[  629.571571] vb2: __vb2_queue_alloc: allocated 6 buffers, 2 plane(s) each
[  629.572425] video1: VIDIOC_REQBUFS: count=6, type=vid-cap-mplane, memory=dmabuf
[  629.572445] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.572473] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.572499] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.572523] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.572544] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[  629.572558] [drm:omap_framebuffer_init] create framebuffer: dev=edc1c000, mode_cmd=e3369e54 (1920x1080@NV12)
[  629.572569] [drm:drm_fb_get_bpp_depth] unsupported pixel format NV12 little-endian (0x3231564e)
[  629.572578] [drm:omap_framebuffer_init] create: FB ID: 43 (e68c9700)
[  629.572584] [drm:drm_mode_addfb2] [FB:43]
[  629.572595] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.572621] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.572643] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.572668] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.572687] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[  629.572700] [drm:omap_framebuffer_init] create framebuffer: dev=edc1c000, mode_cmd=e3369e54 (1920x1080@NV12)
[  629.572709] [drm:drm_fb_get_bpp_depth] unsupported pixel format NV12 little-endian (0x3231564e)
[  629.572717] [drm:omap_framebuffer_init] create: FB ID: 45 (e68c9f00)
[  629.572723] [drm:drm_mode_addfb2] [FB:45]
[  629.572733] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.572759] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.572778] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.572803] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.572821] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[  629.572832] [drm:omap_framebuffer_init] create framebuffer: dev=edc1c000, mode_cmd=e3369e54 (1920x1080@NV12)
[  629.572841] [drm:drm_fb_get_bpp_depth] unsupported pixel format NV12 little-endian (0x3231564e)
[  629.572849] [drm:omap_framebuffer_init] create: FB ID: 46 (e68c9b00)
[  629.572857] [drm:drm_mode_addfb2] [FB:46]
[  629.572868] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.572893] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.572913] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.572939] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.572957] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[  629.572970] [drm:omap_framebuffer_init] create framebuffer: dev=edc1c000, mode_cmd=e3369e54 (1920x1080@NV12)
[  629.572979] [drm:drm_fb_get_bpp_depth] unsupported pixel format NV12 little-endian (0x3231564e)
[  629.572986] [drm:omap_framebuffer_init] create: FB ID: 47 (e68c9e00)
[  629.572992] [drm:drm_mode_addfb2] [FB:47]
[  629.573003] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.573031] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.573050] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.573076] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.573095] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[  629.573106] [drm:omap_framebuffer_init] create framebuffer: dev=edc1c000, mode_cmd=e3369e54 (1920x1080@NV12)
[  629.573115] [drm:drm_fb_get_bpp_depth] unsupported pixel format NV12 little-endian (0x3231564e)
[  629.573124] [drm:omap_framebuffer_init] create: FB ID: 48 (e68c9400)
[  629.573130] [drm:drm_mode_addfb2] [FB:48]
[  629.573140] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.573165] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.573187] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.573211] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_PRIME_HANDLE_TO_FD
[  629.573229] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[  629.573241] [drm:omap_framebuffer_init] create framebuffer: dev=edc1c000, mode_cmd=e3369e54 (1920x1080@NV12)
[  629.573251] [drm:drm_fb_get_bpp_depth] unsupported pixel format NV12 little-endian (0x3231564e)
[  629.573258] [drm:omap_framebuffer_init] create: FB ID: 49 (e68c9300)
[  629.573264] [drm:drm_mode_addfb2] [FB:49]
[  629.573275] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_NEW
[  629.573303] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[  629.573314] [drm:omap_framebuffer_init] create framebuffer: dev=edc1c000, mode_cmd=e3369e54 (1920x1080@AR24)
[  629.573323] [drm:omap_framebuffer_init] create: FB ID: 50 (e68c9900)
[  629.573329] [drm:drm_mode_addfb2] [FB:50]
[  629.573340] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_CPU_PREP
[  629.573352] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_INFO
[  629.632910] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, OMAP_GEM_CPU_FINI
[  629.632929] [drm:drm_ioctl] pid=3837, dev=0xe200, auth=1, DRM_IOCTL_MODE_PAGE_FLIP
[  629.632952] [drm:drm_property_reference_blob] e757f200: blob ID: 44 (1)
[  629.632963] [drm:drm_framebuffer_reference] e68c9100: FB ID: 42 (3)
[  629.632971] [drm:drm_framebuffer_unreference] e68c9100: FB ID: 42 (4)
[  629.632978] [drm:drm_framebuffer_reference] e68c9900: FB ID: 50 (2)
[  629.633146] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 2200, vtotal 1125, vdisplay 1080
[  629.633155] [drm:drm_calc_timestamping_constants] crtc 34: clock 148500 kHz framedur 16666666 linedur 14814
[  629.633164] [drm:omap_plane_atomic_update] gfx, crtc=edc1d000 fb=e68c9900
[  629.633173] [drm:omap_plane_atomic_update] 1920x1080 -> 1920x1080 (1920)
[  629.633181] [drm:omap_plane_atomic_update] 0,0 0x7e7be000 0x00000000
[  629.633201] [drm:omap_crtc_atomic_flush] lcd: GO
[  629.633210] [drm:omap_irq_update] irqmask=1694d64e
[  629.633228] [drm:drm_framebuffer_unreference] e68c9100: FB ID: 42 (3)
[  629.636185] [drm:omap_crtc_vblank_irq] lcd: apply done
[  629.636196] [drm:omap_irq_update] irqmask=1694d64e
[  629.636330] [drm:drm_property_unreference_blob] e757f200: blob ID: 44 (2)
[  629.636346] [drm:drm_framebuffer_unreference] e68c9100: FB ID: 42 (2)
[  629.636414] vb2: __qbuf_dmabuf: buffer for plane 0 changed
[  629.637140] vb2: __qbuf_dmabuf: buffer for plane 1 changed
[  629.641724] vb2: vb2_core_qbuf: qbuf of buffer 0 succeeded
[  629.642439] vb2: __qbuf_dmabuf: buffer for plane 0 changed
[  629.643141] vb2: __qbuf_dmabuf: buffer for plane 1 changed
[  629.647755] vb2: vb2_core_qbuf: qbuf of buffer 1 succeeded
[  629.648471] vb2: __qbuf_dmabuf: buffer for plane 0 changed
[  629.649172] vb2: __qbuf_dmabuf: buffer for plane 1 changed
[  629.653691] vb2: vb2_core_qbuf: qbuf of buffer 2 succeeded
[  629.654410] vb2: __qbuf_dmabuf: buffer for plane 0 changed
[  629.655109] vb2: __qbuf_dmabuf: buffer for plane 1 changed
[  629.659709] vb2: vb2_core_qbuf: qbuf of buffer 3 succeeded
[  629.660422] vb2: __qbuf_dmabuf: buffer for plane 0 changed
[  629.661121] vb2: __qbuf_dmabuf: buffer for plane 1 changed
[  629.665672] vb2: vb2_core_qbuf: qbuf of buffer 4 succeeded
[  629.666389] vb2: __qbuf_dmabuf: buffer for plane 0 changed
[  629.667177] vb2: __qbuf_dmabuf: buffer for plane 1 changed
[  629.671732] vb2: vb2_core_qbuf: qbuf of buffer 5 succeeded
[  629.673113] vb2: __qbuf_dmabuf: buffer for plane 0 changed
[  629.673815] vb2: __qbuf_dmabuf: buffer for plane 1 changed
[  629.674518] contiguous chunk is too small 49152/101376 b
[  629.675196] vb2: __qbuf_dmabuf: failed to map dmabuf for plane 0
[  629.675962] vb2: __buf_prepare: buffer preparation failed: -14
[  629.677531] [drm:drm_release] open_count = 6
[  629.677541] [drm:dev_preclose] preclose: dev=edc1c000
[  629.677549] [drm:drm_release] pid = 3837, device = 0xe200, open_count = 6
[  629.677558] [drm:drm_framebuffer_unreference] e68c9300: FB ID: 49 (1)
[  629.677570] [drm:omap_framebuffer_destroy] destroy: FB ID: 0 (e68c9300)
[  629.677577] [drm:drm_framebuffer_unreference] e68c9400: FB ID: 48 (1)
[  629.677585] [drm:omap_framebuffer_destroy] destroy: FB ID: 0 (e68c9400)
[  629.677593] [drm:drm_framebuffer_unreference] e68c9e00: FB ID: 47 (1)
[  629.677605] [drm:omap_framebuffer_destroy] destroy: FB ID: 0 (e68c9e00)
[  629.677618] [drm:drm_framebuffer_unreference] e68c9b00: FB ID: 46 (1)
[  629.677630] [drm:omap_framebuffer_destroy] destroy: FB ID: 0 (e68c9b00)
[  629.677644] [drm:drm_framebuffer_unreference] e68c9f00: FB ID: 45 (1)
[  629.677651] [drm:omap_framebuffer_destroy] destroy: FB ID: 0 (e68c9f00)
[  629.677658] [drm:drm_framebuffer_unreference] e68c9700: FB ID: 43 (1)
[  629.677665] [drm:omap_framebuffer_destroy] destroy: FB ID: 0 (e68c9700)
[  629.677674] [drm:drm_framebuffer_unreference] e68c9100: FB ID: 42 (1)
[  629.677681] [drm:omap_framebuffer_destroy] destroy: FB ID: 0 (e68c9100)
[  629.677716] [drm:drm_property_reference_blob] e757f200: blob ID: 44 (1)
[  629.677726] [drm:drm_framebuffer_reference] e68c9900: FB ID: 50 (3)
[  629.677734] [drm:drm_property_unreference_blob] e757f200: blob ID: 44 (2)
[  629.677741] [drm:drm_framebuffer_unreference] e68c9900: FB ID: 50 (4)
[  629.677765] [drm:omap_irq_update] irqmask=1694d64f
[  629.686208] [drm:omap_irq_update] irqmask=1694d64e
[  629.686256] [drm:omap_crtc_disable] lcd
[  629.686462] [drm:drm_property_unreference_blob] e757f200: blob ID: 44 (1)
[  629.686473] [drm:drm_framebuffer_unreference] e68c9900: FB ID: 50 (3)
[  629.686484] [drm:drm_framebuffer_unreference] e68c9900: FB ID: 50 (2)
[  629.686494] [drm:drm_framebuffer_unreference] e68c9900: FB ID: 50 (1)
[  629.686502] [drm:omap_framebuffer_destroy] destroy: FB ID: 0 (e68c9900)
[  629.689434] [drm:dev_postclose] postclose: dev=edc1c000, file=ea65dcc0

  • filevpedisplay runs ok now, i remove "return -EFAULT" at function vb2_dc_map_dmabuf in file videobuf2-dma-contig.c.
  • Hi,

    /* checking if dmabuf is big enough to store contiguous chunk */
    contig_size = vb2_dc_get_contiguous_size(sgt);
    if (contig_size < buf->size) {
    pr_err("contiguous chunk is too small %lu/%lu b\n",
    contig_size, buf->size);
    dma_buf_unmap_attachment(buf->db_attach, sgt, buf->dma_dir);
    //return -EFAULT;
    }

    it's no use whether i remove 'return -EFAULT' or not if contig_size is really smaller than buf->size.
    the fact is, after i remove 'return -EFAULT', demo runs ok. that is to say, contig_size is larger than or equal to buf->size in fact?
    Q:
    1. is there a bug on function vb2_dc_get_contiguous_size?
    2. if camerahal(use dmabuf) will save time than mmap?

    Thanks.
  • Hi,

    it's unstable when running filevpedisplay.

    kernel crash and system reboot. I am not sure if crash releated with irrelevant memory use.

    crash log:

    [2018/05/29 10:10:51]vpe:/dev/video1 open success!!!
    [2018/05/29 10:10:51]drmModeGetResources 1 2 1 0
    [2018/05/29 10:10:51]drmModeGetPlaneResources 2
    [2018/05/29 10:10:51]disp_kms_open 32 -1 1920x1080
    [2018/05/29 10:10:51]using 1 connectors, 1920x1080 display, multiplanar: 1
    [2018/05/29 10:10:51]Setting mode 1920x1080 on connector 32, crtc 34
    [2018/05/29 10:10:51][  239.772513] omapdss DPI: Could not find exact pixel clock. Requested 148499999 Hz, got 148499997 Hz
    [2018/05/29 10:10:51]vpe i/p: G_FMT: width = 352, height = 288, 4cc = NV12[  239.809343] vb2: __vb2_queue_alloc: allocated 6 buffers, 2 plane(s) each
    [2018/05/29 10:10:51]
    [2018/05/29 10:10:51]vpe o/p: G_FMT: width = 1920, height = 1080, 4cc = NV12[  239.811439] vb2: __vb2_queue_alloc: allocated 6 buffers, 2 plane(s) each
    [2018/05/29 10:10:51]
    [2018/05/29 10:10:51]Page flip: frame=11666, sec=0, usec=0, remaining=0[  239.875999] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51]
    [2018/05/29 10:10:51][  239.877240] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.882001] vb2: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [2018/05/29 10:10:51][  239.882765] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.883465] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.888184] vb2: vb2_core_qbuf: qbuf of buffer 1 succeeded
    [2018/05/29 10:10:51][  239.888945] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.889646] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.894402] vb2: vb2_core_qbuf: qbuf of buffer 2 succeeded
    [2018/05/29 10:10:51][  239.895168] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.895871] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.900577] vb2: vb2_core_qbuf: qbuf of buffer 3 succeeded
    [2018/05/29 10:10:51][  239.901341] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.902068] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.906754] vb2: vb2_core_qbuf: qbuf of buffer 4 succeeded
    [2018/05/29 10:10:51][  239.907520] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.908220] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.912976] vb2: vb2_core_qbuf: qbuf of buffer 5 succeeded
    [2018/05/29 10:10:51][  239.917520] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.918280] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.918994] vb2: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [2018/05/29 10:10:51][  239.920573] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.921317] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.922067] contiguous chunk is too small 12288/101376 b
    [2018/05/29 10:10:51][  239.922790] contiguous chunk is too small 4096/50688 b
    [2018/05/29 10:10:51][  239.923450] vb2: vb2_core_qbuf: qbuf of buffer 1 succeeded
    [2018/05/29 10:10:51][  239.925005] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.925750] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.926457] contiguous chunk is too small 8192/50688 b
    [2018/05/29 10:10:51][  239.927152] vb2: vb2_core_qbuf: qbuf of buffer 2 succeeded
    [2018/05/29 10:10:51][  239.928711] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.929466] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.930175] contiguous chunk is too small 73728/101376 b
    [2018/05/29 10:10:51][  239.930887] vb2: vb2_core_qbuf: qbuf of buffer 3 succeeded
    [2018/05/29 10:10:51][  239.932523] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.933267] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.933972] contiguous chunk is too small 40960/101376 b
    [2018/05/29 10:10:51][  239.934690] vb2: vb2_core_qbuf: qbuf of buffer 4 succeeded
    [2018/05/29 10:10:51][  239.936248] vb2: __qbuf_dmabuf: buffer for plane 0 changed
    [2018/05/29 10:10:51][  239.936993] vb2: __qbuf_dmabuf: buffer for plane 1 changed
    [2018/05/29 10:10:51][  239.937697] contiguous chunk is too small 8192/101376 b
    [2018/05/29 10:10:51][  239.938406] vb2: vb2_core_qbuf: qbuf of buffer 5 succeeded
    [2018/05/29 10:10:51][  239.939133] vb2: vb2_core_streamon: successful
    [2018/05/29 10:10:51][  239.939773] vb2: vb2_core_streamon: successful
    [2018/05/29 10:10:51][  239.940394] vb2: __vb2_wait_for_done_vb: will sleep waiting for buffers
    [2018/05/29 10:10:51][  239.948233] vb2: vb2_core_dqbuf: returning done buffer
    [2018/05/29 10:10:51][  239.948932] vb2: vb2_core_dqbuf: dqbuf of buffer 0, with state 0
    [2018/05/29 10:10:51][  239.951647] vb2: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [2018/05/29 10:10:51][  239.952444] vb2: vb2_core_dqbuf: returning done buffer
    [2018/05/29 10:10:51][  239.953269] vb2: vb2_core_dqbuf: dqbuf of buffer 0, with state 0
    [2018/05/29 10:10:51][  239.959180] vb2: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [2018/05/29 10:10:51]frames completed 1
    [2018/05/29 10:10:51]
    [2018/05/29 10:10:51][  239.959981] vb2: vb2_core_dqbuf: returning done buffer
    [2018/05/29 10:10:51][  239.960849] BUG: Bad page state in process filevpedisplay  pfn:abcee
    [2018/05/29 10:10:51][  239.961715] page:ebddf178 count:0 mapcount:0 mapping:  (null) index:0x0
    [2018/05/29 10:10:51][  239.962557] flags: 0x400(reserved)
    [2018/05/29 10:10:51][  239.963040] page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
    [2018/05/29 10:10:51][  239.963859] bad because of flags:
    [2018/05/29 10:10:51][  239.964319] flags: 0x400(reserved)
    [2018/05/29 10:10:51][  239.964768] Modules linked in: cmemk pvrsrvkm(O) atmel_mxt_ts cyttsp6 pwm_bl panel_dpi ti_fpd3_serdes usb_storage bcmdhd
    [2018/05/29 10:10:51][  239.966251] CPU: 1 PID: 2829 Comm: filevpedisplay Tainted: G           O    4.4.91-00040-gdfcb965-dirty #3
    [2018/05/29 10:10:51][  239.967474] Hardware name: Generic DRA74X (Flattened Device Tree)
    [2018/05/29 10:10:51][  239.968251] Backtrace: 
    [2018/05/29 10:10:51][  239.968582] [<c020c828>] (dump_backtrace) from [<c020ca24>] (show_stack+0x18/0x1c)
    [2018/05/29 10:10:51][  239.969542]  r6:600f0013 r5:c1241b08 r4:00000000 r3:dc8ba65b
    [2018/05/29 10:10:51][  239.970297] [<c020ca0c>] (show_stack) from [<c0b47048>] (dump_stack+0x94/0xa8)
    [2018/05/29 10:10:51][  239.971221] [<c0b46fb4>] (dump_stack) from [<c0327184>] (bad_page+0xe4/0x134)
    [2018/05/29 10:10:51][  239.972130]  r6:ebddf178 r5:c1202100 r4:c12dac0c r3:dc8ba65b
    [2018/05/29 10:10:51][  239.972879] [<c03270a0>] (bad_page) from [<c032752c>] (free_pages_prepare+0x358/0x384)
    [2018/05/29 10:10:51][  239.973883]  r8:eb7b6000 r7:00000001 r6:00000001 r5:00000000 r4:00000400 r3:ebddf178
    [2018/05/29 10:10:51][  239.974904] [<c03271d4>] (free_pages_prepare) from [<c0329d3c>] (free_hot_cold_page+0x3c/0x1b4)
    [2018/05/29 10:10:51][  239.976007]  r10:e6153ae0 r9:00000400 r8:eb7b6000 r7:c120bad0 r6:00080000 r5:00000000
    [2018/05/29 10:10:51][  239.977038]  r4:ebddf178
    [2018/05/29 10:10:51][  239.977377] [<c0329d00>] (free_hot_cold_page) from [<c032a2ac>] (free_pages+0x70/0x74)
    [2018/05/29 10:10:51][  239.978381]  r9:c12f2a78 r8:c120394c r7:20010013 r6:00000000 r5:fffffffc r4:eacee900
    [2018/05/29 10:10:51][  239.979405] [<c032a23c>] (free_pages) from [<c0567aa8>] (sg_free_table+0x54/0x80)
    [2018/05/29 10:10:51][  239.980364] [<c0567a54>] (sg_free_table) from [<c065ad24>] (omap_gem_unmap_dma_buf+0x24/0x30)
    [2018/05/29 10:10:51][  239.981443]  r6:e6153d4c r5:eacee900 r4:eacee900 r3:eac28300
    [2018/05/29 10:10:51][  239.982194] [<c065ad00>] (omap_gem_unmap_dma_buf) from [<c06a7d84>] (dma_buf_unmap_attachment+0x30/0x48)
    [2018/05/29 10:10:51][  239.983392]  r4:eaceea00 r3:c065ad00
    [2018/05/29 10:10:51][  239.983868] [<c06a7d54>] (dma_buf_unmap_attachment) from [<c07e063c>] (vb2_dc_unmap_dmabuf+0x54/0xa4)
    [2018/05/29 10:10:51][  239.985040] [<c07e05e8>] (vb2_dc_unmap_dmabuf) from [<c07dc538>] (vb2_core_dqbuf+0x550/0x770)
    [2018/05/29 10:10:51][  239.986118]  r5:e4f51900 r4:e4f51800
    [2018/05/29 10:10:51][  239.986591] [<c07dbfe8>] (vb2_core_dqbuf) from [<c07de070>] (vb2_internal_dqbuf+0x44/0x90)
    [2018/05/29 10:10:51][  239.987643]  r10:00000003 r9:c125feac r8:00000011 r7:c0c6950c r6:e4f50200 r5:e6277e1c
    [2018/05/29 10:10:51][  239.988667]  r4:e6153ae0
    [2018/05/29 10:10:51][  239.989003] [<c07de02c>] (vb2_internal_dqbuf) from [<c07de0f4>] (vb2_dqbuf+0x38/0x58)
    [2018/05/29 10:10:51][  239.989996]  r5:eac28540 r4:e6277e1c
    [2018/05/29 10:10:51][  239.990471] [<c07de0bc>] (vb2_dqbuf) from [<c07d9668>] (v4l2_m2m_ioctl_dqbuf+0x64/0x70)
    [2018/05/29 10:10:51][  239.991489] [<c07d9604>] (v4l2_m2m_ioctl_dqbuf) from [<c07c9e44>] (v4l_dqbuf+0x44/0x48)
    [2018/05/29 10:10:51][  239.992507] [<c07c9e00>] (v4l_dqbuf) from [<c07c9548>] (__video_do_ioctl+0x2bc/0x334)
    [2018/05/29 10:10:51][  239.993499]  r7:c120394c r6:ee2d4c68 r5:c0445611 r4:00000003
    [2018/05/29 10:10:51][  239.994249] [<c07c928c>] (__video_do_ioctl) from [<c07c9020>] (video_usercopy+0x498/0x6e8)
    [2018/05/29 10:10:51][  239.995295]  r10:c07c928c
    [2018/05/29 10:10:51][  239.995617]  r9:00000078 r8:bea7e8cc r7:e5e93080 r6:e6277e1c r5:c120394c
    [2018/05/29 10:10:51][  239.996519]  r4:c0445611
    [2018/05/29 10:10:51][  239.996853] [<c07c8b88>] (video_usercopy) from [<c07c9288>] (video_ioctl2+0x18/0x1c)
    [2018/05/29 10:10:51][  239.997835]  r10:00000000 r9:00000003 r8:ee2d4f04 r7:c0445611 r6:bea7e8cc r5:eac28540
    [2018/05/29 10:10:51][  239.998861]  r4:ee2d4c68
    [2018/05/29 10:10:51][  239.999198] [<c07c9270>] (video_ioctl2) from [<c07c3eb0>] (v4l2_ioctl+0xcc/0xe0)
    [2018/05/29 10:10:51][  240.000142] [<c07c3de4>] (v4l2_ioctl) from [<c03970dc>] (do_vfs_ioctl+0x42c/0x630)
    [2018/05/29 10:10:51][  240.001102]  r8:00000003 r7:eac28540 r6:ed6fcca8 r5:0000fdfd r4:c120394c r3:c07c3de4
    [2018/05/29 10:10:51][  240.002118] [<c0396cb0>] (do_vfs_ioctl) from [<c0397354>] (SyS_ioctl+0x74/0x84)
    [2018/05/29 10:10:51][  240.003044]  r9:00000003 r8:c0445611 r7:bea7e8cc r6:eac28540 r5:eac28540 r4:00000000
    [2018/05/29 10:10:51][  240.004059] [<c03972e0>] (SyS_ioctl) from [<c0207fe0>] (ret_fast_syscall+0x0/0x34)
    [2018/05/29 10:10:51][  240.005018]  r9:e6276000 r8:c0208184 r7:00000036 r6:bea7e910 r5:b4ea2000 r4:bea7e8cc
    [2018/05/29 10:10:51][  240.006087] Disabling lock debugging due to kernel taint
    [2018/05/29 10:10:51][  240.006771] Unable to handle kernel NULL pointer dereference at virtual address 00000fec
    [2018/05/29 10:10:51][  240.007829] pgd = e3f26cc0
    [2018/05/29 10:10:51][  240.008179] [00000fec] *pgd=a9d12003, *pmd=00000000
    [2018/05/29 10:10:51][  240.008819] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
    [2018/05/29 10:10:51][  240.009518] Modules linked in: cmemk pvrsrvkm(O) atmel_mxt_ts cyttsp6 pwm_bl panel_dpi ti_fpd3_serdes usb_storage bcmdhd
    [2018/05/29 10:10:51][  240.010958] CPU: 1 PID: 2829 Comm: filevpedisplay Tainted: G    B      O    4.4.91-00040-gdfcb965-dirty #3
    [2018/05/29 10:10:51][  240.012179] Hardware name: Generic DRA74X (Flattened Device Tree)
    [2018/05/29 10:10:51][  240.012954] task: e3066200 task.stack: e6276000
    [2018/05/29 10:10:51][  240.013534] PC is at sg_free_table+0x3c/0x80
    [2018/05/29 10:10:51][  240.014084] LR is at add_taint+0x28/0x6c
    [2018/05/29 10:10:51][  240.014586] pc : [<c0567a90>]    lr : [<c0230b88>]    psr: a00f0013
    [2018/05/29 10:10:51][  240.014586] sp : e6277c80  ip : 00000000  fp : e6277c9c
    [2018/05/29 10:10:51][  240.016039] r10: e6153ae0  r9 : c12f2a78  r8 : c120394c
    [2018/05/29 10:10:51][  240.016705] r7 : 20010013  r6 : 00000000  r5 : fffffffc  r4 : eacee900
    [2018/05/29 10:10:51][  240.017532] r3 : ebd682f1  r2 : fffffffc  r1 : ebd681f2  r0 : fffffffc
    [2018/05/29 10:10:51][  240.018364] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [2018/05/29 10:10:51][  240.019271] Control: 30c5387d  Table: a3f26cc0  DAC: 55555555
    [2018/05/29 10:10:51][  240.020002] 
    [2018/05/29 10:10:51][  240.020002] PC: 0xc0567a10:
    [2018/05/29 10:10:51][  240.020546] 7a10  e24dd008 e59bc004 e3a0e000 e88d5000 ebffffa9 e24bd00c e89da800 e1a0c00d
    [2018/05/29 10:10:51][  240.021636] 7a30  e92dd800 e24cb004 e24dd008 e59bc004 e3a0e001 e88d5000 ebffff9f e24bd00c
    [2018/05/29 10:10:51][  240.022740] 7a50  e89da800 e1a0c00d e92dd878 e24cb004 e5902000 e1a04000 e3520000 089da878
    [2018/05/29 10:10:51][  240.023833] 7a70  e3a06000 e5943008 e1a00002 e3530000 e24310ff 0a00000e e3530c01 9a000007
    [2018/05/29 10:10:51][  240.024921] 7a90  e5923ff0 e5841008 e3c35003 e1a00002 e3a01000 ebf709e4 e1a02005 eafffff0
    [2018/05/29 10:10:51][  240.026017] 7ab0  e5846008 0a000004 ebf829c8 e3a02000 eaffffeb e5843000 e89da878 e3a05000
    [2018/05/29 10:10:51][  240.027124] 7ad0  eafffff1 e1a0c00d e92dd878 e24cb004 e1a06001 e3a01010 e1a05000 e1a04002
    [2018/05/29 10:10:51][  240.028211] 7af0  ebffb2da e2863101 e5951000 e30f2740 e1a03623 e34c212d e3c11001 e7eb6056
    [2018/05/29 10:10:51][  240.029301] 
    [2018/05/29 10:10:51][  240.029301] LR: 0xc0230b08:
    [2018/05/29 10:10:51][  240.029848] 0b08  e5930398 15832398 e89da800 e1a0c00d e92dd800 e24cb004 e3a00000 e89da800
    [2018/05/29 10:10:51][  240.030958] 0b28  e1a0c00d e92dd800 e24cb004 e3500000 e280301f e30f2ea8 a1a03000 e34c2129
    [2018/05/29 10:10:51][  240.032043] 0b48  e1a032c3 e200001f e7923103 e1a00033 e2000001 e89da800 e1a0c00d e92dd818
    [2018/05/29 10:10:51][  240.033131] 0b68  e24cb004 e3510001 e1a04000 0a000004 e30f1ea8 e1a00004 e34c1129 eb0c8f01
    [2018/05/29 10:10:51][  240.034222] 0b88  e89da818 f57ff05b e3013b7c e34c3124 f593f000 e3a02000 e1931f9f e1830f92
    [2018/05/29 10:10:51][  240.035320] 0ba8  e3300000 1afffffb f57ff05b e1510002 0affffee e30d013c e34c00e0 eb2454eb
    [2018/05/29 10:10:51][  240.036412] 0bc8  eaffffea e1a0c00d e92dd9f8 e24cb004 e30f6ea8 e34c6129 e286000c eb2475f8
    [2018/05/29 10:10:51][  240.037499] 0be8  e5963010 e3530000 03a03001 05863010 e1a07000 0a00001b e5963014 e3530000
    [2018/05/29 10:10:51][  240.038589] 
    [2018/05/29 10:10:51][  240.038589] SP: 0xe6277c00:
    [2018/05/29 10:10:51][  240.039135] 7c00  c032752c dc8ba65b c0567a90 a00f0013 ffffffff e6277c64 c120394c c12f2a78
    [2018/05/29 10:10:51][  240.040241] 7c20  e6277c9c e6277c30 c020d598 c0201278 fffffffc ebd681f2 fffffffc ebd682f1
    [2018/05/29 10:10:51][  240.041330] 7c40  eacee900 fffffffc 00000000 20010013 c120394c c12f2a78 e6153ae0 e6277c9c
    [2018/05/29 10:10:51][  240.042416] 7c60  00000000 e6277c80 c0230b88 c0567a90 a00f0013 ffffffff c0567aa8 c032a248
    [2018/05/29 10:10:51][  240.043507] 7c80  eac28300 eacee900 eacee900 e6153d4c e6277cb4 e6277ca0 c065ad24 c0567a60
    [2018/05/29 10:10:51][  240.044609] 7ca0  c065ad00 eaceea00 e6277cc4 e6277cb8 c06a7d84 c065ad0c e6277cdc e6277cc8
    [2018/05/29 10:10:51][  240.045700] 7cc0  c07e063c c06a7d60 e4f51800 e4f51900 e6277d34 e6277ce0 c07dc538 c07e05f4
    [2018/05/29 10:10:51][  240.046788] 7ce0  c0b46004 c0298a34 e6277e1c 00000000 e6277d2c 60010093 ee801cc0 02088020
    [2018/05/29 10:10:51][  240.047878] 
    [2018/05/29 10:10:51][  240.047878] FP: 0xe6277c1c:
    [2018/05/29 10:10:51][  240.048424] 7c1c  c12f2a78 e6277c9c e6277c30 c020d598 c0201278 fffffffc ebd681f2 fffffffc
    [2018/05/29 10:10:51][  240.049533] 7c3c  ebd682f1 eacee900 fffffffc 00000000 20010013 c120394c c12f2a78 e6153ae0
    [2018/05/29 10:10:51][  240.050621] 7c5c  e6277c9c 00000000 e6277c80 c0230b88 c0567a90 a00f0013 ffffffff c0567aa8
    [2018/05/29 10:10:51][  240.051709] 7c7c  c032a248 eac28300 eacee900 eacee900 e6153d4c e6277cb4 e6277ca0 c065ad24
    [2018/05/29 10:10:51][  240.052812] 7c9c  c0567a60 c065ad00 eaceea00 e6277cc4 e6277cb8 c06a7d84 c065ad0c e6277cdc
    [2018/05/29 10:10:51][  240.053908] 7cbc  e6277cc8 c07e063c c06a7d60 e4f51800 e4f51900 e6277d34 e6277ce0 c07dc538
    [2018/05/29 10:10:51][  240.054997] 7cdc  c07e05f4 c0b46004 c0298a34 e6277e1c 00000000 e6277d2c 60010093 ee801cc0
    [2018/05/29 10:10:51][  240.056086] 7cfc  02088020 00000084 dc8ba65b ee801cc0 e6153ae0 e6277e1c e4f50200 c0c6950c
    [2018/05/29 10:10:51][  240.057189] 
    [2018/05/29 10:10:51][  240.057189] R1: 0xebd68172:
    [2018/05/29 10:10:51][  240.057734] 8170  0000000a ffffffff 00000002 ebd68158 ebd681a0 00000000 ee827000 00040028
    [2018/05/29 10:10:51][  240.058825] 8190  e5d51ba4 0000000b ffffffff 00000002 ebd6817c ebd681c4 00000000 ee827000
    [2018/05/29 10:10:51][  240.059911] 81b0  00040028 e5d51ba4 0000000c ffffffff 00000002 ebd681a0 ebd681e8 00000000
    [2018/05/29 10:10:51][  240.060997] 81d0  ee827000 00040028 e5d51ba4 0000000d ffffffff 00000002 ebd681c4 ebd6820c
    [2018/05/29 10:10:51][  240.062097] 81f0  00000000 ee827000 00040028 e5d51ba4 0000000e ffffffff 00000002 ebd681e8
    [2018/05/29 10:10:51][  240.063195] 8210  ebd68230 00000000 ee827000 00040028 e5d51ba4 0000000f ffffffff 00000002
    [2018/05/29 10:10:51][  240.064282] 8230  ebd6820c ebd68254 00000000 ee827000 00040028 e5d51ba4 00000010 ffffffff
    [2018/05/29 10:10:51][  240.065372] 8250  00000002 ebd68230 ebd68278 00000000 ee827000 00040028 e5d51ba4 00000011
    [2018/05/29 10:10:51][  240.066477] 8270  ffffffff 00000002 ebd68254 ebd6829c 00000000 ee827000 00040028 e5d51ba4
    [2018/05/29 10:10:51][  240.067572] 
    [2018/05/29 10:10:51][  240.067572] R3: 0xebd68271:
    [2018/05/29 10:10:51][  240.068116] 8270  ffffffff 00000002 ebd68254 ebd6829c 00000000 ee827000 00040028 e5d51ba4
    [2018/05/29 10:10:51][  240.069205] 8290  00000012 ffffffff 00000002 ebd68278 ebd682c0 00000000 ee827000 00040028
    [2018/05/29 10:10:51][  240.070301] 82b0  e5d51ba4 00000013 ffffffff 00000002 ebd6829c ebd682e4 00000000 ee827000
    [2018/05/29 10:10:51][  240.071404] 82d0  00040028 e5d51ba4 00000014 ffffffff 00000002 ebd682c0 ebd68308 00000000
    [2018/05/29 10:10:51][  240.072495] 82f0  ee827000 00040028 e5d51ba4 00000015 ffffffff 00000002 ebd682e4 ebd6832c
    [2018/05/29 10:10:51][  240.073583] 8310  00000000 ee827000 00040028 e5d51ba4 00000016 ffffffff 00000002 ebd68308
    [2018/05/29 10:10:51][  240.074691] 8330  ebd68350 00000000 ee827000 00040028 e5d51ba4 00000017 ffffffff 00000002
    [2018/05/29 10:10:51][  240.075781] 8350  ebd6832c ebd68374 00000000 ee827000 00040028 e5d51ba4 00000018 ffffffff
    [2018/05/29 10:10:51][  240.076871] 8370  00000002 ebd68350 ebcee19c 00000000 ee827000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.077968] 
    [2018/05/29 10:10:51][  240.077968] R4: 0xeacee880:
    [2018/05/29 10:10:51][  240.078513] e880  eea9a210 00000000 00018c00 a8800000 00000001 eacee780 00000000 00000000
    [2018/05/29 10:10:51][  240.079612] e8a0  00000000 00000000 00000000 00000000 eacee840 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.080699] e8c0  a51d2000 a51d3000 a881c000 a881d000 a881e000 a881f000 a8820000 a8821000
    [2018/05/29 10:10:51][  240.081788] e8e0  a8822000 a8823000 a8824000 a8825000 a8826000 000f73e5 000f73f8 000f740b
    [2018/05/29 10:10:51][  240.082894] e900  ebcee188 ebcee1ac ebd682f1 ebd68414 ebd68438 ebd6845c ebd68480 ebd684a4
    [2018/05/29 10:10:51][  240.083989] e920  ebd684c8 ebd684ec ebd68510 ebd68534 ebd68558 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.085076] e940  e4f60cc0 eea9a210 e4f60cc8 e4f60cc8 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.086163] e960  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.087261] 
    [2018/05/29 10:10:51][  240.087261] R8: 0xc12038cc:
    [2018/05/29 10:10:51][  240.087806] 38cc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.088901] 38ec  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.089987] 390c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.091073] 392c  00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000001
    [2018/05/29 10:10:51][  240.092171] 394c  dc8ba65b 003fb0d6 00000000 00000009 c0219940 c0219960 c021a370 c021a374
    [2018/05/29 10:10:51][  240.093271] 396c  c0200044 c021a3a0 c021a3ac c021a320 c021a338 00000024 c021a3f0 c021a420
    [2018/05/29 10:10:51][  240.094358] 398c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.095445] 39ac  00000000 c021a2a4 c021a2dc 90f00000 c0219cb4 c0219c70 00000022 ffffffff
    [2018/05/29 10:10:51][  240.096543] 
    [2018/05/29 10:10:51][  240.096543] R9: 0xc12f29f8:
    [2018/05/29 10:10:51][  240.097088] 29f8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.098187] 2a18  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.099276] 2a38  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.100365] 2a58  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
    [2018/05/29 10:10:51][  240.101467] 2a78  00000003 00000000 00000003 00000000 00000000 00000003 00000000 00000000
    [2018/05/29 10:10:51][  240.102560] 2a98  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.103649] 2ab8  eeb70e40 0fc00000 00000000 e66e94f0 00000001 00000000 000c000c 00000006
    [2018/05/29 10:10:51][  240.104737] 2ad8  e66e8c90 00000000 0fb00000 eeb70e80 eeb70ec0 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.105835] 
    [2018/05/29 10:10:51][  240.105835] R10: 0xe6153a60:
    [2018/05/29 10:10:51][  240.106390] 3a60  e4f51cf8 00000006 00000000 e4f50700 e4f51d00 00080008 00080008 e6153a7c
    [2018/05/29 10:10:51][  240.107481] 3a80  e6153a7c ee2b7bc0 ee2b7bc0 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.108570] 3aa0  00000000 001fa400 000fd200 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.109666] 3ac0  00000000 00000013 00000000 00000000 e6153ad0 e6153ad0 00150015 00000000
    [2018/05/29 10:10:51][  240.110769] 3ae0  0000000a 00000011 00000000 ee2d4f04 e4f50200 c1261be4 c0c69224 c0c690d0
    [2018/05/29 10:10:51][  240.111856] 3b00  e4f50200 00000134 00004000 00000000 00000000 00000001 00000000 e6153b1c
    [2018/05/29 10:10:51][  240.112944] 3b20  e6153b1c 00000000 00000000 00000004 e4f51a00 e4f51800 e4f51400 e4f50400
    [2018/05/29 10:10:51][  240.114041] 3b40  e4f50e00 e4f51600 00000000 00000000 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.115138] Process filevpedisplay (pid: 2829, stack limit = 0xe6276210)
    [2018/05/29 10:10:51][  240.115989] Stack: (0xe6277c80 to 0xe6278000)
    [2018/05/29 10:10:51][  240.116548] 7c80: eac28300 eacee900 eacee900 e6153d4c e6277cb4 e6277ca0 c065ad24 c0567a60
    [2018/05/29 10:10:51][  240.117586] 7ca0: c065ad00 eaceea00 e6277cc4 e6277cb8 c06a7d84 c065ad0c e6277cdc e6277cc8
    [2018/05/29 10:10:51][  240.118625] 7cc0: c07e063c c06a7d60 e4f51800 e4f51900 e6277d34 e6277ce0 c07dc538 c07e05f4
    [2018/05/29 10:10:51][  240.119664] 7ce0: c0b46004 c0298a34 e6277e1c 00000000 e6277d2c 60010093 ee801cc0 02088020
    [2018/05/29 10:10:51][  240.120701] 7d00: 00000084 dc8ba65b ee801cc0 e6153ae0 e6277e1c e4f50200 c0c6950c 00000011
    [2018/05/29 10:10:51][  240.121739] 7d20: c125feac 00000003 e6277d4c e6277d38 c07de070 c07dbff4 e6277e1c eac28540
    [2018/05/29 10:10:51][  240.122777] 7d40: e6277d5c e6277d50 c07de0f4 c07de038 e6277d6c e6277d60 c07d9668 c07de0c8
    [2018/05/29 10:10:51][  240.123817] 7d60: e6277d8c e6277d70 c07c9e44 c07d9610 00000003 c0445611 ee2d4c68 c120394c
    [2018/05/29 10:10:51][  240.124855] 7d80: e6277dfc e6277d90 c07c9548 c07c9e0c 00000080 00000078 00000080 00000080
    [2018/05/29 10:10:51][  240.125893] 7da0: 00000044 00000000 c126005c eac28540 e6277e1c e4f50200 e5e930f8 0015532b
    [2018/05/29 10:10:51][  240.126931] 7dc0: e6277dfc e6277dd0 c0380f68 dc8ba65b e6277e74 c0445611 c120394c e6277e1c
    [2018/05/29 10:10:51][  240.127970] 7de0: e5e93080 bea7e8cc 00000078 c07c928c e6277ecc e6277e00 c07c9020 c07c9298
    [2018/05/29 10:10:51][  240.129008] 7e00: c0e47a46 00000000 e6277e50 bea7e910 00000003 eac28540 c12eba10 00000001
    [2018/05/29 10:10:51][  240.130046] 7e20: 0000000a 00000000 00004004 00000001 00000000 00000000 00000000 00000000
    [2018/05/29 10:10:51][  240.131084] 7e40: 00000000 00000000 00000000 00000004 e5e93080 00000002 00000000 00000000
    [2018/05/29 10:10:51][  240.132122] 7e60: 0000126f c12eba10 e6277e94 e6277e78 e6277e94 e6277e80 c02861ec c0b4e6e4
    [2018/05/29 10:10:51][  240.133161] 7e80: ecdf7200 00000000 e6277ef4 e6277e98 c05d5818 c028ec0c 00000000 dc8ba65b
    [2018/05/29 10:10:51][  240.134198] 7ea0: 20010013 ee2d4c68 eac28540 bea7e8cc c0445611 ee2d4f04 00000003 00000000
    [2018/05/29 10:10:51][  240.135237] 7ec0: e6277edc e6277ed0 c07c9288 c07c8b94 e6277f04 e6277ee0 c07c3eb0 c07c927c
    [2018/05/29 10:10:51][  240.136275] 7ee0: c07c3de4 c120394c 0000fdfd ed6fcca8 eac28540 00000003 e6277f7c e6277f08
    [2018/05/29 10:10:51][  240.137314] 7f00: c03970dc c07c3df0 e6277f1c dc8ba65b ee353c10 ee6f0000 00005611 0000000b
    [2018/05/29 10:10:51][  240.138352] 7f20: e6277f10 00000002 ecd1be48 dc8ba65b c123d20c c123aca4 bea7e8cc c0445611
    [2018/05/29 10:10:51][  240.139390] 7f40: eac28540 00000003 e6277f7c e6277f58 c04e66e4 dc8ba65b 00000000 eac28540
    [2018/05/29 10:10:51][  240.140428] 7f60: eac28540 bea7e8cc c0445611 00000003 e6277fa4 e6277f80 c0397354 c0396cbc
    [2018/05/29 10:10:51][  240.141466] 7f80: bea7e8cc b4ea2000 bea7e910 00000036 c0208184 e6276000 00000000 e6277fa8
    [2018/05/29 10:10:51][  240.142504] 7fa0: c0207fe0 c03972ec bea7e8cc b4ea2000 00000003 c0445611 bea7e8cc 0000000a
    [2018/05/29 10:10:51][  240.143542] 7fc0: bea7e8cc b4ea2000 bea7e910 00000036 0f186000 0f183ed7 0f183ecf 00000000
    [2018/05/29 10:10:51][  240.144580] 7fe0: 00000001 bea7e8b0 b511ddfb b5149534 20010010 00000003 00000939 00000003
    [2018/05/29 10:10:51][  240.145615] Backtrace: 
    [2018/05/29 10:10:51][  240.145939] [<c0567a54>] (sg_free_table) from [<c065ad24>] (omap_gem_unmap_dma_buf+0x24/0x30)
    [2018/05/29 10:10:51][  240.147019]  r6:e6153d4c r5:eacee900 r4:eacee900 r3:eac28300
    [2018/05/29 10:10:51][  240.147770] [<c065ad00>] (omap_gem_unmap_dma_buf) from [<c06a7d84>] (dma_buf_unmap_attachment+0x30/0x48)
    [2018/05/29 10:10:51][  240.148969]  r4:eaceea00 r3:c065ad00
    [2018/05/29 10:10:51][  240.149447] [<c06a7d54>] (dma_buf_unmap_attachment) from [<c07e063c>] (vb2_dc_unmap_dmabuf+0x54/0xa4)
    [2018/05/29 10:10:51][  240.150619] [<c07e05e8>] (vb2_dc_unmap_dmabuf) from [<c07dc538>] (vb2_core_dqbuf+0x550/0x770)
    [2018/05/29 10:10:51][  240.151699]  r5:e4f51900 r4:e4f51800
    [2018/05/29 10:10:51][  240.152173] [<c07dbfe8>] (vb2_core_dqbuf) from [<c07de070>] (vb2_internal_dqbuf+0x44/0x90)
    [2018/05/29 10:10:51][  240.153220]  r10:00000003 r9:c125feac r8:00000011 r7:c0c6950c r6:e4f50200 r5:e6277e1c
    [2018/05/29 10:10:51][  240.154246]  r4:e6153ae0
    [2018/05/29 10:10:51][  240.154582] [<c07de02c>] (vb2_internal_dqbuf) from [<c07de0f4>] (vb2_dqbuf+0x38/0x58)
    [2018/05/29 10:10:51][  240.155574]  r5:eac28540 r4:e6277e1c
    [2018/05/29 10:10:51][  240.156048] [<c07de0bc>] (vb2_dqbuf) from [<c07d9668>] (v4l2_m2m_ioctl_dqbuf+0x64/0x70)
    [2018/05/29 10:10:51][  240.157067] [<c07d9604>] (v4l2_m2m_ioctl_dqbuf) from [<c07c9e44>] (v4l_dqbuf+0x44/0x48)
    [2018/05/29 10:10:51][  240.158085] [<c07c9e00>] (v4l_dqbuf) from [<c07c9548>] (__video_do_ioctl+0x2bc/0x334)
    [2018/05/29 10:10:51][  240.159077]  r7:c120394c r6:ee2d4c68 r5:c0445611 r4:00000003
    [2018/05/29 10:10:51][  240.159823] [<c07c928c>] (__video_do_ioctl) from [<c07c9020>] (video_usercopy+0x498/0x6e8)
    [2018/05/29 10:10:51][  240.160873]  r10:c07c928c r9:00000078 r8:bea7e8cc r7:e5e93080 r6:e6277e1c r5:c120394c
    [2018/05/29 10:10:51][  240.161895]  r4:c0445611
    [2018/05/29 10:10:51][  240.162228] [<c07c8b88>] (video_usercopy) from [<c07c9288>] (video_ioctl2+0x18/0x1c)
    [2018/05/29 10:10:51][  240.163209]  r10:00000000 r9:00000003 r8:ee2d4f04 r7:c0445611 r6:bea7e8cc r5:eac28540
    [2018/05/29 10:10:51][  240.164233]  r4:ee2d4c68
    [2018/05/29 10:10:51][  240.164570] [<c07c9270>] (video_ioctl2) from [<c07c3eb0>] (v4l2_ioctl+0xcc/0xe0)
    [2018/05/29 10:10:51][  240.165513] [<c07c3de4>] (v4l2_ioctl) from [<c03970dc>] (do_vfs_ioctl+0x42c/0x630)
    [2018/05/29 10:10:51][  240.166474]  r8:00000003 r7:eac28540 r6:ed6fcca8 r5:0000fdfd r4:c120394c r3:c07c3de4
    [2018/05/29 10:10:51][  240.167491] [<c0396cb0>] (do_vfs_ioctl) from [<c0397354>] (SyS_ioctl+0x74/0x84)
    [2018/05/29 10:10:51][  240.168419]  r9:00000003 r8:c0445611 r7:bea7e8cc r6:eac28540 r5:eac28540 r4:00000000
    [2018/05/29 10:10:51][  240.169435] [<c03972e0>] (SyS_ioctl) from [<c0207fe0>] (ret_fast_syscall+0x0/0x34)
    [2018/05/29 10:10:51][  240.170396]  r9:e6276000 r8:c0208184 r7:00000036 r6:bea7e910 r5:b4ea2000 r4:bea7e8cc
    [2018/05/29 10:10:51][  240.171413] Code: e24310ff 0a00000e e3530c01 9a000007 (e5923ff0) 
    [2018/05/29 10:10:51][  240.172873] ---[ end trace 22800bf7a38bb56d ]---
    [2018/05/29 10:10:51][  240.173505] Kernel panic - not syncing: Fatal exception
    [2018/05/29 10:10:51][  240.174173] CPU0: stopping
    [2018/05/29 10:10:51][  240.174526] CPU: 0 PID: 148 Comm: logd.klogd Tainted: G    B D    O    4.4.91-00040-gdfcb965-dirty #3
    [2018/05/29 10:10:51][  240.175694] Hardware name: Generic DRA74X (Flattened Device Tree)
    [2018/05/29 10:10:51][  240.176468] Backtrace: 
    [2018/05/29 10:10:51][  240.176793] [<c020c828>] (dump_backtrace) from [<c020ca24>] (show_stack+0x18/0x1c)
    [2018/05/29 10:10:51][  240.177752]  r6:60000193 r5:c1241b08 r4:00000000 r3:dc8ba65b
    [2018/05/29 10:10:51][  240.178500] [<c020ca0c>] (show_stack) from [<c0b47048>] (dump_stack+0x94/0xa8)
    [2018/05/29 10:10:51][  240.179422] [<c0b46fb4>] (dump_stack) from [<c020f5ec>] (handle_IPI+0x328/0x33c)
    [2018/05/29 10:10:51][  240.180359]  r6:00000000 r5:c10884d0 r4:00000005 r3:dc8ba65b
    [2018/05/29 10:10:51][  240.181108] [<c020f2c4>] (handle_IPI) from [<c0201510>] (gic_handle_irq+0x78/0x7c)
    [2018/05/29 10:10:51][  240.182067]  r10:ffffffff r9:007fffff r8:fa213000 r7:fa212000 r6:eacd9fb0 r5:fa21200c
    [2018/05/29 10:10:51][  240.183090]  r4:c12048c0 r3:00000405
    [2018/05/29 10:10:51][  240.183562] [<c0201498>] (gic_handle_irq) from [<c020d8e8>] (__irq_usr+0x48/0x60)
    [2018/05/29 10:10:51][  240.184510] Exception stack(0xeacd9fb0 to 0xeacd9ff8)
    [2018/05/29 10:10:51][  240.185155] 9fa0:                                     a782ce80 a77fe4a4 00000001 a77fe448
    [2018/05/29 10:10:51][  240.186193] 9fc0: a782ce80 a77fe448 00000000 a7fd7299 a782ce80 007fffff ffffffff a77fe754
    [2018/05/29 10:10:51][  240.187230] 9fe0: 0000001c a77fe3d0 a7fd95d9 a7fd72a0 80000030 ffffffff
    [2018/05/29 10:10:51][  240.188069]  r8:30c5387d r7:30c5387d r6:ffffffff r5:80000030 r4:a7fd72a0 r3:a782ce80
    [2018/05/29 10:10:51][  240.189087] Rebooting in 5 seconds..
    [2018/05/29 10:10:57]

  • Hi Sinkeu,

    Are you using CameraHAL for your application? If so, can you attach a logcat from CameraHAL with all the debug options set in Android.mk?

    Thanks,
    David
  • Hi David,

    attachments are full logcat and kernel log running with cameraHAL.

    thanks.

    8877.logcat.txt

    6557.kernel.txt

  • Hi Sinkeu,

    Double checking, what general changes were necessary in Camera HAL to support your camera? 

    I don't see any crashes or indication that you're touching V4LM2M or the vpe drivers in the logs, and I see indication of CSC in VIP. Are you using VPE at all?

    Is this camera interlaced? The only issue I think I'm seeing is that the lastfield check for deinterlace ordering is failing every time in previewThread(). 

    Thanks,

    David

  • thank you for your support.
    this issue have been resolved.
    it's due to cameraHAL.