I have added a chip to convert dsi to hdmi.
JetsonTX2 DSI --> DSI2HDMI --> HDMI Monitor
output 1080p is normal, but output 4k is abnormal.
using test generator patten, the DSI2HDMI chip output 4k is normal.
here is my dts configure:
status = "disabled";
compatible = "f,lt9611";
nvidia,dsi-instance = <DSI_INSTANCE_0>;
nvidia,dsi-n-data-lanes = <4>;
nvidia,dsi-pixel-format = <TEGRA_DSI_PIXEL_FORMAT_24BIT_P>;
nvidia,dsi-refresh-rate = <60>;
nvidia,dsi-video-data-type = <TEGRA_DSI_VIDEO_TYPE_VIDEO_MODE>;
nvidia,dsi-video-clock-mode = <TEGRA_DSI_VIDEO_CLOCK_CONTINUOUS>;
nvidia,dsi-video-burst-mode = <TEGRA_DSI_VIDEO_NONE_BURST_MODE_WITH_SYNC_END>;
nvidia,dsi-controller-vs = <DSI_VS_1>;
nvidia,dsi-virtual-channel = <TEGRA_DSI_VIRTUAL_CHANNEL_0>;
nvidia,dsi-panel-reset = <TEGRA_DSI_DISABLE>;
nvidia,dsi-ulpm-not-support = <TEGRA_DSI_ENABLE>;
nvidia,dsi-suspend-stop-stream-late = <TEGRA_DSI_DISABLE>;
nvidia,dsi-power-saving-suspend = <TEGRA_DSI_DISABLE>;
nvidia,default_color_space = <1>; /*default color profile:adobeRGB*/
nvidia,out-type = <TEGRA_DC_OUT_DSI>;
nvidia,out-flags = <TEGRA_DC_OUT_CONTINUOUS_MODE>;
nvidia,out-parent-clk = "pll_d";
nvidia,out-xres = <3840>;
nvidia,out-yres = <2160>;
clock-frequency = <297000000>;
hactive = <3840>;
vactive = <2160>;
hfront-porch = <176>;
hback-porch = <296>;
hsync-len = <88>;
vfront-porch = <8>;
vback-porch = <72>;
vsync-len = <10>;
nvidia,h-ref-to-sync = <1>;
nvidia,v-ref-to-sync = <7>;
Kindly help me resolve this issue.
Please dump the dmesg and also the clk information
Does this HDMI monitor support 4k@60 mode?
This HDMI monitor support 4k@30 mode.
I have changed the refresh rate in dts:
//nvidia,dsi-refresh-rate = <60>;
nvidia,dsi-refresh-rate = <30>;
the output still abnormal.
root@localhost:/sys/kernel/debug# cat tegradc.0/mode
root@localhost:/sys/kernel/debug# cat /sys/class/graphics/fb0/mode
clk_summary.log (34.0 KB)
thanks for reply.
I don’t see any error in the clk side. Could you make sure your monitor could support the exact same mode? Please note that it is not just 4k@30. I mean all the parameters in #5 need to support on your monitor.
I have tested several resolution，I don’t think the monitor not support the parameters.
Any clue please tell me
I would say then we cannot share much help here.
It is not possible to enable a mode that is not fully supported on a HDMI monitor. If it can, why should I buy a 4k monitor? I could just buy a 1080p monitor and ask the source to dump 4k resolution. This is just same as what you are trying to do.
When you output some display modes to a monitor that doesn’t support such modes, there would possibly has noise and even distortion.
I do some test to the monitor:
Using HDMI port, output 4k@60 and 4k@30, the monitor is normal display.
Using DSI2HDMI port, output the color bar by enable the test patten generator of DSI2HDMI chip, the monitor is normal display.
So I think the monitor support what I need.
Then I focus on DSI2HDMI chip, I found some requirments for DSI source:
requirment a/b/c/d/e have been configured in TX2 dts.
I don’t know if f/g are configured correctly.
Thanks for reply！
I just confirmed f/g are already set as you want by default.