About DSI DISPLAY PORT

Hi Bros:
How to open Tegra X1 DSI display port A, I would like to display both HDMI and DSI. Now, I have enabled the DSI panel-a-wuxga-8-0 in the device tree, and then the DSI and HDMI display are problematic. This can not correctly enable the DSI port, or there are other steps that are not done. Who has debugged the experience of this model, thank you for sharing.

Hi shrambo,

What is DSI “display port A”? Since you’ve enable DSI panel-a-wuxga-8-0 in your dts, I guess the current status for you is DSI not enable and HDMI works. This may come from panel-selection from board-panel.c

Please check if anything wrong there.

Hi WayneWWW:
In the file, I chose the 1200x1920 panel, but I configured in the device tree is 1920x1080 @ 30Hz, and I also confirmed that the settings are valid, I used two display devices, HDMI display normal, but the DSI port measured out Data is not correct, I guess there is a problem with the data source, but I can not determine whether HDMI and DSI are homologous (whether dc-> powergate_id is the control video source from DisplayA and DiaplayB)? I do not know where to go from the investigation, can you give me some suggestions? Thank you

Hi shrambo,

Please paste the dmesg with only DSI plugged. You error also happens when DSI panel works alone, right?

Hi Wayne:
My DSI output is actually achieved through dsi2lvds conversion chip, the following is my dmesg information:

