4 Lane streaming issue at higher resolutions

Hi,

Iam using,
1. Custom nano board with 4 lane mipi(csi0 and csi1) with emmc Nano SOM.
2. L4T 32.2.3.
3. AR1335 sensor (4 lanes).

Iam getting blank green frames at resolution greater than 1280720 while streaming.
Out of 3 frames 2 frames are blank. I confirmed this by capturing 100 frames continuously at 1920
1080.

It is working fine in 640480 and 1280720 resolutions.
In Jetson TX2 all resolution is working fine.

So my question is,
Why this issue happens in nano but not in TX2?
How to solve this issue?

My suspect is buffer handling in Nano might not proper in higher resolutions.

DTB

host1x {
		vi {
			num-channels = <1>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					ecam_vi_in0: endpoint {
						port-index = <0>;
						bus-width = <4>;
						remote-endpoint = <&ecam_csi_out0>;
					};
				};
			};
		};

		nvcsi {
			num-channels = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						ecam_csi_in0: endpoint@0 {
							port-index = <0>;
							bus-width = <4>;
							remote-endpoint = <&ecam_ar1335_out0>;
						};
					};
					port@1 {
						reg = <1>;
						ecam_csi_out0: endpoint@1 {
							remote-endpoint = <&ecam_vi_in0>;
						};
					};
				};
			};
		};

	i2c@546c0000 {
		status = "okay";
		#address-cells = <1>;
		#size-cells = <0>;

		ar1335_a@42 {
				status = "okay";
				compatible = "nvidia,ar1335";
				/* I2C device address */
				reg = <0x3C>; /* AR1335 */

				/* Physical dimensions of sensor */
				physical_w = "3.680";
				physical_h = "2.760";

				sensor_model = "ar1335"; 
				reset-gpios = <&gpio CAM0_RST GPIO_ACTIVE_LOW>;
				pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
				
		
				mode0 { /* AR1335_MODE_1920x1080_60FPS */
					mclk_khz = "24000";
					num_lanes = "4";
					tegra_sinterface = "serial_a";
					phy_mode = "DPHY";
					discontinuous_clk = "no";
					dpcm_enable = "false";
					cil_settletime = "0";

					active_w = "1920";
					active_h = "1080";
					pixel_t = "uyvy";
					readout_orientation = "90";
					line_length = "3448";
					inherent_gain = "1";
					mclk_multiplier = "9.33";
					pix_clk_hz = "182400000";

					gain_factor = "16";
					framerate_factor = "1000000";
					exposure_factor = "1000000";
					min_gain_val = "16"; /* 1.00x */
					max_gain_val = "170"; /* 10.66x */
					step_gain_val = "1";
					default_gain = "16"; /* 1.00x */
					min_hdr_ratio = "1";
					max_hdr_ratio = "1";
					min_framerate = "2000000"; /* 2.0 fps */
					max_framerate = "60000000"; /* 60.0 fps */
					step_framerate = "1";
					default_framerate = "60000000"; /* 60.0 fps */
					min_exp_time = "13"; /* us */
					max_exp_time = "683709"; /* us */
					step_exp_time = "1";
					default_exp_time = "2495"; /* us */
					deskew_initial_enable = "false";
					deskew_periodic_enable = "false";

					embedded_metadata_height = "2";
				};

				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						ecam_ar1335_out0: endpoint {
							port-index = <0>;
							bus-width = <4>;
							remote-endpoint = <&ecam_csi_in0>;
						};
					};
				};
			};
		};

	};
};

/ {
	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";

		status = "okay";

		num_csi_lanes = <4>;
		max_lane_speed = <2500000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		max_pixel_rate = <160000>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

	/**
		 * The general guideline for naming badge_info contains 3 parts, and is as follows,
		 * The first part is the camera_board_id for the module; if the module is in a FFD
		 * platform, then use the platform name for this part.
		 * The second part contains the position of the module, ex. "rear" or "front".
		 * The third part contains the last 6 characters of a part number which is found
		 * in the module's specsheet from the vendor.
		 */
		modules {
			module0 {
				badge = "ecam_cu130";
				position = "rear";
				orientation = "1";
				drivernode0 {
					pcl_id = "v4l2_sensor";
					devname = "e-cam_cu130 6-0042";
					proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/ar1335_a@42";
				};
			};
		};
	};
};

Hi
There’s no buffer handling issue for higher resolution for Nano.
Have a try increase the pix_clk_hz.

Thanks