Convert raw from custom camera

Hello!

I made driver for my camera and record 10 frames.

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=960,pixelformat=RG10 --stream-mmap --stream-count=10 --stream-to=test.raw

If i use pattern generator, than my frames have correct bayer rggb-10 format. I want to convert my raw-video file to some watchable format - mp4 for example.

with this command i cant play out.mp4

ffmpeg -f rawvideo -s:v 1280x960 -i test.raw -c:v libx264 out.mp4

with this i see green screen with red and blue dots

ffplay -f rawvideo -video_size 1280x960 test.raw

is my raw-file correct? or may be i use incorrect commands?

raw-file: https://cloud.mail.ru/public/Bt64/a6Dyo31WA

Hi,
Can you see preview if running below gstreamer pipeline?

$ gst-launch-1.0 nvcamerasrc ! nvoverlaysink

Thanks for your answer

for command:

gst-launch-1.0 nvcamerasrc ! nvoverlaysink

i have response:

nvidia@tegra-ubuntu:~$ gst-launch-1.0 nvcamerasrc ! nvoverlaysink
Setting pipeline to PAUSED ...
Socket read error. Camera Daemon stopped functioning.....
gst_nvcamera_open() failed ret=0
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...

Follow below link to enable more information to know what happened. It could be the DT problem cause nvcamerasrc can’t emulate any camera device.

To enable logs from user-space for more details
https://elinux.org/Jetson_TX2/28.1_Camera_BringUp

after

gst-launch-1.0 nvcamerasrc ! nvoverlaysink

in dmesg i see

[  743.053060] isp 54600000.isp: pm_genpd_runtime_resume()
[  743.080599] isp 54680000.isp: pm_genpd_runtime_resume()
[  743.169642] falcon 54340000.vic: pm_genpd_runtime_resume()
[  743.182359] vi 54080000.vi: pm_genpd_runtime_resume()
[  743.189117] ar0132 6-0030: ar0132_power_on: power on
[  743.252130] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x301a= 0x1 - OK
[  743.324379] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x301a= 0x10d8 - OK
[  743.332397] ar0132 6-0030: ar0132_power_off: power off
[  743.345131] ar0132 6-0030: ar0132_power_on: power on
[  743.409476] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x301a= 0x1 - OK
[  743.485110] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x301a= 0x10d8 - OK
[  743.493385] ar0132 6-0030: ar0132_power_off: power off
[  743.538589] ar0132 6-0030: ar0132_power_on: power on
[  743.601283] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x301a= 0x1 - OK
[  743.674588] falcon 54340000.vic: pm_genpd_runtime_suspend()
[  743.676782] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x301a= 0x10d8 - OK
[  743.676959] ar0132 6-0030: ar0132_power_off: power off
[  743.678360] nvcamera-daemon[6946]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000006
[  743.678371] pgd = ffffffc0be081000
[  743.678405] [00000000] *pgd=000000013e2df003, *pud=000000013e2df003, *pmd=0000000000000000

[  743.678438] CPU: 2 PID: 6946 Comm: nvcamera-daemon Not tainted 4.4.38-test-tegra210-defconfig #119
[  743.678447] Hardware name: jetson_tx1 (DT)
[  743.678461] task: ffffffc0ca939900 ti: ffffffc02c18c000 task.ti: ffffffc02c18c000
[  743.678478] PC is at 0x402efc
[  743.678488] LR is at 0x402ef8
[  743.678503] pc : [<0000000000402efc>] lr : [<0000000000402ef8>] pstate: 60000000
[  743.678512] sp : 0000007f87cf22d0
[  743.678537] x29: 0000007f87cf69d0 x28: 0000000000000000 
[  743.678560] x27: 0000000000000001 x26: 0000007f87cf6340 
[  743.678580] x25: 0000000000404000 x24: 0000000000000334 
[  743.678601] x23: 0000007f87cf4340 x22: 0000007f87cf3340 
[  743.678621] x21: 0000007f87cf4264 x20: 0000007f87cf2350 
[  743.678640] x19: 0000007f87cf4950 x18: 0000000000000014 
[  743.678660] x17: 0000007f89566fb0 x16: 0000007f892bb540 
[  743.678680] x15: 0000007f89f47000 x14: 7265766972446172 
[  743.678700] x13: 656d61432f697061 x12: 2f637273206d6f72 
[  743.678720] x11: 6620676e69746167 x10: 61706f7270282020 
[  743.678741] x9 : 3a726574656d6172 x8 : 0000000000000040 
[  743.678761] x7 : 0000007f80d2b8d0 x6 : 0000000000000001 
[  743.678781] x5 : 0000000000000000 x4 : 0000007f80000b10 
[  743.678799] x3 : 0000000000000000 x2 : 0000000000000001 
[  743.678817] x1 : 0000000000000000 x0 : 0000000000000000 

[  743.678847] Library at 0x402efc: 0x400000 /usr/sbin/nvcamera-daemon
[  743.678861] Library at 0x402ef8: 0x400000 /usr/sbin/nvcamera-daemon
[  743.678870] vdso base = 0x7f89f46000
[  744.174828] vi 54080000.vi: pm_genpd_runtime_suspend()
[  744.250381] isp 54600000.isp: pm_genpd_runtime_suspend()
[  744.256248] isp 54680000.isp: pm_genpd_runtime_suspend()

Most of this failure is cause by something wrong in the DT. Please check your device tree.

ShaneCCC, thanks a lot, i try to find mistakes in device tree.

Also i try to close nvcamera-daemon and start it again:

nvidia@tegra-ubuntu:~$ sudo service nvcamera-daemon stop
nvidia@tegra-ubuntu:~$ sudo /usr/sbin/nvcamera-daemon
PCLHW_DTParser
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16LoadOverridesFile: looking for override file [/data/nvcam/settings/e3323_bottom_CH06P1.isp] 6/16LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/e3323_bottom_CH06P1.isp] 7/16LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/e3323_bottom_CH06P1.isp] 8/16---- imager: No override file found. ----
(NvOdmDevice) Error ModuleNotPresent: V4L2Device not available (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function findDevice(), line 231)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function initialize(), line 54)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 97)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclDriver_V4L2_Focuser_Stub_Close: Invalid NULL input pPclDriver
NvPclStateControllerOpen: Failed ImagerGUID 0. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 596)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 781)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 276)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 439)
Segmentation fault

May be this log can help to understand what i doing wrong.

My device tree:

tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		num_csi_lanes = <0x4>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <0x2>;
		vi_bw_margin_pct = <0x19>;
		max_pixel_rate = <0x639c0>;
		isp_peak_byte_per_pixel = <0x2>;
		isp_bw_margin_pct = <0x19>;
		linux,phandle = <0xec>;
		phandle = <0xec>;

		modules {

			module0 {
				badge = "e3323_bottom_CH06P1";
				position = "bottom";
				orientation = [33 00];
				status = "okay";
				linux,phandle = <0xe2>;
				phandle = <0xe2>;

				drivernode0 {
					pcl_id = "v4l2_sensor";
					devname = "ap0100 6-0030";
					proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/ap0100_c@30";
					status = "okay";
					linux,phandle = <0xe3>;
					phandle = <0xe3>;
				};

				drivernode1 {
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/e3326_lens_ap0100@P5V27C/";
					status = "okay";
					linux,phandle = <0xe4>;
					phandle = <0xe4>;
				};
			};
		};
	};

and host1x/i2c@546c0000

i2c@546c0000 {
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			compatible = "nvidia,tegra210-vii2c";
			reg = <0x0 0x546c0000 0x0 0x34000>;
			iommus = <0x52 0x12>;
			interrupts = <0x0 0x11 0x4>;
			scl-gpio = <0x7b 0x92 0x0>;
			sda-gpio = <0x7b 0x93 0x0>;
			status = "okay";
			clocks = <0x41 0xd0 0x41 0x51 0x41 0x1c>;
			clock-names = "vii2c", "i2cslow", "host1x";
			resets = <0x41 0xd0>;
			reset-names = "vii2c";
			clock-frequency = <0x186A0>;
			bus-pullup-supply = <0x69>;
			avdd_dsi_csi-supply = <0x67>;
			linux,phandle = <0xe0>;
			phandle = <0xe0>;

			ap0100_c@30 {
				compatible = "nvidia,ar0132";
			    	reg = <0x30>;
        			status = "okay";
				devnode = "video0";
				physical_w = "3.674";
				physical_h = "2.738";
				vertical-flip = "true";
				avdd-reg = "vana";
				iovdd-reg = "vif";
				clocks = <0x41 0x117>;
				clock-names = "clk_out_3";
				//clock-frequency = <0x16e3600>;
				clock-frequency = <0x17D7840>;
				mclk = "clk_out_3";
				vana-supply = <0x94>;
				vif-supply = <0x93>;
				
				mode0 {
					mclk_khz = "24000";
					num_lanes = "4";
					tegra_sinterface = "serial_c";
					discontinuous_clk = "no";
					dpcm_enable = "false";
					cil_settletime = "0";

					active_w = "1280"; //"1288";
					active_h = "960"; //"968";

					pixel_t = "bayer_rggb10";

					readout_orientation = "0";
					line_length = "2560";
					
					inherent_gain = "1";
					mclk_multiplier = "5";
					pix_clk_hz = "75000000";
					
					min_gain_val = "1.0";
					max_gain_val = "16";
					min_hdr_ratio = [31 00];
					max_hdr_ratio = "64";
					min_framerate = "1.816577";
					max_framerate = "60";
					min_exp_time = "34";
					max_exp_time = "550385";
				};
				
				ports {
					#address-cells = <0x1>;
					#size-cells = <0x0>;

					port@0 {
						reg = <0x0>;

						ap0100_out0: endpoint {
							csi-port = <0x2>;
							bus-width = <0x4>;
							remote-endpoint = <&csi_in0>;
							linux,phandle = <0xea>;
							phandle = <0xea>;
						};
					};
				};
			};
		};

Could you check /proc/device-tree/tegra-camera-platform/modules/module0/xx was as your define.

Could you check /proc/device-tree/tegra-camera-platform/modules/module0/xx was as your define.

i checked all variables in module0, module0/drivernode0 and module0/drivernode1, all of them looks like in device-tree source file.

nvidia@tegra-ubuntu:/$ v4l2-ctl --list-devices
VIDIOC_QUERYCAP: failed: Inappropriate ioctl for device
VIDIOC_QUERYCAP: failed: Inappropriate ioctl for device
vi-output, ar0132 6-0010 (platform:54080000.vi:2):
	/dev/video0
	/dev/v4l-subdev1
	/dev/v4l-subdev0

The device name is different as DT.

devname = "ap0100 6-0030";
proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/ap0100_c@30";


