This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[TDA4AL] TIDSS SYNC LOST

Other Parts Discussed in Thread: TDA4VM, TDA4VL

TDA4VM PSDK 8.4.0.6 J721E is normal with a app displaying images.

But TIDSS SYNC LOST happens in TDA4AL PSDK 8.4.0.6 J721S2.

The error message & result video same as below.

Error message in UART

[  169.525066] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  172.977865] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  173.443758] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  174.477367] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  175.243961] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  175.277356] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  175.577444] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  175.643513] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  177.978272] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  178.143707] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  178.149196] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  178.378223] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  184.911079] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  185.843364] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  186.676760] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  188.844462] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  189.344132] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  189.644108] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  189.909652] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  190.844142] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  190.876443] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  190.943731] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  191.011178] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  191.177044] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  191.610774] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  193.376862] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  193.409827] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  193.443302] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  193.576447] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  197.543594] tidss_crtc_error_irq: 4 callbacks suppressed
[  197.543608] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  197.575880] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  197.809839] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  198.243392] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  198.601502] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  198.843209] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  200.376214] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  200.408766] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  200.909571] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  200.943035] tidss 4a00000.dss: CRTC0 SYNC LOST: (irq 80)
[  207.409597] tidss_crtc_error_irq: 4 callbacks suppressed

Result video - display is often broken

  • full video link - 
    http://119.202.38.9:5000/sharing/hBj84MDzV

Could I get some help ?

  • Hi Lee,

    To date, not a single SYNC LOST has occurred. I'm going to do some more aging tests. Thank you!

    Thanks for the update. Sure, lets run it for more duration and see if it goes away completely. 

    Regards,

    Brijesh

  • Hi, Brijesh:

    The final applications I applied to solve the SYNC LOST problem are as follows.

    1. patch file (0001_2D00_Added_2D00_QoS_2D00_parameters_2D00_settings.patch)
      void board_init_f(ulong dummy)
      {
      ...
      	{
      		// setup_navss_nb();
      		// setup_c66_qos();
      		setup_main_r5f_qos();
      		setup_vpac_qos();
      		setup_dmpac_qos();
      		setup_dss_qos();
      		setup_gpu_qos();
      		// setup_encoder_qos();
      	}
      
      	/* Output System Firmware version info */
      	k3_sysfw_print_ver();
    2. change define value
      #define QOS_DSS0_DMA_ORDER_ID (10U)
      #define QOS_DSS0_FBDC_ORDER_ID (10U)
    3. change define value
      #define NAVSS0_NBSS_NB0_CFG_MMRS 0x3702000
      #define NAVSS0_NBSS_NB1_CFG_MMRS 0x3703000
    4. change register value
      void setup_navss_nb(void){    
        /* Map orderid 8-15 to VBUSM.C thread 2 (real-time traffic) */    
        writel(2, NAVSS0_NBSS_NB0_CFG_NB_THREADMAP);
        writel(4, NAVSS0_NBSS_NB1_CFG_NB_THREADMAP);

      void board_init_f(ulong dummy)
      {
      ...
      		setup_navss_nb();
    5. change define value
      #define QOS_DSS0_DMA_ATYPE (3U)
      #define QOS_DSS0_DMA_ORDER_ID (15U)

    I would like to record the applications so far in the technical document.

    Can you give me a technical brief explanation of exactly what role each item plays?

    Or could you introduce me to a reference document explaining these technical details?

    Also, if you could explain logically to me what this problem is like in an integrated way, I would be able to leave a better document by describing it in a technical document.

    Of course your previous comments contain some explanations but they are fragmented and not integrated.

    It would be better if you could take this opportunity to organize it and add a supplementary explanation to the parts that need additional explanation.

    Best Regards,

    UK Lee

  • Hi Lee,

    All of these parameters gives higher priority in the interconnect to the DSS traffic. I would suggest to refer to the QOS section in the TRM/datasheet for more information on these parameters.. Since the issue is resolved, i would recommend closing this ticket.

    Regards,

    Brijesh

  • Hi, Brijesh:

    Yes, I agree to close the ticket.

    Thank you very much for all your support and responses in the meantime.

    Best Regards,

    UK Lee