Hi,
There are two different monitors A and B.
Our display resolution of HDMI and dsi is 1920x1080@30hz.
When we connnect HDMI to monitors A and B ,ubuntu desktop can be displayed normally on monitor A and B after startup.
When we connect dsi to monitor A,we can see ubuntu desktop on the monitor. But when we connect dsi to monitor B ,nothing shows on the monitor, the screen is black.
From log of the kernel, we have got some useful infomation.
For 1920x1080@30hz, its clock-frequency should be keeped with 74250000. But it shows 74338000.
[ 2.273774] fun:tegra_dc_probe:4844 [DSI] ndev[ffffffc0fe248400]
[ 2.279014] tegradc tegradc.0: Display dc.54200000 registered with id=0
[ 2.285518] Display dc.54200000 registered with id=0
[ 2.290473] of_dc_parse_platform_data: DC OR node is connected to /host1x/dsi
[ 2.297709] display board info: id 0x0, fab 0x0
[ 2.302595] OF_DC_LOG: fb bpp 32
[ 2.305278] OF_DC_LOG: fb flip on probe
[ 2.309156] display board info: id 0x0, fab 0x0
[ 2.313846] OF_DC_LOG: dsi controller vs DSI_VS_1
[ 2.318275] OF_DC_LOG: n data lanes 4
[ 2.322011] OF_DC_LOG: dsi video NONE_BURST_MODE_WITH_SYNC_END
[ 2.327723] OF_DC_LOG: dsi pixel format 24BIT_P
[ 2.332241] OF_DC_LOG: dsi refresh rate 30
[ 2.336304] OF_DC_LOG: dsi virtual channel 0
[ 2.340570] OF_DC_LOG: dsi instance 0
[ 2.344189] OF_DC_LOG: dsi panel reset 1
[ 2.348087] OF_DC_LOG: dsi panel te polarity low 1
[ 2.352866] OF_DC_LOG: dsi panel lp00 pre panel wakeup 1
[ 2.358155] OF_DC_LOG: dsi suspend_aggr 3
[ 2.362152] OF_DC_LOG: dsi-lvds_bridge_enabled 1
[ 2.366738] OF_DC_LOG: dsi te_gpio 194
[ 2.370461] OF_DC_LOG: dpd_dsi_pads 4
[ 2.374086] OF_DC_LOG: dpd_dsi_pads 12
[ 2.377814] OF_DC_LOG: dsi power saving suspend 1
[ 2.382518] OF_DC_LOG: dsi ulpm_not_supported 1
[ 2.387002] OF_DC_LOG: dsi video type VIDEO_MODE
[ 2.391605] OF_DC_LOG: dsi video clock mode CONTINUOUS
[ 2.396815] OF_DC_LOG: out_width 217
[ 2.400286] OF_DC_LOG: out_height 135
[ 2.403906] OF_DC_LOG: default_out flag 0
[ 2.407891] OF_DC_LOG: parent clk pll_d_out0
[ 2.412148] OF_DC_LOG: framebuffer xres 1920
[ 2.416381] OF_DC_LOG: framebuffer yres 1080
[ 2.420655] of_dc_parse_platform_data: could not find vrr-settings node
[ 2.427218] of_dc_parse_platform_data: nvidia,hdmi-vrr-caps not present
[ 2.433825] of_dc_parse_platform_data: could not find cmu node for adobeRGB
[ 2.440768] OF_DC_LOG: nvidia,use-auto-pwm 0
[ 2.444982] OF_DC_LOG: nvidia,hw-update-delay 0
[ 2.449499] OF_DC_LOG: nvidia,bin-width -1
[ 2.453562] OF_DC_LOG: nvidia,aggressiveness 5
[ 2.457981] OF_DC_LOG: nvidia,use-vid-luma 0
[ 2.462250] OF_DC_LOG: nvidia,phase-in-settings 0
[ 2.466996] OF_DC_LOG: nvidia,phase-in-adjustments 0
[ 2.472032] OF_DC_LOG: nvidia,k-limit-enable 1
[ 2.476528] OF_DC_LOG: nvidia,k-limit 200
[ 2.480626] OF_DC_LOG: nvidia,sd-window-enable 0
[ 2.485282] OF_DC_LOG: nvidia,soft-clipping-enable 1
[ 2.490233] OF_DC_LOG: nvidia,soft-clipping-threshold 128
[ 2.495596] OF_DC_LOG: nvidia,smooth-k-enable 1
[ 2.500124] OF_DC_LOG: nvidia,smooth-k-incr 4
[ 2.504436] OF_DC_LOG: nvidia,use-vpulse2 1
[ 2.508595] OF_DC_LOG: nvidia,bl-device-name pwm-backlight
[ 2.514068] OF_DC_LOG: nvidia,coeff 5 9 2
[ 2.518043] OF_DC_LOG: nvidia,fc 0 0
[ 2.521619] OF_DC_LOG: nvidia,blp 1024 255
[ 2.525678] OF_DC_LOG: of pclk 74250000
[ 2.529500] OF_DC_LOG: cmu csc 0x138
[ 2.533033] OF_DC_LOG: cmu csc 0x3ba
[ 2.536586] OF_DC_LOG: cmu csc 0xd
[ 2.539989] OF_DC_LOG: cmu csc 0x3f5
[ 2.543520] OF_DC_LOG: cmu csc 0x120
[ 2.547073] OF_DC_LOG: cmu csc 0x3e6
[ 2.550636] OF_DC_LOG: cmu csc 0x3fe
[ 2.554180] OF_DC_LOG: cmu csc 0x3f8
[ 2.557733] OF_DC_LOG: cmu csc 0xe9
[ 2.561257] OF_DC_LOG: dc flags 1
[ 2.564497] OF_DC_LOG: emc clk rate 300000000
[ 2.568832] tegradc tegradc.0: DT parsed successfully
[ 2.574018] tegradc tegradc.0: _tegra_dc_set_mode():MODE:1920x1080@30.000Hz pclk=74250000
[ 2.582038] [DSI]tegra_dc_set_out:2852 type[2]
[ 2.586466] i2c_new_device: name=dsi2lvds_bridge
[ 2.591209] pos:[i2c_register_driver:1424] res[0] driver[dsi2lvds_bridge] registered
[ 2.598819] pos:[i2c_register_driver:1438] res[0] driver[dsi2lvds_bridge] registered
[ 2.606574] tegradc tegradc.0: DSI: HS clock rate is 223000
[ 2.612576] [DSI]tegra_dc_probe type[2] pclk[74250000]
[ 2.617311] [DDDDDDSI]_tegra_dc_enable type[2] pclk[74250000]
[ 2.622948] [DDDDDDSI]_tegra_dc_controller_enable type[2] pclk[74250000]
[ 2.629699] [DDDDDDSI]tegra_dc_init type[2] pclk[74250000]
[ 2.636172] [DDDDDDSI]tegra_dc_program_mode type[2] pclk[74250000]
[ 2.641232] tegradc tegradc.0: tegra_dc_program_mode():MODE:1920x1080@30.000Hz pclk=74250000
[ 2.649632] nominal-pclk:type[2] 74250000 parent:74250000 div:1.0 pclk:74250000 73507500~80932500
[ 2.658490] DDDDD failed_init == 0
[ 2.717997] tegra_get_platform=0
[ 2.719260] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 2.725735] tegradc tegradc.0: dsi: TaSure mipi range violated
[ 2.731551] tegradc tegradc.0: dsi: mipi range violated
[ 2.741877] tegra_get_platform=0
[ 2.743111] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 2.749625] tegradc tegradc.0: dsi: TaSure mipi range violated
[ 2.755418] tegradc tegradc.0: dsi: mipi range violated
[ 2.766405] dsi2lvds_config_lvds value=120
[ 2.768503] dsi ttttt
[ 3.112002] tegra_get_platform=0
[ 3.113237] clk_ps=2242 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 3.119871] tegradc tegradc.0: probed
[ 3.202211] tegradc tegradc.0: _tegra_dc_set_mode():MODE:1920x1080@30.035Hz pclk=74338000
[ 3.208788] [DDDDDDSI]tegra_dc_program_mode type[2] pclk[74338000]
[ 3.208798] tegradc tegradc.0: tegra_dc_program_mode():MODE:1920x1080@30.035Hz pclk=74338000
[ 3.208819] nominal-pclk:type[2] 74338000 parent:222998438 div:3.0 pclk:74332812 73594620~81028420
[ 3.224965] Console: switching to colour frame buffer device 240x67
[ 3.268042] tegradc tegradc.0: fb registered
[ 3.272407] fun:tegra_dc_probe:4844 [DSI] ndev[ffffffc0fe248000]
[ 3.278279] tegradc tegradc.1: Display dc.54240000 registered with id=1
[ 3.284856] Display dc.54240000 registered with id=1
[ 3.289765] of_dc_parse_platform_data: DC OR node is connected to /host1x/sor1
[ 3.297083] OF_DC_LOG: fb bpp 32
[ 3.300151] OF_DC_LOG: fb flip on probe
[ 3.304025] parse_tmds_config: No tmds-config node
[ 3.308813] OF_DC_LOG: out_dcc bus 3
[ 3.312292] OF_DC_LOG: default_out flag 2
[ 3.316251] OF_DC_LOG: tegra dc align msb
[ 3.320268] OF_DC_LOG: tegra order red to blue
[ 3.324664] OF_DC_LOG: parent clk pll_d2
[ 3.328559] of_dc_parse_platform_data: could not find vrr-settings node
[ 3.335187] of_dc_parse_platform_data: nvidia,hdmi-vrr-caps not present
[ 3.341785] of_dc_parse_platform_data: could not find SD settings node
[ 3.348262] of_dc_parse_platform_data: could not find cmu node
[ 3.354073] of_dc_parse_platform_data: could not find cmu node for adobeRGB
[ 3.361031] OF_DC_LOG: dc flags 1
[ 3.364258] OF_DC_LOG: emc clk rate 300000000
[ 3.368601] OF_DC_LOG: cmu enable 1
[ 3.372075] tegradc tegradc.1: DT parsed successfully
[ 3.377367] hdmi: couldn't get regulator vdd_hdmi_5v0
[ 3.382168] [DSI]tegra_dc_set_out:2852 type[1]
[ 3.386639] i2c_new_device: name=tegra_hdmi2.0
[ 3.391130] i2c_new_device: name=tegra_hdmi_scdc
[ 3.395793] gpio wake53 for gpio=225
[ 4.399119] tegradc tegradc.1: _tegra_dc_set_mode():MODE:1920x1080@30.000Hz pclk=74250000
[ 4.405983] [DSI]tegra_dc_probe type[1] pclk[74250000]
[ 4.411632] edid invalid
[ 4.412966] tegradc tegradc.1: tegra_dc_program_mode():MODE:1920x1080@30.000Hz pclk=74250000
[ 4.421484] nominal-pclk:type[1] 74250000 parent:74250000 div:1.0 pclk:74250000 73507500~80932500
[ 4.430309] DDDDD failed_init == 0
[ 4.783854] edid invalid
[ 4.787933] edid invalid
[ 4.792551] tegradc tegradc.1: probed
[ 4.876950] tegradc tegradc.1: fb registered
[ 4.883204] pos:[i2c_register_driver:1424] res[0] driver[tegra_edid] registered
[ 4.892056] pos:[i2c_register_driver:1438] res[0] driver[tegra_edid] registered
[ 19.505950] tegra_get_platform=0
[ 19.505957] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 19.517276] [DDDDDDSI]_tegra_dc_enable type[2] pclk[74000000]
[ 19.517283] [DDDDDDSI]_tegra_dc_controller_enable type[2] pclk[74000000]
[ 19.517365] [DDDDDDSI]tegra_dc_init type[2] pclk[74000000]
[ 19.522650] [DDDDDDSI]tegra_dc_program_mode type[2] pclk[74000000]
[ 19.522722] nominal-pclk:type[2] 74000000 parent:222000000 div:3.0 pclk:74000000 73260000~80660000
[ 19.579052] tegra_get_platform=0
[ 19.579055] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 19.584594] tegra_get_platform=0
[ 19.584596] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 19.922671] tegra_get_platform=0
[ 19.922696] clk_ps=2242 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 20.030226] nominal-pclk:type[1] 74250000 parent:74250000 div:1.0 pclk:74250000 73507500~80932500
[ OK ] Created slice User Slice of ubuntu.
Starting User Manager for UID 1000...
[ OK ] Started Session c1 of user ubuntu.
Starting RealtimeKit Scheduling Policy Service...
[ OK ] Started RealtimeKit Scheduling Policy Service.
Starting Bluetooth service...
[ OK ] Started Bluetooth service.
[ OK ] Started User Manager for UID 1000.
Starting Daemon for power management...
[ OK ] Started Daemon for power management.
[ 23.956044] tegra_get_platform=0
[ 23.956047] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 23.968228] [DDDDDDSI]_tegra_dc_enable type[2] pclk[74000000]
[ 23.968230] [DDDDDDSI]_tegra_dc_controller_enable type[2] pclk[74000000]
[ 23.968265] [DDDDDDSI]tegra_dc_init type[2] pclk[74000000]
[ 23.971521] [DDDDDDSI]tegra_dc_program_mode type[2] pclk[74000000]
[ 23.971551] nominal-pclk:type[2] 74000000 parent:222000000 div:3.0 pclk:74000000 73260000~80660000
[ 24.062192] tegra_get_platform=0
[ 24.062195] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 24.067563] tegra_get_platform=0
[ 24.067565] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 24.402066] tegra_get_platform=0
[ 24.402069] clk_ps=2242 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 24.572915] tegra_get_platform=0
[ 24.572918] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 24.584679] [DDDDDDSI]_tegra_dc_enable type[2] pclk[74000000]
[ 24.584682] [DDDDDDSI]_tegra_dc_controller_enable type[2] pclk[74000000]
[ 24.584731] [DDDDDDSI]tegra_dc_init type[2] pclk[74000000]
[ 24.590291] [DDDDDDSI]tegra_dc_program_mode type[2] pclk[74000000]
[ 24.590338] nominal-pclk:type[2] 74000000 parent:222000000 div:3.0 pclk:74000000 73260000~80660000
[ 24.647140] tegra_get_platform=0
[ 24.647143] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 24.652482] tegra_get_platform=0
[ 24.652484] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 24.992136] tegra_get_platform=0
[ 24.992138] clk_ps=2242 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 25.056687] nominal-pclk:type[1] 74250000 parent:74250000 div:1.0 pclk:74250000 73507500~80932500
[ 25.462684] tegra_get_platform=0
[ 25.462687] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 25.474188] [DDDDDDSI]_tegra_dc_enable type[2] pclk[74000000]
[ 25.474190] [DDDDDDSI]_tegra_dc_controller_enable type[2] pclk[74000000]
[ 25.474235] [DDDDDDSI]tegra_dc_init type[2] pclk[74000000]
[ 25.478789] [DDDDDDSI]tegra_dc_program_mode type[2] pclk[74000000]
[ 25.478833] nominal-pclk:type[2] 74000000 parent:222000000 div:3.0 pclk:74000000 73260000~80660000
[ 25.536522] tegra_get_platform=0
[ 25.536525] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 25.541814] tegra_get_platform=0
[ 25.541816] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 25.882695] tegra_get_platform=0
[ 25.882720] clk_ps=2242 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 25.983420] nominal-pclk:type[1] 74250000 parent:74250000 div:1.0 pclk:74250000 73507500~80932500
We can find taht the clock-frequency is changed after serveral lines error message
] tegra_get_platform=0
[ 2.719260] clk_ps=2252 dsi->info.fpga_freq_khz=0 phy_timing->t_tlpx=2
[ 2.725735] tegradc tegradc.0: dsi: TaSure mipi range violated
[ 2.731551] tegradc tegradc.0: dsi: mipi range violated
Does this the root cause of the problem? How can solve it?
Or there are other reasons?
Is there any suggestions to figure it out?
Thanks in advance.