vi-output, ar0132 6-0010

ShaneCCC, thanks!

i corrected device name and gstreamer began working, but i cannot see video on screen with

gst-launch-1.0 nvcamerasrc ! nvoverlaysink

With this command i see in nvcamera-daemon:

LSC: LSC surface is not based on full res!
LSC: LSC surface is not based on full res!

in gst-launch:

NvCameraSrc: Trying To Set Default camera Resolution. Selected sensorModeIndex = 0 WxH = 1280x960 FrameRate = 60.000000 ...

in dmesg:

[ 1705.321099] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x3070= 0x1 - OK
[ 1705.377437] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A2003
[ 1705.383760] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200D
[ 1705.389490] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200B
[ 1705.395104] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200C
[ 1705.400715] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A2003
[ 1706.907272] fence timeout on [ffffffc0ceb8ad00] after 1500ms
[ 1706.913030] fence timeout on [ffffffc0ceb8a100] after 1500ms
[ 1706.921292] name=[nvhost_sync:40], current value=1 waiting value=2
[ 1706.927488] name=[nvhost_sync:8], current value=320 waiting value=321
[ 1706.934080] ---- mlocks ----
[ 1706.937027] ---- mlocks ----
[ 1706.939971] 
[ 1706.941455] ---- syncpts ----
[ 1706.944511] 
[ 1706.945996] ---- syncpts ----
[ 1706.949056] id 1 (disp1_a) min 4774 max 4775 refs 1 (previous client : )
[ 1706.955810] id 2 (disp1_b) min 1 max 1 refs 1 (previous client : )
[ 1706.962038] id 3 (disp1_c) min 1 max 1 refs 1 (previous client : )
[ 1706.968269] id 4 (57000000.gpu_507) min 43752 max 43752 refs 1 (previous client : )
[ 1706.975972] id 5 (57000000.gpu_506) min 64 max 64 refs 1 (previous client : )
[ 1706.983154] id 6 (57000000.gpu_505) min 31150 max 31152 refs 1 (previous client : 57000000.gpu_505)
[ 1706.992246] id 7 (54600000.isp_0) min 5656 max 5658 refs 3 (previous client : 57000000.gpu_504)
[ 1707.000988] id 8 (54600000.isp_1) min 320 max 322 refs 3 (previous client : 57000000.gpu_503)
[ 1707.009568] id 9 (54600000.isp_2) min 27247 max 27252 refs 7 (previous client : 57000000.gpu_502)
[ 1707.018488] id 11 (54600000.isp_3) min 117 max 118 refs 3 (previous client : 57000000.gpu_501)
[ 1707.027143] id 12 (54680000.isp_0) min 214 max 214 refs 1 (previous client : 57000000.gpu_500)
[ 1707.035800] id 13 (54680000.isp_1) min 34558 max 34558 refs 1 (previous client : 57000000.gpu_499)
[ 1707.044801] id 14 (54680000.isp_2) min 10342 max 10342 refs 1 (previous client : 57000000.gpu_498)
[ 1707.053803] id 15 (54680000.isp_3) min 28 max 28 refs 1 (previous client : 57000000.gpu_497)
[ 1707.062286] id 16 (57000000.gpu_501) min 1222 max 1222 refs 1 (previous client : )
[ 1707.069901] id 17 (57000000.gpu_504) min 2 max 2 refs 1 (previous client : )
[ 1707.076995] id 18 (57000000.gpu_500) min 2 max 2 refs 1 (previous client : )
[ 1707.084096] id 19 (57000000.gpu_497) min 2 max 2 refs 1 (previous client : )
[ 1707.091189] id 20 (57000000.gpu_499) min 2 max 2 refs 1 (previous client : )
[ 1707.098282] id 21 (57000000.gpu_498) min 8 max 8 refs 1 (previous client : )
[ 1707.105380] id 22 (57000000.gpu_502) min 1060 max 1060 refs 1 (previous client : 54080000.vi_0)
[ 1707.114437] id 23 (57000000.gpu_503) min 2 max 2 refs 1 (previous client : 54080000.vi_1)
[ 1707.122864] id 24 (57000000.gpu_496) min 3 max 3 refs 1 (previous client : 54080000.vi_2)
[ 1707.131321] id 25 (57000000.gpu_495) min 2 max 2 refs 1 (previous client : 54080000.vi_5)
[ 1707.139636] id 27 (vblank1) min 55457 max 0 refs 1 (previous client : )
[ 1707.146531] id 28 (57000000.gpu_494) min 2 max 2 refs 1 (previous client : 54080000.vi_3)
[ 1707.154805] id 29 (57000000.gpu_493) min 4 max 4 refs 1 (previous client : 54080000.vi_4)
[ 1707.163030] id 32 (57000000.gpu_492) min 8 max 8 refs 1 (previous client : )
[ 1707.170142] id 33 (57000000.gpu_491) min 6 max 6 refs 1 (previous client : )
[ 1707.177242] id 34 (57000000.gpu_490) min 6 max 6 refs 1 (previous client : )
[ 1707.184333] id 35 (54080000.vi_0) min 0 max 2 refs 3 (previous client : )
[ 1707.191163] id 37 (54080000.vi_2) min 1 max 4 refs 5 (previous client : )
[ 1707.197997] id 40 (54080000.vi_4) min 1 max 2 refs 3 (previous client : )
[ 1707.204829] id 42 (57000000.gpu_489) min 6 max 6 refs 1 (previous client : )
[ 1707.211921] id 43 (57000000.gpu_488) min 6 max 6 refs 1 (previous client : )
[ 1707.219021] id 44 (57000000.gpu_487) min 6 max 6 refs 1 (previous client : )
[ 1707.226212] id 1 (disp1_a) min 4774 max 4775 refs 1 (previous client : )
[ 1707.231264] 
[ 1707.231265] ---- channels ----
[ 1707.231271] 
[ 1707.231271] channel 0 - 54600000.isp
[ 1707.231271] 
[ 1707.231280] 0-54600000.isp (12): active class 01, offset 0050, val 00000007
[ 1707.231282] DMAPUT 00000140, DMAGET 000000e8, DMACTL 00000000
[ 1707.231283] CBREAD 00000007, CBSTAT 00010050
[ 1707.231288] 
[ 1707.231288] ffffffc072e90600: JOB, syncpt_id=7, syncpt_val=5657, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[ 1707.231295]     GATHER at 80250000+4514, 8 words
[ 1707.231304] 20000001 00000407 20000001 00000508 20000001 0000060b 200c0001 00000005 
[ 1707.231306]     GATHER at 80250000+4534, 2 words
[ 1707.231309] 20000001 00000009 
[ 1707.231310] 
[ 1707.231312] 
[ 1707.231312] channel 1 - 54680000.isp
[ 1707.231312] 
[ 1707.231318] 1-54680000.isp (1): inactive
[ 1707.231318] 
[ 1707.231319] 
[ 1707.231319] channel 2 - 54080000.vi
[ 1707.231319] 
[ 1707.231326] 2-54080000.vi (8): active class 01, offset 0050, val 00000023
[ 1707.231328] DMAPUT 000000b8, DMAGET 000000b8, DMACTL 00000000
[ 1707.231329] CBREAD 00000023, CBSTAT 00010050
[ 1707.231332] 
[ 1707.231332] ffffffc0ecb96c00: JOB, syncpt_id=35, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[ 1707.231336]     GATHER at 802c0000+0000, 39 words
[ 1707.231370] 10e20001 0000001f 10e30002 00000000 00000000 103a0001 10100010 103c0001 10101010 10c20001 00000001 10c30006 00000000 001c984c 00000000 00000000 00000000 00000000 10d90001 00000003 140e0006 007f0017 080301f0 00000000 00140000 0000f005 00000000 14420001 00000101 144b0003 00010000 00000000 00000040 14580003 00010000 00000000 00000040 148b0001 00000000 
[ 1707.231372]     GATHER at 802c0000+009c, 3 words
[ 1707.231375] 304e0005 00006a6f 00000009 
[ 1707.231377]     GATHER at 802c0000+00a8, 21 words
[ 1707.231396] 10c30006 00200002 001c984c 00000000 03de0500 00000640 0000002b 144b0003 00010000 00000000 0000004c 14580003 00010000 00000000 0000004c 20000001 00001c23 20000001 00000d28 20c10001 00000001 
[ 1707.231398]     GATHER at 802c0000+00fc, 2 words
[ 1707.231400] 20000001 00000025 
[ 1707.231401] 
[ 1707.231402] 
[ 1707.231402] ---- host general irq ----
[ 1707.231402] 
[ 1707.231404] sync_hintmask_ext = 0xc0000000
[ 1707.231406] sync_hintmask = 0x80000000
[ 1707.231407] sync_intc0mask = 0x00000001
[ 1707.231409] sync_intmask = 0x00000011
[ 1707.231410] 
[ 1707.231410] ---- host syncpt irq mask ----
[ 1707.231410] 
[ 1707.231412] syncpt_thresh_int_mask(0) = 0x00455101
[ 1707.231414] syncpt_thresh_int_mask(1) = 0x00000000
[ 1707.231416] syncpt_thresh_int_mask(2) = 0x00010440
[ 1707.231417] syncpt_thresh_int_mask(3) = 0x00000000
[ 1707.231419] syncpt_thresh_int_mask(4) = 0x00000000
[ 1707.231421] syncpt_thresh_int_mask(5) = 0x00000000
[ 1707.231422] syncpt_thresh_int_mask(6) = 0x00000000
[ 1707.231424] syncpt_thresh_int_mask(7) = 0x00000000
[ 1707.231426] syncpt_thresh_int_mask(8) = 0x00000000
[ 1707.231427] syncpt_thresh_int_mask(9) = 0x00000000
[ 1707.231429] syncpt_thresh_int_mask(10) = 0x00000000
[ 1707.231431] syncpt_thresh_int_mask(11) = 0x00000000
[ 1707.231432] 
[ 1707.231432] ---- host syncpt irq status ----
[ 1707.231432] 
[ 1707.231434] syncpt_thresh_cpu0_int_status(0) = 0x00000850
[ 1707.231436] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 1707.231438] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 1707.231439] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 1707.231441] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 1707.231443] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 1707.231444] 
[ 1707.231444] ---- host syncpt thresh ----
[ 1707.231444] 
[ 1707.231446] syncpt_int_thresh_thresh_0(0) = 1
[ 1707.231450] syncpt_int_thresh_thresh_0(4) = 43752
[ 1707.231453] syncpt_int_thresh_thresh_0(6) = 31148
[ 1707.231455] syncpt_int_thresh_thresh_0(7) = 5657
[ 1707.231458] syncpt_int_thresh_thresh_0(8) = 321
[ 1707.231460] syncpt_int_thresh_thresh_0(9) = 27248
[ 1707.231463] syncpt_int_thresh_thresh_0(11) = 117
[ 1707.231478] syncpt_int_thresh_thresh_0(35) = 1
[ 1707.231481] syncpt_int_thresh_thresh_0(37) = 2
[ 1707.231484] syncpt_int_thresh_thresh_0(40) = 2
[ 1707.598214] id 2 (disp1_b) min 1 max 1 refs 1 (previous client : )
[ 1707.604534] id 3 (disp1_c) min 1 max 1 refs 1 (previous client : )
[ 1707.610755] id 4 (57000000.gpu_507) min 43752 max 43752 refs 1 (previous client : )
[ 1707.618441] id 5 (57000000.gpu_506) min 64 max 64 refs 1 (previous client : )
[ 1707.625611] id 6 (57000000.gpu_505) min 31150 max 31152 refs 1 (previous client : 57000000.gpu_505)
[ 1707.634684] id 7 (54600000.isp_0) min 5656 max 5658 refs 3 (previous client : 57000000.gpu_504)
[ 1707.643413] id 8 (54600000.isp_1) min 320 max 322 refs 3 (previous client : 57000000.gpu_503)
[ 1707.651964] id 9 (54600000.isp_2) min 27247 max 27252 refs 7 (previous client : 57000000.gpu_502)
[ 1707.660863] id 11 (54600000.isp_3) min 117 max 118 refs 3 (previous client : 57000000.gpu_501)
[ 1707.669512] id 12 (54680000.isp_0) min 214 max 214 refs 1 (previous client : 57000000.gpu_500)
[ 1707.678150] id 13 (54680000.isp_1) min 34558 max 34558 refs 1 (previous client : 57000000.gpu_499)
[ 1707.687133] id 14 (54680000.isp_2) min 10342 max 10342 refs 1 (previous client : 57000000.gpu_498)
[ 1707.696123] id 15 (54680000.isp_3) min 28 max 28 refs 1 (previous client : 57000000.gpu_497)
[ 1707.704557] id 16 (57000000.gpu_501) min 1222 max 1222 refs 1 (previous client : )
[ 1707.712118] id 17 (57000000.gpu_504) min 2 max 2 refs 1 (previous client : )
[ 1707.719160] id 18 (57000000.gpu_500) min 2 max 2 refs 1 (previous client : )
[ 1707.726204] id 19 (57000000.gpu_497) min 2 max 2 refs 1 (previous client : )
[ 1707.733244] id 20 (57000000.gpu_499) min 2 max 2 refs 1 (previous client : )
[ 1707.740286] id 21 (57000000.gpu_498) min 8 max 8 refs 1 (previous client : )
[ 1707.747328] id 22 (57000000.gpu_502) min 1060 max 1060 refs 1 (previous client : 54080000.vi_0)
[ 1707.756014] id 23 (57000000.gpu_503) min 2 max 2 refs 1 (previous client : 54080000.vi_1)
[ 1707.764183] id 24 (57000000.gpu_496) min 3 max 3 refs 1 (previous client : 54080000.vi_2)
[ 1707.772351] id 25 (57000000.gpu_495) min 2 max 2 refs 1 (previous client : 54080000.vi_5)
[ 1707.780518] id 27 (vblank1) min 55495 max 0 refs 1 (previous client : )
[ 1707.787128] id 28 (57000000.gpu_494) min 2 max 2 refs 1 (previous client : 54080000.vi_3)
[ 1707.795296] id 29 (57000000.gpu_493) min 4 max 4 refs 1 (previous client : 54080000.vi_4)
[ 1707.803466] id 32 (57000000.gpu_492) min 8 max 8 refs 1 (previous client : )
[ 1707.810508] id 33 (57000000.gpu_491) min 6 max 6 refs 1 (previous client : )
[ 1707.817548] id 34 (57000000.gpu_490) min 6 max 6 refs 1 (previous client : )
[ 1707.824591] id 35 (54080000.vi_0) min 0 max 2 refs 3 (previous client : )
[ 1707.831372] id 37 (54080000.vi_2) min 1 max 4 refs 5 (previous client : )
[ 1707.838153] id 40 (54080000.vi_4) min 1 max 2 refs 3 (previous client : )
[ 1707.844936] id 42 (57000000.gpu_489) min 6 max 6 refs 1 (previous client : )
[ 1707.851976] id 43 (57000000.gpu_488) min 6 max 6 refs 1 (previous client : )
[ 1707.859015] id 44 (57000000.gpu_487) min 6 max 6 refs 1 (previous client : )
[ 1707.866153] 
[ 1707.867644] ---- channels ----
[ 1707.870693] 
[ 1707.870693] channel 0 - 54600000.isp
[ 1707.870693] 
[ 1707.877217] 0-54600000.isp (12): active class 01, offset 0050, val 00000007
[ 1707.884189] DMAPUT 00000140, DMAGET 000000e8, DMACTL 00000000
[ 1707.889928] CBREAD 00000007, CBSTAT 00010050
[ 1707.894196] 
[ 1707.894196] ffffffc072e90600: JOB, syncpt_id=7, syncpt_val=5657, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[ 1707.907048]     GATHER at 80250000+4514, 8 words
[ 1707.911659] 20000001 00000407 20000001 00000508 20000001 0000060b 200c0001 00000005 
[ 1707.919464]     GATHER at 80250000+4534, 2 words
[ 1707.924077] 20000001 00000009 
[ 1707.927135] 
[ 1707.928627] 
[ 1707.928627] channel 1 - 54680000.isp
[ 1707.928627] 
[ 1707.935227] 1-54680000.isp (1): inactive