fun:tegra_dc_probe:4859 [DSI] ndev[ffffffc0fe231800]
[    2.292019] tegradc tegradc.0: Display dc.54200000 registered with id=0
[    2.298589] Display dc.54200000 registered with id=0
[    2.303499] of_dc_parse_platform_data: DC OR node is connected to /host1x/dsi
[    2.310747] display board info: id 0x0, fab 0x0
[    2.315613] OF_DC_LOG: fb bpp 32
[    2.318359] OF_DC_LOG: fb flip on probe
[    2.322180] display board info: id 0x0, fab 0x0
[    2.326973] OF_DC_LOG: dsi controller vs DSI_VS_0
[    2.331315] OF_DC_LOG: n data lanes 4
[    2.334954] OF_DC_LOG: dsi video NONE_BURST_MODE_WITH_SYNC_END
[    2.340789] OF_DC_LOG: dsi pixel format 24BIT_P
[    2.345268] OF_DC_LOG: dsi refresh rate 30
[    2.349353] OF_DC_LOG: dsi virtual channel 0
[    2.353586] OF_DC_LOG: dsi instance 0
[    2.357249] OF_DC_LOG: dsi panel reset 1
[    2.361143] OF_DC_LOG: dsi-lvds_bridge_enabled 1
[    2.365723] OF_DC_LOG: dpd_dsi_pads 4
[    2.369369] OF_DC_LOG: dpd_dsi_pads 12
[    2.373087] OF_DC_LOG: dsi power saving suspend 1
[    2.377790] OF_DC_LOG: dsi ulpm_not_supported 1
[    2.382274] OF_DC_LOG: dsi video type VIDEO_MODE
[    2.386879] OF_DC_LOG: dsi video clock mode CONTINUOUS
[    2.392063] OF_DC_LOG: out_width 256
[    2.395533] OF_DC_LOG: out_height 144
[    2.399204] OF_DC_LOG: default_out flag 0
[    2.403165] OF_DC_LOG: parent clk pll_d_out0
[    2.407420] OF_DC_LOG: framebuffer xres 1920
[    2.411654] OF_DC_LOG: framebuffer yres 1080
[    2.415904] of_dc_parse_platform_data: could not find vrr-settings node
[    2.422514] of_dc_parse_platform_data: nvidia,hdmi-vrr-caps not present
[    2.429097] of_dc_parse_platform_data: could not find cmu node for adobeRGB
[    2.436012] OF_DC_LOG: nvidia,turn-off-brightness 50
[    2.440972] OF_DC_LOG: nvidia,turn-on-brightness 75
[    2.445801] OF_DC_LOG: nvidia,use-auto-pwm 0
[    2.450058] OF_DC_LOG: nvidia,hw-update-delay 0
[    2.454555] OF_DC_LOG: nvidia,bin-width -1
[    2.458649] OF_DC_LOG: nvidia,aggressiveness 5
[    2.463048] OF_DC_LOG: nvidia,use-vid-luma 0
[    2.467304] OF_DC_LOG: nvidia,phase-in-settings  0
[    2.472062] OF_DC_LOG: nvidia,phase-in-adjustments  0
[    2.477111] OF_DC_LOG: nvidia,k-limit-enable  1
[    2.481595] OF_DC_LOG: nvidia,k-limit  200
[    2.485667] OF_DC_LOG: nvidia,sd-window-enable  0
[    2.490359] OF_DC_LOG: nvidia,soft-clipping-enable 1
[    2.495289] OF_DC_LOG: nvidia,soft-clipping-threshold 128
[    2.500684] OF_DC_LOG: nvidia,smooth-k-enable 1
[    2.505169] OF_DC_LOG: nvidia,smooth-k-incr 4
[    2.509512] OF_DC_LOG: nvidia,use-vpulse2 1
[    2.513662] OF_DC_LOG: nvidia,bl-device-name pwm-backlight
[    2.519147] OF_DC_LOG: nvidia,coeff 5 9 2
[    2.523110] OF_DC_LOG: nvidia,fc 0 0
[    2.526673] OF_DC_LOG: nvidia,blp 1024 255
[    2.530743] OF_DC_LOG: of pclk 74250000
[    2.534555] OF_DC_LOG: cmu csc 0xf7
[    2.538035] OF_DC_LOG: cmu csc 0x3f2
[    2.541566] OF_DC_LOG: cmu csc 0x16
[    2.545031] OF_DC_LOG: cmu csc 0x3f4
[    2.548595] OF_DC_LOG: cmu csc 0x101
[    2.552139] OF_DC_LOG: cmu csc 0x3e2
[    2.555691] OF_DC_LOG: cmu csc 0x3ff
[    2.559267] OF_DC_LOG: cmu csc 0x3ff
[    2.562799] OF_DC_LOG: cmu csc 0xde
[    2.566311] OF_DC_LOG: dc flags 1
[    2.569562] OF_DC_LOG: emc clk rate 300000000
[    2.573897] tegradc tegradc.0: DT parsed successfully
[    2.579091] tegradc tegradc.0: _tegra_dc_set_mode():MODE:1920x1080@30.000Hz pclk=74250000
[    2.587088] [DSI]tegra_dc_set_out:2879  type[2]
[    2.591527] __tegra_dc_dsi_init ==[DSI]==enable[1]=====
[    2.596807] [sn65dsi83]tegra_dsi2lvds_init:180 =====caled=====
[    2.602584] [sn65dsi83]init_i2c_slave:143 =====I2C=====
[    2.607795] i2c_new_device: name=dsi2lvds_bridge
[    2.612471] pos:[i2c_register_driver:1424] res[0] driver[dsi2lvds_bridge] registered
[    2.620121] pos:[i2c_register_driver:1438] res[0] driver[dsi2lvds_bridge] registered
[    2.627826] [DSI]tegra_dsi_init_clock_param:704 pixel_format[3] pclk[74250000]
[    2.634999] [DSI4]tegra_dsi_get_lp_clk_rate:572 mode[0] khz[0:222750:222750]
[    2.642042] [DSI4]tegra_dsi_get_hs_clk_rate:546 mode[1] khz[74333:24:8:223000:223000]
[    2.649831] tegradc tegradc.0: DSI: HS clock rate is 223000
[    2.655438] tegra_dc_dsi_init:5299 [DSI]====sysedp_name[dsi_0]====
[    2.662046] [DSI]tegra_dc_probe type[2] pclk[74250000]
[    2.666819] avdd_lcd regulator get failed
[    2.670614] dsi regulator get failed
[    2.675398] tegradc tegradc.0: tegra_dc_program_mode():MODE:1920x1080@30.000Hz pclk=74250000
[    2.682630] nominal-pclk:type[2] 74250000 parent:74250000 div:1.0 pclk:74250000 73507500~80932500
[    2.745900] [DSI3]tegra_dsi_set_dsi_clk:1975 clk_khz[222000] clk_ps[2252] pclk[74000000] refresh_rate[30] 
[    2.755197] tegradc tegradc.0: dsi: TaSure mipi range violated
[    2.759385] tegradc tegradc.0: dsi: mipi range violated
[    2.765476] [DSI4]tegra_dsi_get_lp_clk_rate:572 mode[0] khz[0:222750:222750]
[    2.774598] [DSI3]tegra_dsi_set_dsi_clk:1975 clk_khz[222000] clk_ps[2252] pclk[74000000] refresh_rate[30] 
[    2.782275] tegradc tegradc.0: dsi: TaSure mipi range violated
[    2.788064] tegradc tegradc.0: dsi: mipi range violated
[    2.793255] [sn65dsi83]tegra_dsi2lvds_enable:261 dsi2lvds[ffffffc0fc936b58] enabled[0]
[    3.379151] [DSI3]tegra_dsi_set_dsi_clk:1975 clk_khz[222998] clk_ps[2242] pclk[74333000] refresh_rate[30] 
[    3.386925] tegradc tegradc.0: probed
[    3.470034] tegradc tegradc.0: _tegra_dc_set_mode():MODE:1920x1080@30.035Hz pclk=74338000
[    3.476666] tegradc tegradc.0: tegra_dc_program_mode():MODE:1920x1080@30.035Hz pclk=74338000
[    3.476690] nominal-pclk:type[2] 74338000 parent:222998438 div:3.0 pclk:74332812 73594620~81028420
[    3.492815] Console: switching to colour frame buffer device 240x67
[    3.529768] tegradc tegradc.0: fb registered
[    2.666819] avdd_lcd regulator get failed
[    2.670614] dsi regulator get failed

Do you use a customized board?

Hi shrambo,

Have you clarified the cause and fixed the problem?
Any further information can be shared?

Thanks