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.

Why LUT DPC cann't work with EDGE enhancemnt at the same time in DM368?

 Hi, ti,
 
  
     We use dvsdk_2_10_01_18 for DM368,
 
     The edge enhancer can work in our board, and LUT dpc can work in our board,

     but , we open LUT dpc and  edge enhancer at the same time in IPIPE , the program stops at do_preview_resizer() function, how can resolve it ?

     we also discard first line in our image .
 prev_ss_config.input.image_height = in_height+1;  //zhou
 prev_ss_config.input.vst = 1; 
      
 
    Thank you Ti,

    star

  •  Star,

    Can you explain your configuration in detail? Is it previewer single shot mode? or previewer-resizer together in single shot mode? If you can dump ccdc/ipipe/ipipeif/resizer registers in passing and failing cases, it will be easier to root cause the issue.

  • Yes, we use previewer-resizer together in single shot mode.

    We only open edge nhance or LUT dpc in ipipe of dm368, it can work fine. 

     When we open edge enhance and LUT DPC together, the program stop at do_preview_resizer(); 

    The program cannt run , the register is :

    IPIPEIF ENABLE = 0x0
    IPIPEIF CFG = 0x1605
    IPIPEIF PPLN = 0x528
    IPIPEIF LPFR = 0x7a4
    IPIPEIF HNUM = 0x520
    IPIPEIF VNUM = 0x79a
    IPIPEIF ADDRU = 0x435
    IPIPEIF ADDRL = 0xbf00
    IPIPEIF ADOFS = 0x51
    IPIPEIF RSZ = 0x10
    IPIPEIF GAIN = 0x200
    IPIPEIF DPCM = 0x0
    IPIPEIF CFG2 = 0x0
    IPIPEIF INIRSZ = 0x0
    IPIPEIF OCLIP = fff
    IPIPEIF DTUDF = 0
    IPIPEIF CLKDIV = 1f6b
    IPIPEIF DPC1 = 0
    IPIPEIF DPC2  = 0
    IPIPEIF DFSGVL  = 0
    IPIPEIF DFSGTH  = fff
    IPIPEIF RSZ3A  = 10
    IPIPEIF INIRSZ3A  = 0
    IPIPE Registers
    **************************************************
    IPIPE_SRC_EN = 0x1
    IPIPE_SRC_MODE = 0x1
    IPIPE_SRC_FMT = 0x0
    IPIPE_SRC_COL = 0x4e
    IPIPE_SRC_VPS = 0x1
    IPIPE_SRC_VSZ = 0x799
    IPIPE_SRC_HPS = 0x0
    IPIPE_SRC_HSZ = 0x51f
    IPIPE_SEL_SBU = 0x0
    IPIPE_DMA_STA = 0x0
    IPIPE_GCK_MMR = 0x1
    IPIPE_GCK_PIX = 0xe
    Resizer Registers
    **************************************************
    RSZ_SRC_EN = 0x0
    RSZ_SRC_MODE = 0x1
    RSZ_SRC_FMT0 = 0x0
    RSZ_SRC_FMT1 = 0x0
    RSZ_SRC_VPS = 0x0
    RSZ_SRC_VSZ = 0x799
    RSZ_SRC_HPS = 0x0
    RSZ_SRC_HSZ = 0x51f
    RSZ_DMA_RZA = 0x0
    RSZ_DMA_RZB = 0x0
    RSZ_DMA_STA = 0x0
    RSZ_GCK_MMR = 0x1
    RSZ_GCK_SDR = 0x1
    RSZ_IRQ_RZA = 0x1fff
    RSZ_IRQ_RZB = 0x1fff
    RSZ_YUV_Y_MIN = 0x0
    RSZ_YUV_Y_MAX = 0xff
    RSZ_YUV_C_MIN = 0x0
    RSZ_YUV_C_MAX = 0xff
    RSZ_YUV_PHS = 0x0
    RSZ_SEQ = 0x0
    RSZ A EN = 0x1
    RSZ A MODE = 0x1
    RSZ A 420 = 0x0
    RSZ A I_VPS = 0x0
    RSZ A I_HPS = 0x0
    RSZ A O_VSZ = 0x797
    RSZ A O_HSZ = 0x51f
    RSZ A V_PHS_Y = 0x0
    RSZ A V_PHS_C = 0x0
    RSZ A V_DIF = 0x100
    RSZ A V_TYP = 0x0
    RSZ A V_LPF = 0x0
    RSZ A H_PHS = 0x0
    RSZ A H_PHS_ADJ = 0x0
    RSZ A H_DIF = 0x100
    RSZ A H_TYP = 0x0
    RSZ A H_LPF = 0x0
    RSZ A DWN_EN = 0x0
    RSZ A DWN_AV = 0x0
    RSZ A RGB_EN = 0x0
    RSZ A RGB_TYP = 0x0
    RSZ A RGB_BLD = 0x0
    RSZ A SDR_Y_BAD_H = 0x8537
    RSZ A SDR_Y_BAD_L = 0x4000
    RSZ A SDR_Y_SAD_H = 0x8537
    RSZ A SDR_Y_SAD_L = 0x4000
    RSZ A SDR_Y_OFT = 0x1440
    RSZ A SDR_Y_Y_PTR_S = 0x0
    RSZ A SDR_Y_PTR_E = 0x798
    RSZ A SDR_C_BAD_H = 0x0
    RSZ A SDR_C_BAD_L = 0x0
    RSZ A SDR_C_SAD_H = 0x0
    RSZ A SDR_C_SAD_L = 0x0
    RSZ A SDR_C_OFT = 0x0
    RSZ A SDR_C_PTR_S = 0x0
    RSZ A SDR_C_PTR_E = 0x3cc
    RSZ B EN = 0x1
    RSZ B MODE = 0x1
    RSZ B 420 = 0x3
    RSZ B I_VPS = 0x0
    RSZ B I_HPS = 0x0
    RSZ B O_VSZ = 0x3bf
    RSZ B O_HSZ = 0x4ff
    RSZ B V_PHS_Y = 0x0
    RSZ B V_PHS_C = 0x0
    RSZ B V_DIF = 0x206
    RSZ B V_TYP = 0x0
    RSZ B V_LPF = 0x0
    RSZ B H_PHS = 0x0
    RSZ B H_PHS_ADJ = 0x0
    RSZ B H_DIF = 0x106
    RSZ B H_TYP = 0x0
    RSZ B H_LPF = 0x0
    RSZ B DWN_EN = 0x0
    RSZ B DWN_AV = 0x0
    RSZ B RGB_EN = 0x0
    RSZ B RGB_TYP = 0x0
    RSZ B RGB_BLD = 0x0
    RSZ B SDR_Y_BAD_H = 0x8764
    RSZ B SDR_Y_BAD_L = 0x7000
    RSZ B SDR_Y_SAD_H = 0x8764
    RSZ B SDR_Y_SAD_L = 0x7000
    RSZ B SDR_Y_OFT = 0x500
    RSZ B SDR_Y_Y_PTR_S = 0x0
    RSZ B SDR_Y_PTR_E = 0x3c0
    RSZ b SDR_C_BAD_H = 0x8777
    RSZ B SDR_C_BAD_L = 0x3000
    RSZ B SDR_C_SAD_H = 0x8777
    RSZ B SDR_C_SAD_L = 0x3000
    RSZ B SDR_C_OFT = 0x500
    RSZ B SDR_C_PTR_S = 0x0
    RSZ B SDR_C_PTR_E = 0x1e0

     

  • Please Help me!! for YEE problem.

    Please!!

  • You might want to compare register contents in case 2 and case 3 [both YEE enabled case] and verify all the registers which shows the difference. Apart from that you can turn RSZ-A off in case 2 and check the behavior. These are simple things you can do figure out the problem.