[ 1707.939327] 
[ 1707.939327] channel 2 - 54080000.vi
[ 1707.939327] 
[ 1707.945767] 2-54080000.vi (8): active class 01, offset 0050, val 00000023
[ 1707.952560] DMAPUT 000000b8, DMAGET 000000b8, DMACTL 00000000
[ 1707.958298] CBREAD 00000023, CBSTAT 00010050
[ 1707.962565] 
[ 1707.962565] ffffffc0ecb96c00: JOB, syncpt_id=35, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[ 1707.975294]     GATHER at 802c0000+0000, 39 words
[ 1707.979997] 10e20001 0000001f 10e30002 00000000 00000000 103a0001 10100010 103c0001 10101010 10c20001 00000001 10c30006 00000000 001c984c 00000000 00000000 00000000 00000000 10d90001 00000003 140e0006 007f0017 080301f0 00000000 00140000 0000f005 00000000 14420001 00000101 144b0003 00010000 00000000 00000040 14580003 00010000 00000000 00000040 148b0001 00000000 
[ 1708.012268]     GATHER at 802c0000+009c, 3 words
[ 1708.016882] 304e0005 00006a6f 00000009 
[ 1708.020737]     GATHER at 802c0000+00a8, 21 words
[ 1708.025434] 10c30006 00200002 001c984c 00000000 03de0500 00000640 0000002b 144b0003 00010000 00000000 0000004c 14580003 00010000 00000000 0000004c 20000001 00001c23 20000001 00000d28 20c10001 00000001 
[ 1708.043499]     GATHER at 802c0000+00fc, 2 words
[ 1708.048111] 20000001 00000025 
[ 1708.051169] 
[ 1708.052660] 
[ 1708.052660] ---- host general irq ----
[ 1708.052660] 
[ 1708.059357] sync_hintmask_ext = 0xc0000000
[ 1708.063450] sync_hintmask = 0x80000000
[ 1708.067195] sync_intc0mask = 0x00000001
[ 1708.071019] sync_intmask = 0x00000011
[ 1708.074676] 
[ 1708.074676] ---- host syncpt irq mask ----
[ 1708.074676] 
[ 1708.081718] syncpt_thresh_int_mask(0) = 0x00455101
[ 1708.086505] syncpt_thresh_int_mask(1) = 0x00000000
[ 1708.091290] syncpt_thresh_int_mask(2) = 0x00010440
[ 1708.096074] syncpt_thresh_int_mask(3) = 0x00000000
[ 1708.100862] syncpt_thresh_int_mask(4) = 0x00000000
[ 1708.105647] syncpt_thresh_int_mask(5) = 0x00000000
[ 1708.110432] syncpt_thresh_int_mask(6) = 0x00000000
[ 1708.115218] syncpt_thresh_int_mask(7) = 0x00000000
[ 1708.120006] syncpt_thresh_int_mask(8) = 0x00000000
[ 1708.124791] syncpt_thresh_int_mask(9) = 0x00000000
[ 1708.129577] syncpt_thresh_int_mask(10) = 0x00000000
[ 1708.134449] syncpt_thresh_int_mask(11) = 0x00000000
[ 1708.139322] 
[ 1708.139322] ---- host syncpt irq status ----
[ 1708.139322] 
[ 1708.146536] syncpt_thresh_cpu0_int_status(0) = 0x00000850
[ 1708.152085] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 1708.157544] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 1708.162989] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 1708.168423] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 1708.173842] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 1708.179255] 
[ 1708.179255] ---- host syncpt thresh ----
[ 1708.179255] 
[ 1708.186155] syncpt_int_thresh_thresh_0(0) = 1
[ 1708.190529] syncpt_int_thresh_thresh_0(4) = 43752
[ 1708.195247] syncpt_int_thresh_thresh_0(6) = 31148
[ 1708.199968] syncpt_int_thresh_thresh_0(7) = 5657
[ 1708.204601] syncpt_int_thresh_thresh_0(8) = 321
[ 1708.209148] syncpt_int_thresh_thresh_0(9) = 27248
[ 1708.213863] syncpt_int_thresh_thresh_0(11) = 117
[ 1708.218507] syncpt_int_thresh_thresh_0(35) = 1
[ 1708.222966] syncpt_int_thresh_thresh_0(37) = 2
[ 1708.227426] syncpt_int_thresh_thresh_0(40) = 2
[ 1709.731210] fence timeout on [ffffffc0d96cb600] after 1500ms
[ 1709.736875] name=[nvhost_sync:8], current value=320 waiting value=322
[ 1709.743370] ---- mlocks ----
[ 1709.746250] 
[ 1709.747770] ---- syncpts ----
[ 1709.750732] id 1 (disp1_a) min 4774 max 4775 refs 1 (previous client : )
[ 1709.757453] id 2 (disp1_b) min 1 max 1 refs 1 (previous client : )
[ 1709.763647] id 3 (disp1_c) min 1 max 1 refs 1 (previous client : )
[ 1709.769837] id 4 (57000000.gpu_507) min 43752 max 43752 refs 1 (previous client : )
[ 1709.777501] id 5 (57000000.gpu_506) min 64 max 64 refs 1 (previous client : )
[ 1709.784647] id 6 (57000000.gpu_505) min 31150 max 31152 refs 1 (previous client : 57000000.gpu_505)
[ 1709.793702] id 7 (54600000.isp_0) min 5656 max 5658 refs 3 (previous client : 57000000.gpu_504)
[ 1709.802407] id 8 (54600000.isp_1) min 320 max 322 refs 3 (previous client : 57000000.gpu_503)
[ 1709.810940] id 9 (54600000.isp_2) min 27247 max 27252 refs 7 (previous client : 57000000.gpu_502)
[ 1709.819818] id 11 (54600000.isp_3) min 117 max 118 refs 3 (previous client : 57000000.gpu_501)
[ 1709.828440] id 12 (54680000.isp_0) min 214 max 214 refs 1 (previous client : 57000000.gpu_500)
[ 1709.837061] id 13 (54680000.isp_1) min 34558 max 34558 refs 1 (previous client : 57000000.gpu_499)
[ 1709.846025] id 14 (54680000.isp_2) min 10342 max 10342 refs 1 (previous client : 57000000.gpu_498)
[ 1709.854991] id 15 (54680000.isp_3) min 28 max 28 refs 1 (previous client : 57000000.gpu_497)
[ 1709.863436] id 16 (57000000.gpu_501) min 1222 max 1222 refs 1 (previous client : )
[ 1709.871012] id 17 (57000000.gpu_504) min 2 max 2 refs 1 (previous client : )
[ 1709.878071] id 18 (57000000.gpu_500) min 2 max 2 refs 1 (previous client : )
[ 1709.885130] id 19 (57000000.gpu_497) min 2 max 2 refs 1 (previous client : )
[ 1709.892187] id 20 (57000000.gpu_499) min 2 max 2 refs 1 (previous client : )
[ 1709.899246] id 21 (57000000.gpu_498) min 8 max 8 refs 1 (previous client : )
[ 1709.906305] id 22 (57000000.gpu_502) min 1060 max 1060 refs 1 (previous client : 54080000.vi_0)
[ 1709.915007] id 23 (57000000.gpu_503) min 2 max 2 refs 1 (previous client : 54080000.vi_1)
[ 1709.923197] id 24 (57000000.gpu_496) min 3 max 3 refs 1 (previous client : 54080000.vi_2)
[ 1709.931389] id 25 (57000000.gpu_495) min 2 max 2 refs 1 (previous client : 54080000.vi_5)
[ 1709.939578] id 27 (vblank1) min 55625 max 0 refs 1 (previous client : )
[ 1709.946208] id 28 (57000000.gpu_494) min 2 max 2 refs 1 (previous client : 54080000.vi_3)
[ 1709.954394] id 29 (57000000.gpu_493) min 4 max 4 refs 1 (previous client : 54080000.vi_4)
[ 1709.962577] id 32 (57000000.gpu_492) min 8 max 8 refs 1 (previous client : )
[ 1709.969642] id 33 (57000000.gpu_491) min 6 max 6 refs 1 (previous client : )
[ 1709.976699] id 34 (57000000.gpu_490) min 6 max 6 refs 1 (previous client : )
[ 1709.983759] id 35 (54080000.vi_0) min 0 max 2 refs 3 (previous client : )
[ 1709.990559] id 37 (54080000.vi_2) min 1 max 4 refs 5 (previous client : )
[ 1709.997356] id 40 (54080000.vi_4) min 1 max 2 refs 3 (previous client : )
[ 1710.004154] id 42 (57000000.gpu_489) min 6 max 6 refs 1 (previous client : )
[ 1710.011218] id 43 (57000000.gpu_488) min 6 max 6 refs 1 (previous client : )
[ 1710.018314] id 44 (57000000.gpu_487) min 6 max 6 refs 1 (previous client : )
[ 1710.025538] 
[ 1710.027024] ---- channels ----
[ 1710.030147] 
[ 1710.030147] channel 0 - 54600000.isp
[ 1710.030147] 
[ 1710.036717] 0-54600000.isp (12): active class 01, offset 0050, val 00000007
[ 1710.043732] DMAPUT 00000140, DMAGET 000000e8, DMACTL 00000000
[ 1710.049538] CBREAD 00000007, CBSTAT 00010050
[ 1710.053843] 
[ 1710.053843] ffffffc072e90600: JOB, syncpt_id=7, syncpt_val=5657, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[ 1710.066740]     GATHER at 80250000+4514, 8 words
[ 1710.071388] 20000001 00000407 20000001 00000508 20000001 0000060b 200c0001 00000005 
[ 1710.079203]     GATHER at 80250000+4534, 2 words
[ 1710.083873] 20000001 00000009 
[ 1710.086932] 
[ 1710.088481] 
[ 1710.088481] channel 1 - 54680000.isp
[ 1710.088481] 
[ 1710.095049] 1-54680000.isp (1): inactive

[ 1710.099161] 
[ 1710.099161] channel 2 - 54080000.vi
[ 1710.099161] 
[ 1710.105659] 2-54080000.vi (8): active class 01, offset 0050, val 00000023
[ 1710.112460] DMAPUT 000000b8, DMAGET 000000b8, DMACTL 00000000
[ 1710.118255] CBREAD 00000023, CBSTAT 00010050
[ 1710.122560] 
[ 1710.122560] ffffffc0ecb96c00: JOB, syncpt_id=35, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[ 1710.135277]     GATHER at 802c0000+0000, 39 words
[ 1710.140014] 10e20001 0000001f 10e30002 00000000 00000000 103a0001 10100010 103c0001 10101010 10c20001 00000001 10c30006 00000000 001c984c 00000000 00000000 00000000 00000000 10d90001 00000003 140e0006 007f0017 080301f0 00000000 00140000 0000f005 00000000 14420001 00000101 144b0003 00010000 00000000 00000040 14580003 00010000 00000000 00000040 148b0001 00000000 
[ 1710.172289]     GATHER at 802c0000+009c, 3 words
[ 1710.177272] 304e0005 00006a6f 00000009 
[ 1710.181154]     GATHER at 802c0000+00a8, 21 words
[ 1710.185961] 10c30006 00200002 001c984c 00000000 03de0500 00000640 0000002b 144b0003 00010000 00000000 0000004c 14580003 00010000 00000000 0000004c 20000001 00001c23 20000001 00000d28 20c10001 00000001 
[ 1710.204062]     GATHER at 802c0000+00fc, 2 words
[ 1710.208818] 20000001 00000025 
[ 1710.211897] 
[ 1710.213382] 
[ 1710.213382] ---- host general irq ----
[ 1710.213382] 
[ 1710.220205] sync_hintmask_ext = 0xc0000000
[ 1710.224348] sync_hintmask = 0x80000000
[ 1710.228147] sync_intc0mask = 0x00000001
[ 1710.232028] sync_intmask = 0x00000011
[ 1710.235733] 
[ 1710.235733] ---- host syncpt irq mask ----
[ 1710.235733] 
[ 1710.242834] syncpt_thresh_int_mask(0) = 0x00455101
[ 1710.247670] syncpt_thresh_int_mask(1) = 0x00000000
[ 1710.252502] syncpt_thresh_int_mask(2) = 0x00010440
[ 1710.257354] syncpt_thresh_int_mask(3) = 0x00000000
[ 1710.262197] syncpt_thresh_int_mask(4) = 0x00000000
[ 1710.267036] syncpt_thresh_int_mask(5) = 0x00000000
[ 1710.271873] syncpt_thresh_int_mask(6) = 0x00000000
[ 1710.276706] syncpt_thresh_int_mask(7) = 0x00000000
[ 1710.281543] syncpt_thresh_int_mask(8) = 0x00000000
[ 1710.286377] syncpt_thresh_int_mask(9) = 0x00000000
[ 1710.291210] syncpt_thresh_int_mask(10) = 0x00000000
[ 1710.296130] syncpt_thresh_int_mask(11) = 0x00000000
[ 1710.301055] 
[ 1710.301055] ---- host syncpt irq status ----
[ 1710.301055] 
[ 1710.308328] syncpt_thresh_cpu0_int_status(0) = 0x00000850
[ 1710.313768] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 1710.319214] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 1710.324657] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 1710.330096] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 1710.335541] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 1710.341087] 
[ 1710.341087] ---- host syncpt thresh ----
[ 1710.341087] 
[ 1710.348042] syncpt_int_thresh_thresh_0(0) = 1
[ 1710.352448] syncpt_int_thresh_thresh_0(4) = 43752
[ 1710.357200] syncpt_int_thresh_thresh_0(6) = 31148
[ 1710.361951] syncpt_int_thresh_thresh_0(7) = 5657
[ 1710.366614] syncpt_int_thresh_thresh_0(8) = 321
[ 1710.371197] syncpt_int_thresh_thresh_0(9) = 27248
[ 1710.375897] syncpt_int_thresh_thresh_0(11) = 117
[ 1710.380600] syncpt_int_thresh_thresh_0(35) = 1
[ 1710.385088] syncpt_int_thresh_thresh_0(37) = 2
[ 1710.389574] syncpt_int_thresh_thresh_0(40) = 2
[ 1714.771125] tegra-i2c 7000d000.i2c: pio xfer timed out addr: 0x3c
[ 1714.777220] tegra-i2c 7000d000.i2c: --- register dump for debugging ----
[ 1714.783983] tegra-i2c 7000d000.i2c: I2C_CNFG - 0x22c00
[ 1714.789148] tegra-i2c 7000d000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x1010001
[ 1714.796043] tegra-i2c 7000d000.i2c: I2C_FIFO_CONTROL - 0xe0
[ 1714.801633] tegra-i2c 7000d000.i2c: I2C_FIFO_STATUS - 0x800081
[ 1714.807539] tegra-i2c 7000d000.i2c: I2C_INT_MASK - 0x7d
[ 1714.812787] tegra-i2c 7000d000.i2c: I2C_INT_STATUS - 0xc3
[ 1714.818208] tegra-i2c 7000d000.i2c: i2c transfer timed out addr: 0x3c
[ 1714.824711] max77620-gpio max77620-gpio: CNFG_GPIOx read failed: -110
[ 1716.955030] mmc0: Timeout waiting for hardware interrupt.
[ 1716.960423] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 1716.966244] sdhci: Sys addr: 0x00000040 | Version:  0x00000303
[ 1716.972062] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000000
[ 1716.977879] sdhci: Argument: 0x00c4df32 | Trn mode: 0x0000002b
[ 1716.983698] sdhci: Present:  0x01fb00f0 | Host ctl: 0x00000034
[ 1716.989515] sdhci: Power:    0x00000001 | Blk gap:  0x00000000
[ 1716.995333] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
[ 1717.001150] sdhci: Timeout:  0x0000000e | Int stat: 0x00000003
[ 1717.006968] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[ 1717.012784] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 1717.018601] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f73
[ 1717.024419] sdhci: Cmd:      0x0000193a | Max curr: 0x00000000
[ 1717.030236] sdhci: Host ctl2: 0x0000300d
[ 1717.034148] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000080000010
[ 1717.040656] sdhci: ===========================================
[ 1717.046516] ------------[ cut here ]------------
[ 1717.051119] WARNING: at ../drivers/mmc/host/sdhci.c:1084
[ 1717.056415] Modules linked in: bcmdhd bluedroid_pm
[ 1717.061214] 
[ 1717.062701] CPU: 1 PID: 22956 Comm: gst-launch-1.0 Not tainted 4.4.38-test-tegra210-defconfig #138
[ 1717.071638] Hardware name: jetson_tx1 (DT)
[ 1717.075723] task: ffffffc0bc8d2580 ti: ffffffc032c78000 task.ti: ffffffc032c78000
[ 1717.083192] PC is at sdhci_send_command+0x24/0x390
[ 1717.087969] LR is at sdhci_finish_data+0x104/0x12c
[ 1717.092746] pc : [<ffffffc00082df90>] lr : [<ffffffc00082e400>] pstate: 400001c5
[ 1717.100122] sp : ffffffc032c7bc70
[ 1717.103424] x29: ffffffc032c7bc70 x28: 0000000000000200 
[ 1717.108735] x27: ffffffc0014446d0 x26: ffffffc032c78000 
[ 1717.114047] x25: ffffffc00082ef34 x24: ffffffc0fa428680 
[ 1717.119357] x23: ffffffc0f4f01468 x22: ffffffc00082ef34 
[ 1717.124669] x21: 0000000000000140 x20: ffffffc0fa428680 
[ 1717.129981] x19: ffffffc0fa428680 x18: 0000000000000a03 
[ 1717.135291] x17: 0000007f9bb86fb0 x16: 0000007f9b2eb540 
[ 1717.140601] x15: 0000007f9be71000 x14: 3130303030303830 
[ 1717.145912] x13: 3030303030303078 x12: 30203a7274502041 
[ 1717.151223] x11: 4d4441207c203030 x10: 3030303030307830 
[ 1717.156531] x9 : 203a72724520414d x8 : ffffffc0f4c2d010 
[ 1717.161842] x7 : 0000000000000002 x6 : 000000000008000b 
[ 1717.167153] x5 : ffffffc0fa290000 x4 : 0000000000000005 
[ 1717.172463] x3 : 0000000000000000 x2 : 0000000000000000 
[ 1717.177774] x1 : ffffffc0f4f01468 x0 : ffffffc0f4f01428 
[ 1717.183083] 
[ 1717.184567] ---[ end trace e383e5bfad4f28dd ]---
[ 1717.189170] Call trace:
[ 1717.191609] [<ffffffc00082df90>] sdhci_send_command+0x24/0x390
[ 1717.197428] [<ffffffc00082e400>] sdhci_finish_data+0x104/0x12c
[ 1717.203245] [<ffffffc00082ef9c>] sdhci_timeout_timer+0x68/0xc4
[ 1717.209063] [<ffffffc0001094d4>] call_timer_fn+0xcc/0x1d4
[ 1717.214447] [<ffffffc000109874>] run_timer_softirq+0x254/0x2a0
[ 1717.220265] [<ffffffc0000a9794>] __do_softirq+0x1cc/0x3b8
[ 1717.225650] [<ffffffc0000a9c40>] irq_exit+0x70/0xd0
[ 1717.230513] [<ffffffc0000f7028>] __handle_domain_irq+0x88/0xac
[ 1717.236330] [<ffffffc000080ba0>] gic_handle_irq+0x6c/0xb8
[ 1717.241714] [<ffffffc0000845d4>] el0_irq_naked+0x18/0x24
[ 1720.655050] gk20a 57000000.gpu: gk20a_channel_timeout_handler: Job on channel 505 timed out
[ 1720.663453] ---- mlocks ----
[ 1720.666333] 
[ 1720.667896] ---- syncpts ----

ctrl 0x9A2003 is the V4L2_CID_GROUP_HOLD and in my function ar0132_s_ctrl i do nothing:

switch (ctrl->id) {		
...
		case V4L2_CID_GROUP_HOLD:
			
...
		break;
...

With yavta and v4l2 i wrote good-looking raw-files from camera pattern generator. Both files are th same in data-part.

Try the discontinuous_clk = “yes” also the mclk_multiplier and pix_clk_hz seems no correct. And did you use 28.1?

discontinuous_clk = "no";
					dpcm_enable = "false";
					cil_settletime = "0";


					mclk_multiplier = "5";
					pix_clk_hz = "75000000";
Try the discontinuous_clk = "yes" also the mclk_multiplier and pix_clk_hz seems no correct. And did you use 28.1?

I try discontinuous_clk = “yes”, no effect.

mclk_multiplier and pix_clk_hz seems no correct.

This value must be larger than pixel_clk_hz / mclk to prevent ISP underrun.

I try to set 3.125 = 75000000/24000000, no effect

Why you think that pix_clk_hz is no correct? I use ds90ub964 + ds90ub913 between TX1 and camera sensor. 75 MHz is the value on PIX_CLK sensor output.

I write 0xAA, 0xBB, 0xCC, 0xDD to pattern generator of sensor and start streaming. After that there is hard look up in s_ctrl function. I attached code of this function.
dmesg log:

[   67.634914] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x3074= 0xbb - OK
[   67.651514] ar0132 6-0030: [ar0132]: read i2c-dev:0x10 addr:0x3074 = 0xbb - OK
[   67.658885] ar0132 6-0030: GR: 00BB
[   67.674916] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x3076= 0xcc - OK
[   67.691525] ar0132 6-0030: [ar0132]: read i2c-dev:0x10 addr:0x3076 = 0xcc - OK
[   67.699285] ar0132 6-0030: B: 00CC
[   67.714547] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x3078= 0xdd - OK
[   67.731077] ar0132 6-0030: [ar0132]: read i2c-dev:0x10 addr:0x3078 = 0xdd - OK
[   67.738568] ar0132 6-0030: GB: 00DD
[   67.754519] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x3072= 0xaa - OK
[   67.770962] ar0132 6-0030: [ar0132]: read i2c-dev:0x10 addr:0x3072 = 0xaa - OK
[   67.778454] ar0132 6-0030: R: 00AA
[   67.794767] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x3070= 0x1 - OK
[   67.859421] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A2003
[   67.865144] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200D
[   67.870783] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200B
[   67.876386] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200C
[   67.883338] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A2003
[   96.064389] Watchdog detected hard LOCKUP on cpu 0
[   96.069006] ------------[ cut here ]------------
[   96.073792] WARNING: at ../kernel/watchdog.c:352
[   96.078395] Modules linked in: bcmdhd bluedroid_pm
[   96.083197] 
[   96.084685] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.38-test-tegra210-defconfig #138
[   96.092842] Hardware name: jetson_tx1 (DT)
[   96.096926] task: ffffffc0fb322580 ti: ffffffc0fb330000 task.ti: ffffffc0fb330000
[   96.104397] PC is at watchdog_check_hardlockup_other_cpu+0xec/0x13c
[   96.110648] LR is at watchdog_check_hardlockup_other_cpu+0xec/0x13c
[   96.116899] pc : [<ffffffc00013fb2c>] lr : [<ffffffc00013fb2c>] pstate: 600001c5
[   96.124275] sp : ffffffc0fb333ac0
[   96.127577] x29: ffffffc0fb333ac0 x28: 0000000000000000 
[   96.132890] x27: 7fffffffffffffff x26: ffffffc0ffe74c98 
[   96.138202] x25: ffffffc0ffe74cd0 x24: ffffffc0fb333d90 
[   96.143515] x23: 0000000000000000 x22: 0000000000000055 
[   96.148827] x21: ffffffc001291238 x20: ffffffc0012bcfb0 
[   96.154139] x19: 0000000000000000 x18: 0000000000000a03 
[   96.159451] x17: 0000007f9f53ff18 x16: ffffffc0001d6d78 
[   96.164762] x15: 003b9aca00000000 x14: 001b6ea289000000 
[   96.170073] x13: ffffffffa5100c6a x12: 0000000000000018 
[   96.175383] x11: 000000002fafc885 x10: 0000000000000860 
[   96.180694] x9 : ffffffc0fb333ec0 x8 : ffffffc0002f064c 
[   96.186006] x7 : 0000000000000000 x6 : 0000000000000035 
[   96.191317] x5 : 0000000000000000 x4 : 0000000000000000 
[   96.196629] x3 : 0000000000000000 x2 : 0000000000009a1e 
[   96.201941] x1 : 0000000000010001 x0 : 0000000000000026 
[   96.207252] 
[   96.208735] ---[ end trace 01e56fb5a21f35df ]---
[   96.213338] Call trace:
[   96.215777] [<ffffffc00013fb2c>] watchdog_check_hardlockup_other_cpu+0xec/0x13c
[   96.223068] [<ffffffc00013fc70>] watchdog_timer_fn+0x4c/0x23c
[   96.228799] [<ffffffc00010b4cc>] __run_hrtimer+0x1d8/0x2f8
[   96.234270] [<ffffffc00010b670>] __hrtimer_run_queues+0x84/0xb0
[   96.240174] [<ffffffc00010b97c>] hrtimer_interrupt+0xac/0x1c8
[   96.245906] [<ffffffc000849f5c>] tegra210_timer_isr+0x28/0x34
[   96.251638] [<ffffffc0000f76ec>] handle_irq_event_percpu+0xf8/0x26c
[   96.257888] [<ffffffc0000f78a8>] handle_irq_event+0x48/0x78
[   96.263445] [<ffffffc0000faf98>] handle_fasteoi_irq+0xb0/0xf4
[   96.269175] [<ffffffc0000f6b44>] generic_handle_irq+0x18/0x2c
[   96.274907] [<ffffffc0000f7020>] __handle_domain_irq+0x80/0xac
[   96.280724] [<ffffffc000080ba0>] gic_handle_irq+0x6c/0xb8
[   96.286108] [<ffffffc000083f44>] el1_irq+0x84/0x100
[   96.290973] [<ffffffc000810f84>] cpuidle_enter+0x18/0x20
[   96.296272] [<ffffffc0000e6768>] call_cpuidle+0x4c/0x58
[   96.301483] [<ffffffc0000e6840>] cpuidle_idle_call+0xcc/0x120
[   96.307214] [<ffffffc0000e6af0>] cpu_idle_loop+0x25c/0x27c
[   96.312685] [<ffffffc0000e6b20>] convert_prio+0x0/0x3c
[   96.317810] [<ffffffc00008f1fc>] secondary_start_kernel+0x16c/0x178
[   96.324060] [<0000000080080e8c>] 0x80080e8c

static int ar0132_s_ctrl(struct v4l2_ctrl *ctrl) code:

static int ar0132_s_ctrl(struct v4l2_ctrl *ctrl)
{
	struct ar0132_priv  *priv = container_of(ctrl->handler, struct ar0132_priv , ctrl_handler);	
	struct i2c_client *client = priv->i2c_client;
	int ret = 0;

	dev_err(&client->dev, "ar0132_s_ctrl with ctrl 0x%04X\n", ctrl->id);
	
	switch (ctrl->id) {		
		case V4L2_CID_FRAME_RATE:
			break;
		case V4L2_CID_GROUP_HOLD:
			break;
			
	case V4L2_CID_HDR_EN:			
		break;

	case V4L2_CID_GAIN:
		break;			
			
	case V4L2_CID_HFLIP:	
		break;
	
	case V4L2_CID_VFLIP:
		break;

	case V4L2_CID_TEST_PATTERN:
		break;
	default:
		goto out;
	
	}	

out:	
	return ret;
}

static struct v4l2_ctrl_ops ar0132_ctrl_ops = {
	.g_volatile_ctrl = ar0132_g_volatile_ctrl,
	.s_ctrl = ar0132_s_ctrl,
};
And did you use 28.1?

Yes, i use 28.1

Could you try the cil_settletime as 10 both discontinuous_clk as yes and no.

Could you try the cil_settletime as 10 both discontinuous_clk as yes and no.

All looks like before:

cil_settletime = 10 discontinuous_clk = no
dmesg output is the same for discontinuous_clk = no and discontinuous_clk = yes

[   81.402750] ar0132 6-0030: [ar0132]: write i2c-dev:0x10 addr:0x3070= 0x1 - OK
[   81.467058] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A2003
[   81.472868] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200D
[   81.478664] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200B
[   81.484257] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A200C
[   81.489836] ar0132 6-0030: ar0132_s_ctrl with ctrl 0x9A2003
[   82.996430] fence timeout on [ffffffc023d1f500] after 1500ms
[   82.996482] fence timeout on [ffffffc023d1fd00] after 1500ms
[   82.996487] name=[nvhost_sync:8], current value=0 waiting value=1
[   82.996490] ---- mlocks ----
[   82.996501] 
[   82.996502] ---- syncpts ----
[   82.996508] id 1 (disp1_a) min 396 max 396 refs 1 (previous client : )
[   82.996511] id 2 (disp1_b) min 2 max 2 refs 1 (previous client : )
[   82.996514] id 3 (disp1_c) min 2 max 2 refs 1 (previous client : )
[   82.996517] id 4 (57000000.gpu_507) min 9542 max 9542 refs 1 (previous client : )
[   82.996520] id 5 (57000000.gpu_506) min 30 max 30 refs 1 (previous client : )
[   82.996523] id 6 (57000000.gpu_505) min 2258 max 2258 refs 1 (previous client : 57000000.gpu_505)
[   82.996526] id 7 (54600000.isp_0) min 0 max 3 refs 4 (previous client : )
[   82.996529] id 8 (54600000.isp_1) min 0 max 3 refs 4 (previous client : )
[   82.996532] id 9 (54600000.isp_2) min 7 max 16 refs 11 (previous client : )
[   82.996535] id 11 (54600000.isp_3) min 1 max 3 refs 4 (previous client : )
[   82.996541] id 16 (57000000.gpu_504) min 1222 max 1222 refs 1 (previous client : )
[   82.996543] id 17 (57000000.gpu_503) min 2 max 2 refs 1 (previous client : )
[   82.996546] id 18 (57000000.gpu_502) min 2 max 2 refs 1 (previous client : )
[   82.996549] id 19 (57000000.gpu_501) min 2 max 2 refs 1 (previous client : )
[   82.996552] id 20 (57000000.gpu_500) min 2 max 2 refs 1 (previous client : )
[   82.996554] id 21 (57000000.gpu_499) min 8 max 8 refs 1 (previous client : )
[   82.996557] id 22 (57000000.gpu_492) min 8 max 8 refs 1 (previous client : 54080000.vi_0)
[   82.996560] id 23 (57000000.gpu_498) min 1060 max 1060 refs 1 (previous client : 54080000.vi_1)
[   82.996563] id 24 (57000000.gpu_497) min 3 max 3 refs 1 (previous client : 54080000.vi_2)
[   82.996566] id 25 (57000000.gpu_496) min 2 max 2 refs 1 (previous client : 54080000.vi_5)
[   82.996569] id 27 (vblank1) min 4819 max 0 refs 1 (previous client : )
[   82.996572] id 28 (57000000.gpu_495) min 2 max 2 refs 1 (previous client : 54080000.vi_3)
[   82.996575] id 29 (57000000.gpu_494) min 2 max 2 refs 1 (previous client : 54080000.vi_4)
[   82.996579] id 32 (57000000.gpu_493) min 4 max 4 refs 1 (previous client : )
[   82.996582] id 33 (57000000.gpu_491) min 6 max 6 refs 1 (previous client : )
[   82.996585] id 34 (57000000.gpu_490) min 6 max 6 refs 1 (previous client : )
[   82.996587] id 35 (57000000.gpu_489) min 6 max 6 refs 1 (previous client : )
[   82.996590] id 36 (57000000.gpu_488) min 6 max 6 refs 1 (previous client : )
[   82.996593] id 37 (54080000.vi_0) min 0 max 3 refs 4 (previous client : )
[   82.996596] id 39 (54080000.vi_2) min 1 max 6 refs 7 (previous client : )
[   82.996600] id 42 (54080000.vi_4) min 1 max 3 refs 4 (previous client : )
[   82.996603] id 44 (57000000.gpu_487) min 6 max 6 refs 1 (previous client : )
[   82.996699] 
[   82.996700] ---- channels ----
[   82.996705] 
[   82.996705] channel 0 - 54600000.isp
[   82.996705] 
[   82.996713] 0-54600000.isp (19): active class 01, offset 0050, val 00000007
[   82.996715] DMAPUT 000001b0, DMAGET 000000e8, DMACTL 00000000
[   82.996717] CBREAD 00000007, CBSTAT 00010050
[   82.996721] 
[   82.996721] ffffffc0c77fde00: JOB, syncpt_id=7, syncpt_val=1, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[   82.996728]     GATHER at 80240000+4514, 8 words
[   82.996737] 20000001 00000407 20000001 00000508 20000001 0000060b 200c0001 00000005 
[   82.996739]     GATHER at 80240000+4534, 2 words
[   82.996742] 20000001 00000009 
[   82.996743] 
[   82.996745] 
[   82.996745] channel 1 - 54680000.isp
[   82.996745] 
[   82.996751] 1-54680000.isp (1): inactive
[   82.996751] 
[   82.996753] 
[   82.996753] channel 2 - 54080000.vi
[   82.996753] 
[   82.996759] 2-54080000.vi (13): active class 01, offset 0050, val 00000025
[   82.996761] DMAPUT 00000100, DMAGET 00000100, DMACTL 00000000
[   82.996762] CBREAD 00000025, CBSTAT 00010050
[   82.996766] 
[   82.996766] ffffffc02aef4800: JOB, syncpt_id=37, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[   82.996770]     GATHER at 80250000+0000, 39 words
[   82.996804] 10e20001 0000001f 10e30002 00000000 00000000 103a0001 10100010 103c0001 10101010 10c20001 00000001 10c30006 00000000 001c984c 00000000 00000000 00000000 00000000 10d90001 00000003 140e0006 007f0017 080301f0 00000000 00140000 0000f005 00000000 14420001 00000101 144b0003 00010000 00000000 0000004a 14580003 00010000 00000000 0000004a 148b0001 00000000 
[   82.996807]     GATHER at 80250000+009c, 3 words
[   82.996810] 304e0005 00000007 00000009 
[   82.996812]     GATHER at 80250000+00a8, 21 words
[   82.996831] 10c30006 00200002 001c984c 00000000 03c00500 00000640 0000002b 144b0003 00010000 00000000 0000004a 14580003 00010000 00000000 0000004a 20000001 00001c25 20000001 00000d2a 20c10001 00000001 
[   82.996833]     GATHER at 80250000+00fc, 2 words
[   82.996835] 20000001 00000027 
[   82.996836] 
[   82.996838] 
[   82.996838] ---- host general irq ----
[   82.996838] 
[   82.996839] sync_hintmask_ext = 0xc0000000
[   82.996841] sync_hintmask = 0x80000000
[   82.996843] sync_intc0mask = 0x00000001
[   82.996844] sync_intmask = 0x00000011
[   82.996845] 
[   82.996845] ---- host syncpt irq mask ----
[   82.996845] 
[   82.996847] syncpt_thresh_int_mask(0) = 0x00454101
[   82.996849] syncpt_thresh_int_mask(1) = 0x00000000
[   82.996851] syncpt_thresh_int_mask(2) = 0x00104400
[   82.996853] syncpt_thresh_int_mask(3) = 0x00000000
[   82.996854] syncpt_thresh_int_mask(4) = 0x00000000
[   82.996856] syncpt_thresh_int_mask(5) = 0x00000000
[   82.996858] syncpt_thresh_int_mask(6) = 0x00000000
[   82.996859] syncpt_thresh_int_mask(7) = 0x00000000
[   82.996861] syncpt_thresh_int_mask(8) = 0x00000000
[   82.996862] syncpt_thresh_int_mask(9) = 0x00000000
[   82.996864] syncpt_thresh_int_mask(10) = 0x00000000
[   82.996866] syncpt_thresh_int_mask(11) = 0x00000000
[   82.996867] 
[   82.996867] ---- host syncpt irq status ----
[   82.996867] 
[   82.996869] syncpt_thresh_cpu0_int_status(0) = 0x00000810
[   82.996871] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[   82.996872] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[   82.996874] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[   82.996876] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[   82.996877] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[   82.996878] 
[   82.996878] ---- host syncpt thresh ----
[   82.996878] 
[   82.996881] syncpt_int_thresh_thresh_0(0) = 1
[   82.996885] syncpt_int_thresh_thresh_0(4) = 9540
[   82.996888] syncpt_int_thresh_thresh_0(7) = 1
[   82.996891] syncpt_int_thresh_thresh_0(8) = 1
[   82.996893] syncpt_int_thresh_thresh_0(9) = 8
[   82.996896] syncpt_int_thresh_thresh_0(11) = 1
[   82.996912] syncpt_int_thresh_thresh_0(37) = 1
[   82.996915] syncpt_int_thresh_thresh_0(39) = 2
[   82.996918] syncpt_int_thresh_thresh_0(42) = 2
[   83.016282] fence timeout on [ffffffc0251cf600] after 1500ms
[   83.016287] name=[nvhost_sync:42], current value=1 waiting value=2
[   83.016291] ---- mlocks ----
[   83.016301] 
[   83.016302] ---- syncpts ----
[   83.016308] id 1 (disp1_a) min 396 max 396 refs 1 (previous client : )
[   83.016310] id 2 (disp1_b) min 2 max 2 refs 1 (previous client : )
[   83.016316] id 3 (disp1_c) min 2 max 2 refs 1 (previous client : )
[   83.016319] id 4 (57000000.gpu_507) min 9542 max 9542 refs 1 (previous client : )
[   83.016322] id 5 (57000000.gpu_506) min 30 max 30 refs 1 (previous client : )
[   83.016325] id 6 (57000000.gpu_505) min 2258 max 2258 refs 1 (previous client : 57000000.gpu_505)
[   83.016328] id 7 (54600000.isp_0) min 0 max 3 refs 4 (previous client : )
[   83.016331] id 8 (54600000.isp_1) min 0 max 3 refs 4 (previous client : )
[   83.016333] id 9 (54600000.isp_2) min 7 max 16 refs 11 (previous client : )
[   83.016337] id 11 (54600000.isp_3) min 1 max 3 refs 4 (previous client : )
[   83.016343] id 16 (57000000.gpu_504) min 1222 max 1222 refs 1 (previous client : )
[   83.016345] id 17 (57000000.gpu_503) min 2 max 2 refs 1 (previous client : )
[   83.016348] id 18 (57000000.gpu_502) min 2 max 2 refs 1 (previous client : )
[   83.016351] id 19 (57000000.gpu_501) min 2 max 2 refs 1 (previous client : )
[   83.016353] id 20 (57000000.gpu_500) min 2 max 2 refs 1 (previous client : )
[   83.016356] id 21 (57000000.gpu_499) min 8 max 8 refs 1 (previous client : )
[   83.016359] id 22 (57000000.gpu_492) min 8 max 8 refs 1 (previous client : 54080000.vi_0)
[   83.016362] id 23 (57000000.gpu_498) min 1060 max 1060 refs 1 (previous client : 54080000.vi_1)
[   83.016365] id 24 (57000000.gpu_497) min 3 max 3 refs 1 (previous client : 54080000.vi_2)
[   83.016368] id 25 (57000000.gpu_496) min 2 max 2 refs 1 (previous client : 54080000.vi_5)
[   83.016371] id 27 (vblank1) min 4820 max 0 refs 1 (previous client : )
[   83.016374] id 28 (57000000.gpu_495) min 2 max 2 refs 1 (previous client : 54080000.vi_3)
[   83.016377] id 29 (57000000.gpu_494) min 2 max 2 refs 1 (previous client : 54080000.vi_4)
[   83.016381] id 32 (57000000.gpu_493) min 4 max 4 refs 1 (previous client : )
[   83.016384] id 33 (57000000.gpu_491) min 6 max 6 refs 1 (previous client : )
[   83.016386] id 34 (57000000.gpu_490) min 6 max 6 refs 1 (previous client : )
[   83.016389] id 35 (57000000.gpu_489) min 6 max 6 refs 1 (previous client : )
[   83.016392] id 36 (57000000.gpu_488) min 6 max 6 refs 1 (previous client : )
[   83.016394] id 37 (54080000.vi_0) min 0 max 3 refs 4 (previous client : )
[   83.016398] id 39 (54080000.vi_2) min 1 max 6 refs 7 (previous client : )
[   83.016402] id 42 (54080000.vi_4) min 1 max 3 refs 4 (previous client : )
[   83.016405] id 44 (57000000.gpu_487) min 6 max 6 refs 1 (previous client : )
[   83.016526] 
[   83.016527] ---- channels ----
[   83.016532] 
[   83.016532] channel 0 - 54600000.isp
[   83.016532] 
[   83.016540] 0-54600000.isp (19): active class 01, offset 0050, val 00000007
[   83.016542] DMAPUT 000001b0, DMAGET 000000e8, DMACTL 00000000
[   83.016544] CBREAD 00000007, CBSTAT 00010050
[   83.016548] 
[   83.016548] ffffffc0c77fde00: JOB, syncpt_id=7, syncpt_val=1, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[   83.016552]     GATHER at 80240000+4514, 8 words
[   83.016561] 20000001 00000407 20000001 00000508 20000001 0000060b 200c0001 00000005 
[   83.016564]     GATHER at 80240000+4534, 2 words
[   83.016566] 20000001 00000009 
[   83.016567] 
[   83.016569] 
[   83.016569] channel 1 - 54680000.isp
[   83.016569] 
[   83.016575] 1-54680000.isp (1): inactive
[   83.016575] 
[   83.016577] 
[   83.016577] channel 2 - 54080000.vi
[   83.016577] 
[   83.016584] 2-54080000.vi (13): active class 01, offset 0050, val 00000025
[   83.016585] DMAPUT 00000100, DMAGET 00000100, DMACTL 00000000
[   83.016587] CBREAD 00000025, CBSTAT 00010050
[   83.016590] 
[   83.016590] ffffffc02aef4800: JOB, syncpt_id=37, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[   83.016593]     GATHER at 80250000+0000, 39 words
[   83.016628] 10e20001 0000001f 10e30002 00000000 00000000 103a0001 10100010 103c0001 10101010 10c20001 00000001 10c30006 00000000 001c984c 00000000 00000000 00000000 00000000 10d90001 00000003 140e0006 007f0017 080301f0 00000000 00140000 0000f005 00000000 14420001 00000101 144b0003 00010000 00000000 0000004a 14580003 00010000 00000000 0000004a 148b0001 00000000 
[   83.016630]     GATHER at 80250000+009c, 3 words
[   83.016634] 304e0005 00000007 00000009 
[   83.016636]     GATHER at 80250000+00a8, 21 words
[   83.016655] 10c30006 00200002 001c984c 00000000 03c00500 00000640 0000002b 144b0003 00010000 00000000 0000004a 14580003 00010000 00000000 0000004a 20000001 00001c25 20000001 00000d2a 20c10001 00000001 
[   83.016656]     GATHER at 80250000+00fc, 2 words
[   83.016659] 20000001 00000027 
[   83.016660] 
[   83.016661] 
[   83.016661] ---- host general irq ----
[   83.016661] 
[   83.016663] sync_hintmask_ext = 0xc0000000
[   83.016665] sync_hintmask = 0x80000000
[   83.016666] sync_intc0mask = 0x00000001
[   83.016668] sync_intmask = 0x00000011
[   83.016669] 
[   83.016669] ---- host syncpt irq mask ----
[   83.016669] 
[   83.016671] syncpt_thresh_int_mask(0) = 0x00454101
[   83.016673] syncpt_thresh_int_mask(1) = 0x00000000
[   83.016675] syncpt_thresh_int_mask(2) = 0x00104400
[   83.016676] syncpt_thresh_int_mask(3) = 0x00000000
[   83.016678] syncpt_thresh_int_mask(4) = 0x00000000
[   83.016680] syncpt_thresh_int_mask(5) = 0x00000000
[   83.016681] syncpt_thresh_int_mask(6) = 0x00000000
[   83.016683] syncpt_thresh_int_mask(7) = 0x00000000
[   83.016685] syncpt_thresh_int_mask(8) = 0x00000000
[   83.016687] syncpt_thresh_int_mask(9) = 0x00000000
[   83.016688] syncpt_thresh_int_mask(10) = 0x00000000
[   83.016690] syncpt_thresh_int_mask(11) = 0x00000000
[   83.016691] 
[   83.016691] ---- host syncpt irq status ----
[   83.016691] 
[   83.016693] syncpt_thresh_cpu0_int_status(0) = 0x00000810
[   83.016695] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[   83.016697] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[   83.016698] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[   83.016700] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[   83.016702] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[   83.016703] 
[   83.016703] ---- host syncpt thresh ----
[   83.016703] 
[   83.016705] syncpt_int_thresh_thresh_0(0) = 1
[   83.016709] syncpt_int_thresh_thresh_0(4) = 9540
[   83.016713] syncpt_int_thresh_thresh_0(7) = 1
[   83.016715] syncpt_int_thresh_thresh_0(8) = 1
[   83.016717] syncpt_int_thresh_thresh_0(9) = 8
[   83.016720] syncpt_int_thresh_thresh_0(11) = 1
[   83.016736] syncpt_int_thresh_thresh_0(37) = 1
[   83.016739] syncpt_int_thresh_thresh_0(39) = 2
[   83.016742] syncpt_int_thresh_thresh_0(42) = 2
[   84.267637] name=[nvhost_sync:7], current value=0 waiting value=1
[   84.276465] ---- mlocks ----
[   84.279348] 
[   84.280846] ---- syncpts ----
[   84.283868] id 1 (disp1_a) min 396 max 396 refs 1 (previous client : )
[   84.290389] id 2 (disp1_b) min 2 max 4 refs 1 (previous client : )
[   84.296562] id 3 (disp1_c) min 2 max 2 refs 1 (previous client : )
[   84.302848] id 4 (57000000.gpu_507) min 9544 max 9544 refs 1 (previous client : )
[   84.310338] id 5 (57000000.gpu_506) min 30 max 30 refs 1 (previous client : )
[   84.317477] id 6 (57000000.gpu_505) min 2258 max 2258 refs 1 (previous client : 57000000.gpu_505)
[   84.326429] id 7 (54600000.isp_0) min 0 max 4 refs 5 (previous client : )
[   84.333226] id 8 (54600000.isp_1) min 0 max 4 refs 5 (previous client : )
[   84.340019] id 9 (54600000.isp_2) min 7 max 20 refs 15 (previous client : )
[   84.347062] id 11 (54600000.isp_3) min 1 max 4 refs 5 (previous client : )
[   84.353947] id 16 (57000000.gpu_504) min 1222 max 1222 refs 1 (previous client : )
[   84.361518] id 17 (57000000.gpu_503) min 2 max 2 refs 1 (previous client : )
[   84.368647] id 18 (57000000.gpu_502) min 2 max 2 refs 1 (previous client : )
[   84.375702] id 19 (57000000.gpu_501) min 2 max 2 refs 1 (previous client : )
[   84.382754] id 20 (57000000.gpu_500) min 2 max 2 refs 1 (previous client : )
[   84.389880] id 21 (57000000.gpu_499) min 8 max 8 refs 1 (previous client : )
[   84.396934] id 22 (57000000.gpu_492) min 8 max 8 refs 1 (previous client : 54080000.vi_0)
[   84.405118] id 23 (57000000.gpu_498) min 1060 max 1060 refs 1 (previous client : 54080000.vi_1)
[   84.413895] id 24 (57000000.gpu_497) min 3 max 3 refs 1 (previous client : 54080000.vi_2)
[   84.424032] id 25 (57000000.gpu_496) min 2 max 2 refs 1 (previous client : 54080000.vi_5)
[   84.432546] id 27 (vblank1) min 4905 max 0 refs 1 (previous client : )
[   84.439084] id 28 (57000000.gpu_495) min 2 max 2 refs 1 (previous client : 54080000.vi_3)
[   84.447262] id 29 (57000000.gpu_494) min 2 max 2 refs 1 (previous client : 54080000.vi_4)
[   84.455545] id 32 (57000000.gpu_493) min 4 max 4 refs 1 (previous client : )
[   84.462602] id 33 (57000000.gpu_491) min 6 max 6 refs 1 (previous client : )
[   84.469653] id 34 (57000000.gpu_490) min 6 max 6 refs 1 (previous client : )
[   84.476785] id 35 (57000000.gpu_489) min 6 max 6 refs 1 (previous client : )
[   84.483839] id 36 (57000000.gpu_488) min 6 max 6 refs 1 (previous client : )
[   84.490889] id 37 (54080000.vi_0) min 0 max 4 refs 5 (previous client : )
[   84.496511] fence timeout on [ffffffc0251cfe00] after 1500ms
[   84.496519] name=[nvhost_sync:8], current value=0 waiting value=2
[   84.496525] ---- mlocks ----
[   84.496538] 
[   84.496540] ---- syncpts ----
[   84.516774] fence timeout on [ffffffc0c3dede00] after 1500ms
[   84.522442] name=[nvhost_sync:42], current value=1 waiting value=4
[   84.522645] id 39 (54080000.vi_2) min 1 max 8 refs 9 (previous client : )
[   84.522652] id 42 (54080000.vi_4) min 1 max 4 refs 5 (previous client : )
[   84.522659] id 44 (57000000.gpu_487) min 6 max 6 refs 1 (previous client : )
[   84.522778] 
[   84.522780] ---- channels ----
[   84.522791] 
[   84.522791] channel 0 - 54600000.isp
[   84.522791] 
[   84.522804] 0-54600000.isp (26): active class 01, offset 0050, val 00000007
[   84.522808] DMAPUT 00000220, DMAGET 000000e8, DMACTL 00000000
[   84.522811] CBREAD 00000007, CBSTAT 00010050
[   84.522820] 
[   84.522820] ffffffc0c77fde00: JOB, syncpt_id=7, syncpt_val=1, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[   84.522827]     GATHER at 80240000+4514, 8 words
[   84.522844] 20000001 00000407 20000001 00000508 20000001 0000060b 200c0001 00000005 
[   84.522849]     GATHER at 80240000+4534, 2 words
[   84.522854] 20000001 00000009 
[   84.522856] 
[   84.522861] 
[   84.522861] channel 1 - 54680000.isp
[   84.522861] 
[   84.522869] 1-54680000.isp (1): inactive
[   84.522869] 
[   84.522873] 
[   84.522873] channel 2 - 54080000.vi
[   84.522873] 
[   84.522884] 2-54080000.vi (17): active class 01, offset 0050, val 00000025
[   84.522887] DMAPUT 00000148, DMAGET 00000110, DMACTL 00000000
[   84.522890] CBREAD 00000025, CBSTAT 00010050
[   84.522898] 
[   84.522898] ffffffc02aef4800: JOB, syncpt_id=37, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[   84.522903]     GATHER at 80250000+0000, 39 words
[   84.522971] 10e20001 0000001f 10e30002 00000000 00000000 103a0001 10100010 103c0001 10101010 10c20001 00000001 10c30006 00000000 001c984c 00000000 00000000 00000000 00000000 10d90001 00000003 140e0006 007f0017 080301f0 00000000 00140000 0000f005 00000000 14420001 00000101 144b0003 00010000 00000000 0000004a 14580003 00010000 00000000 0000004a 148b0001 00000000 
[   84.522976]     GATHER at 80250000+009c, 3 words
[   84.522983] 304e0005 00000007 00000009 
[   84.522987]     GATHER at 80250000+00a8, 21 words
[   84.523024] 10c30006 00200002 001c984c 00000000 03c00500 00000640 0000002b 144b0003 00010000 00000000 0000004a 14580003 00010000 00000000 0000004a 20000001 00001c25 20000001 00000d2a 20c10001 00000001 
[   84.523028]     GATHER at 80250000+00fc, 2 words
[   84.523033] 20000001 00000027 
[   84.523035] 
[   84.523038] 
[   84.523038] ---- host general irq ----
[   84.523038] 
[   84.523041] sync_hintmask_ext = 0xc0000000
[   84.523044] sync_hintmask = 0x80000000
[   84.523047] sync_intc0mask = 0x00000001
[   84.523050] sync_intmask = 0x00000011
[   84.523052] 
[   84.523052] ---- host syncpt irq mask ----
[   84.523052] 
[   84.523056] syncpt_thresh_int_mask(0) = 0x00454111
[   84.523059] syncpt_thresh_int_mask(1) = 0x00000000
[   84.523062] syncpt_thresh_int_mask(2) = 0x00104400
[   84.523065] syncpt_thresh_int_mask(3) = 0x00000000
[   84.523068] syncpt_thresh_int_mask(4) = 0x00000000
[   84.523071] syncpt_thresh_int_mask(5) = 0x00000000
[   84.523074] syncpt_thresh_int_mask(6) = 0x00000000
[   84.523077] syncpt_thresh_int_mask(7) = 0x00000000
[   84.523080] syncpt_thresh_int_mask(8) = 0x00000000
[   84.523083] syncpt_thresh_int_mask(9) = 0x00000000
[   84.523086] syncpt_thresh_int_mask(10) = 0x00000000
[   84.523089] syncpt_thresh_int_mask(11) = 0x00000000
[   84.523091] 
[   84.523091] ---- host syncpt irq status ----
[   84.523091] 
[   84.523094] syncpt_thresh_cpu0_int_status(0) = 0x00000810
[   84.523097] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[   84.523100] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[   84.523104] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[   84.523107] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[   84.523110] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[   84.523112] 
[   84.523112] ---- host syncpt thresh ----
[   84.523112] 
[   84.523115] syncpt_int_thresh_thresh_0(0) = 1
[   84.523120] syncpt_int_thresh_thresh_0(2) = 4
[   84.523125] syncpt_int_thresh_thresh_0(4) = 9540
[   84.523130] syncpt_int_thresh_thresh_0(7) = 1
[   84.523133] syncpt_int_thresh_thresh_0(8) = 1
[   84.523137] syncpt_int_thresh_thresh_0(9) = 8
[   84.523141] syncpt_int_thresh_thresh_0(11) = 1
[   84.523162] syncpt_int_thresh_thresh_0(37) = 1
[   84.523166] syncpt_int_thresh_thresh_0(39) = 2
[   84.523171] syncpt_int_thresh_thresh_0(42) = 2
[   84.524009] id 1 (disp1_a) min 396 max 396 refs 1 (previous client : )
[   84.524015] id 2 (disp1_b) min 2 max 4 refs 1 (previous client : )
[   84.524020] id 3 (disp1_c) min 2 max 2 refs 1 (previous client : )
[   84.524026] id 4 (57000000.gpu_507) min 9544 max 9544 refs 1 (previous client : )
[   84.524031] id 5 (57000000.gpu_506) min 30 max 30 refs 1 (previous client : )
[   84.524037] id 6 (57000000.gpu_505) min 2258 max 2258 refs 1 (previous client : 57000000.gpu_505)
[   84.524042] id 7 (54600000.isp_0) min 0 max 4 refs 5 (previous client : )
[   84.524047] id 8 (54600000.isp_1) min 0 max 4 refs 5 (previous client : )
[   84.524052] id 9 (54600000.isp_2) min 7 max 20 refs 15 (previous client : )
[   84.524058] id 11 (54600000.isp_3) min 1 max 4 refs 5 (previous client : )
[   84.524067] id 16 (57000000.gpu_504) min 1222 max 1222 refs 1 (previous client : )
[   84.524072] id 17 (57000000.gpu_503) min 2 max 2 refs 1 (previous client : )
[   84.524077] id 18 (57000000.gpu_502) min 2 max 2 refs 1 (previous client : )
[   84.524083] id 19 (57000000.gpu_501) min 2 max 2 refs 1 (previous client : )
[   84.524087] id 20 (57000000.gpu_500) min 2 max 2 refs 1 (previous client : )
[   84.524092] id 21 (57000000.gpu_499) min 8 max 8 refs 1 (previous client : )
[   84.524097] id 22 (57000000.gpu_492) min 8 max 8 refs 1 (previous client : 54080000.vi_0)
[   84.524103] id 23 (57000000.gpu_498) min 1060 max 1060 refs 1 (previous client : 54080000.vi_1)
[   84.524109] id 24 (57000000.gpu_497) min 3 max 3 refs 1 (previous client : 54080000.vi_2)
[   84.524114] id 25 (57000000.gpu_496) min 2 max 2 refs 1 (previous client : 54080000.vi_5)
[   84.524120] id 27 (vblank1) min 4911 max 0 refs 1 (previous client : )
[   84.524125] id 28 (57000000.gpu_495) min 2 max 2 refs 1 (previous client : 54080000.vi_3)
[   84.524130] id 29 (57000000.gpu_494) min 2 max 2 refs 1 (previous client : 54080000.vi_4)
[   84.524136] id 32 (57000000.gpu_493) min 4 max 4 refs 1 (previous client : )
[   84.524141] id 33 (57000000.gpu_491) min 6 max 6 refs 1 (previous client : )
[   84.524145] id 34 (57000000.gpu_490) min 6 max 6 refs 1 (previous client : )
[   84.524150] id 35 (57000000.gpu_489) min 6 max 6 refs 1 (previous client : )
[   84.524155] id 36 (57000000.gpu_488) min 6 max 6 refs 1 (previous client : )
[   84.524159] id 37 (54080000.vi_0) min 0 max 4 refs 5 (previous client : )
[   84.524165] id 39 (54080000.vi_2) min 1 max 8 refs 9 (previous client : )
[   84.524171] id 42 (54080000.vi_4) min 1 max 4 refs 5 (previous client : )
[   84.524177] id 44 (57000000.gpu_487) min 6 max 6 refs 1 (previous client : )
[   84.524288]

nvcamera-daemon output is the same for discontinuous_clk = no and discontinuous_clk = yes

LSC: LSC surface is not based on full res!
    LSC: LSC surface is not based on full res!