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.

TDA2HG: Deviation of color after DSSM2M link

Part Number: TDA2HG

Hi,

My visionSDK version: 3.05.

Here is my link: qt->weston(rgb)->dssm2m(yuv422)->display

I capture picture from weston(which I read from drm device) like this:

But after DSSM2M to display link  the picture like this:

Here is my DSSM2M configure:

       /* DSS M2M WB link */
    pPrm->enableOut = TRUE;
    pPrm->wbInNode = DSSM2MWBLINK_DISPC_WB_IN_NODE_LCD2;
    pPrm->numInPipeLines = 1U;
    pPrm->inPipelines[0U] = DSSM2MWBLINK_DISPC_PIPE_VID2;

    /* input pipeline parameters */
    pPrm->inTarWidth[0U] = displayWidth;
    pPrm->inTarHeight[0U] = displayHeight;
    pPrm->inPosX[0U] = 0U;
    pPrm->inPosY[0U] = 0U;

    /* The overlay width and height are used only if 'wbInNode' is overlay node */
    pPrm->ovlyWidth = displayWidth;
    pPrm->ovlyHeight = displayHeight;

    /* Output parameters */
    /* Input format is ARGB32 and output format is YUV420SP_UV */
    pPrm->outDataFmt = SYSTEM_DF_YUV422I_UYVY;
    pPrm->outWidth = displayWidth;

So is there any problem that DSSM2M will lost presion when convert RGB to YUV?

Thanks!

  • Hi Tim,

    There is a CSC module, which will convert first RGB into YUV format and then to YUV422 format. It may be that the CSC coefficients are not matching with the requirement of the source. 

    There is an SW interface to change CSC coefficients, could you please try changing it?

    Regards,

    Brijesh  

  • Hi Brijesh,

    I captured picture after DSSM2M,it has no deviation.

    I put below sample picture into DSSM2M link.

    Then got picture after DSSM2M below:

    It same as sample picture. But after put it to display link, I got picture below:

    I put two arrows on picture to point out that red spot.

    So Is it possible that display link lost presion? 

    Thanks!

  • Hi,

    ok, what is the output interface from display? Are you using YUV422 discrete sync output interface? In this case, we need to configure DSS in RGB565 input format and disable all pixel processing modules.. So could you please pipeline modules?

    Regards,

    Brijesh

  • Hi,

    Output interface is vout1. I already pipeline modules use visionsdk. Like said before qt->weston(rgb)->dssm2m(yuv422)->display. Here is usecase below:

    And using YUV422 discrete sync output interface as rgb565 into display link. 

  • We only edit these code:

    Int32 DisplayLink_drvDisplayCreate(DisplayLink_Obj *pObj)
    {
    ....
       if(dssPrms->inFmt.dataFormat == SYSTEM_DF_YUV422I_UYVY)
        {
            /* Convert to BGR565 output */
            dssPrms->inFmt.dataFormat = SYSTEM_DF_BGR16_565;
            Vps_printf("Andy: treat SYSTEM_DF_YUV422I_UYVY to SYSTEM_DF_BGR16_565 for display out\n ");
        }
    ....
    }

    Is it need change other place?

  • Hi,

    I got patchs file from FAE, and compared the code, it seems no different. So I think it must have some other place need be configured.

    patch file: spracg3.zip

  • Hi,

    Please make sure that the input format is RGB565, all pixel processing modules are disabled/bypassed and finally, the TDM module is enabled for an 8bit output format. Without these changes, we cannot get YUV422 over a discrete sync interface.

    Thanks

    Gaviraju

  • Hi Gaviraju,

    I checked that already and I think if I missed one of it, there will no display on screen not just some red or green spots on it.

    Thanks!

  • Hi Tim,

    Can you please take dump of DSS registers and share it? I will check to see if there is something wrong.

    Rgds,

    Brijesh 

  • Hi Brijesh,

    dump below:

    root@dra7xx-evm:~# devmem2 0x58000000
    /dev/mem opened.
    Memory mapped at address 0xb6f1d000.
    Read at address  0x58000000 (0xb6f1d000): 0x00000061
    root@dra7xx-evm:~# devmem2 0x58000014
    /dev/mem opened.
    Memory mapped at address 0xb6f38000.
    Read at address  0x58000014 (0xb6f38014): 0x00000001
    root@dra7xx-evm:~# devmem2 0x58000040
    /dev/mem opened.
    Memory mapped at address 0xb6f5f000.
    Read at address  0x58000040 (0xb6f5f040): 0x00010001
    root@dra7xx-evm:~# devmem2 0x5800005c
    /dev/mem opened.
    Memory mapped at address 0xb6f7e000.
    Read at address  0x5800005C (0xb6f7e05c): 0x01408A82

  • Hi,

    Could you please share register values for below two registers for the VP you are using?

    DISPC_CONTROL
    DISPC_CONFIG

    Rgds,

    Brijesh

  • Hi,

    Since I use DSS LCD1, I dumped registers below:

    root@dra7xx-evm:~# devmem2 0x58001044
    /dev/mem opened.
    Memory mapped at address 0xb6fc1000.
    Read at address  0x58001044 (0xb6fc1044): 0x00000804
    root@dra7xx-evm:~# devmem2 0x58001040
    /dev/mem opened.
    Memory mapped at address 0xb6f06000.
    Read at address  0x58001040 (0xb6f06040): 0x00900129
    root@dra7xx-evm:~#

  • Hi Tim,

    The register settings are correct, you are selecting 16bit output and then using TDM, you are setting 16 bit pixel on two clock cycle over 8bit interface.

    can you also please take a dump of DISPC_DATA1_CYCLE1, DISPC_DATA1_CYCLE2 and DISPC_DATA1_CYCLE3 registers? This will tell exactly bits are going out on each clock cycle. 

    Also can you please share the register values of the pipeline you are using? 

    Rgds,

    Brijesh   

  • Hi Brijesh,

    For DISPC_DATA1_CYCLE1, DISPC_DATA1_CYCLE2 and DISPC_DATA1_CYCLE3: 

    root@dra7xx-evm:~# omapconf dump 0x580011D4 0x580011Dc
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x580011D4    | 0x00000008 |
    | 0x580011D8    | 0x00000008 |
    | 0x580011DC    | 0x00000000 |
    |----------------------------|

    For register values of the pipeline, I not sure if it is only vid2 which we use as output. I dump those related registers below:

    root@dra7xx-evm:~# omapconf dump 0x5800114C 0x580011D0
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x5800114C    | 0xB8A00000 |
    | 0x58001150    | 0x00000000 |
    | 0x58001154    | 0x00000000 |
    | 0x58001158    | 0x02CF077F |
    | 0x5800115C    | 0x42088810 |
    | 0x58001160    | 0x07FF07F8 |
    | 0x58001164    | 0x00000800 |
    | 0x58001168    | 0x00000001 |
    | 0x5800116C    | 0x00000001 |
    | 0x58001170    | 0x04000400 |
    | 0x58001174    | 0x02CF077F |
    | 0x58001178    | 0x00000000 |
    | 0x5800117C    | 0x00000000 |
    | 0x58001180    | 0x00000000 |
    | 0x58001184    | 0x00000000 |
    | 0x58001188    | 0x00000000 |
    | 0x5800118C    | 0x00000000 |
    | 0x58001190    | 0x00000000 |
    | 0x58001194    | 0x00000000 |
    | 0x58001198    | 0x00000000 |
    | 0x5800119C    | 0x00000000 |
    | 0x580011A0    | 0x00000000 |
    | 0x580011A4    | 0x00000000 |
    | 0x580011A8    | 0x00000000 |
    | 0x580011AC    | 0x00000000 |
    | 0x580011B0    | 0x00000000 |
    | 0x580011B4    | 0x00000000 |
    | 0x580011B8    | 0x00000000 |
    | 0x580011BC    | 0x00000000 |
    | 0x580011C0    | 0x00000000 |
    | 0x580011C4    | 0x00000000 |
    | 0x580011C8    | 0x00000000 |
    | 0x580011CC    | 0x00000000 |
    | 0x580011D0    | 0x00000000 |
    |----------------------------|
    
    root@dra7xx-evm:~# omapconf dump 0x58001200 0x58001204
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001200    | 0x00000000 |
    | 0x58001204    | 0x00000000 |
    |----------------------------|
    
    root@dra7xx-evm:~# omapconf dump 0x580016A8 0x580016F8
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x580016A8    | 0x04000400 |
    | 0x580016AC    | 0x00000000 |
    | 0x580016B0    | 0x00000000 |
    | 0x580016B4    | 0x00000000 |
    | 0x580016B8    | 0x00000000 |
    | 0x580016BC    | 0x00000000 |
    | 0x580016C0    | 0x00000000 |
    | 0x580016C4    | 0x00000000 |
    | 0x580016C8    | 0x00000000 |
    | 0x580016CC    | 0x00000000 |
    | 0x580016D0    | 0x00000000 |
    | 0x580016D4    | 0x00000000 |
    | 0x580016D8    | 0x00000000 |
    | 0x580016DC    | 0x00000000 |
    | 0x580016E0    | 0x00000000 |
    | 0x580016E4    | 0x00000000 |
    | 0x580016E8    | 0x00000000 |
    | 0x580016EC    | 0x00000000 |
    | 0x580016F0    | 0x00000000 |
    | 0x580016F4    | 0x00000000 |
    | 0x580016F8    | 0x00000000 |
    |----------------------------|

  • Hi Tim,

    The data cycle is setup correctly.

    But looks like VID2 is not used, as it is not enabled. 

    Can you please take dump of VID1/2/3_ATTRUBITE register and also GRPX_ATTRIBUTE register? 

    Could you also please tell what is the input format? is it YUYV (Luma in lower byte) or UYVY (U in lower byte)?

    Regards,

    Brijesh

  • Hi Brijesh,

    Sorry, Tim is busy with other tasks.

    The video input format is YUYV, and  dumped some registers.

    For VID1/2/3_ATTRUBITE register:

    Read at address 0x580010CC (0xb6f950cc): 0x0208880D
    Read at address 0x5800115C (0xb6f3d15c): 0x42088811
    Read at address 0x58001370 (0xb6f80370): 0x00008400

    I did not find the GRPX_ATTRIBUTE register you mentioned. This is the DISPC Registers status.

    REGS_58001000_58001870.log
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001000    | 0x00000051 |
    | 0x58001004    | 0x00000000 |
    | 0x58001008    | 0x00000000 |
    | 0x5800100C    | 0x00000000 |
    | 0x58001010    | 0x00002015 |
    | 0x58001014    | 0x00000001 |
    | 0x58001018    | 0x00000000 |
    | 0x5800101C    | 0x00004422 |
    | 0x58001020    | 0x00000000 |
    | 0x58001024    | 0x00000000 |
    | 0x58001028    | 0x00000000 |
    | 0x5800102C    | 0x00000000 |
    | 0x58001030    | 0x00000000 |
    | 0x58001034    | 0x00000000 |
    | 0x58001038    | 0x00000000 |
    | 0x5800103C    | 0x00000000 |
    | 0x58001040    | 0x00900129 |
    | 0x58001044    | 0x00000804 |
    | 0x58001048    | 0x00000000 |
    | 0x5800104C    | 0x00000010 |
    | 0x58001050    | 0x00000000 |
    | 0x58001054    | 0x00000000 |
    | 0x58001058    | 0x00000000 |
    | 0x5800105C    | 0x00000189 |
    | 0x58001060    | 0x000002CB |
    | 0x58001064    | 0x09F05F7B |
    | 0x58001068    | 0x00C00622 |
    | 0x5800106C    | 0x00007000 |
    | 0x58001070    | 0x00010001 |
    | 0x58001074    | 0xFFFFFFFF |
    | 0x58001078    | 0x00000000 |
    | 0x5800107C    | 0x02CF077F |
    | 0x58001080    | 0x00000000 |
    | 0x58001084    | 0x00000000 |
    | 0x58001088    | 0x00000000 |
    | 0x5800108C    | 0x00000000 |
    | 0x58001090    | 0x00000000 |
    | 0x58001094    | 0x00000000 |
    | 0x58001098    | 0x00000000 |
    | 0x5800109C    | 0x00000000 |
    | 0x580010A0    | 0x000000A0 |
    | 0x580010A4    | 0x04FF04F8 |
    | 0x580010A8    | 0x00000500 |
    | 0x580010AC    | 0x00000001 |
    | 0x580010B0    | 0x00000001 |
    | 0x580010B4    | 0x00000000 |
    | 0x580010B8    | 0x00000000 |
    | 0x580010BC    | 0x88E4C000 |
    | 0x580010C0    | 0x00000000 |
    | 0x580010C4    | 0x00000000 |
    | 0x580010C8    | 0x02CF077F |
    | 0x580010CC    | 0x0208880D |
    | 0x580010D0    | 0x07FF07F8 |
    | 0x580010D4    | 0x00000800 |
    | 0x580010D8    | 0x00000001 |
    | 0x580010DC    | 0x00000001 |
    | 0x580010E0    | 0x04000400 |
    | 0x580010E4    | 0x02CF077F |
    | 0x580010E8    | 0x00000000 |
    | 0x580010EC    | 0x00000000 |
    | 0x580010F0    | 0x00000000 |
    | 0x580010F4    | 0x00000000 |
    | 0x580010F8    | 0x00000000 |
    | 0x580010FC    | 0x00000000 |
    | 0x58001100    | 0x00000000 |
    | 0x58001104    | 0x00000000 |
    | 0x58001108    | 0x00000000 |
    | 0x5800110C    | 0x00000000 |
    | 0x58001110    | 0x00000000 |
    | 0x58001114    | 0x00000000 |
    | 0x58001118    | 0x00000000 |
    | 0x5800111C    | 0x00000000 |
    | 0x58001120    | 0x00000000 |
    | 0x58001124    | 0x00000000 |
    | 0x58001128    | 0x00000000 |
    | 0x5800112C    | 0x00000000 |
    | 0x58001130    | 0x00000000 |
    | 0x58001134    | 0x00000000 |
    | 0x58001138    | 0x00000000 |
    | 0x5800113C    | 0x00000000 |
    | 0x58001140    | 0x00000000 |
    | 0x58001144    | 0x00000000 |
    | 0x58001148    | 0x00000000 |
    | 0x5800114C    | 0xB8A00000 |
    | 0x58001150    | 0x00000000 |
    | 0x58001154    | 0x00000000 |
    | 0x58001158    | 0x02CF077F |
    | 0x5800115C    | 0x42088810 |
    | 0x58001160    | 0x07FF07F8 |
    | 0x58001164    | 0x00000800 |
    | 0x58001168    | 0x00000001 |
    | 0x5800116C    | 0x00000001 |
    | 0x58001170    | 0x04000400 |
    | 0x58001174    | 0x02CF077F |
    | 0x58001178    | 0x00000000 |
    | 0x5800117C    | 0x00000000 |
    | 0x58001180    | 0x00000000 |
    | 0x58001184    | 0x00000000 |
    | 0x58001188    | 0x00000000 |
    | 0x5800118C    | 0x00000000 |
    | 0x58001190    | 0x00000000 |
    | 0x58001194    | 0x00000000 |
    | 0x58001198    | 0x00000000 |
    | 0x5800119C    | 0x00000000 |
    | 0x580011A0    | 0x00000000 |
    | 0x580011A4    | 0x00000000 |
    | 0x580011A8    | 0x00000000 |
    | 0x580011AC    | 0x00000000 |
    | 0x580011B0    | 0x00000000 |
    | 0x580011B4    | 0x00000000 |
    | 0x580011B8    | 0x00000000 |
    | 0x580011BC    | 0x00000000 |
    | 0x580011C0    | 0x00000000 |
    | 0x580011C4    | 0x00000000 |
    | 0x580011C8    | 0x00000000 |
    | 0x580011CC    | 0x00000000 |
    | 0x580011D0    | 0x00000000 |
    | 0x580011D4    | 0x00000008 |
    | 0x580011D8    | 0x00000008 |
    | 0x580011DC    | 0x00000000 |
    | 0x580011E0    | 0x00000000 |
    | 0x580011E4    | 0x00000000 |
    | 0x580011E8    | 0x00000000 |
    | 0x580011EC    | 0x00000000 |
    | 0x580011F0    | 0x00000000 |
    | 0x580011F4    | 0x00000000 |
    | 0x580011F8    | 0x00000000 |
    | 0x580011FC    | 0x00000000 |
    | 0x58001200    | 0x00000000 |
    | 0x58001204    | 0x00000000 |
    | 0x58001208    | 0x00000000 |
    | 0x5800120C    | 0x00000000 |
    | 0x58001210    | 0x00000000 |
    | 0x58001214    | 0x00000000 |
    | 0x58001218    | 0x00000000 |
    | 0x5800121C    | 0x00000000 |
    | 0x58001220    | 0x00000000 |
    | 0x58001224    | 0x00000000 |
    | 0x58001228    | 0x00000000 |
    | 0x5800122C    | 0x00000100 |
    | 0x58001230    | 0x00000100 |
    | 0x58001234    | 0x00000100 |
    | 0x58001238    | 0x00000300 |
    | 0x5800123C    | 0x00000000 |
    | 0x58001240    | 0x00000000 |
    | 0x58001244    | 0x00000000 |
    | 0x58001248    | 0x00000000 |
    | 0x5800124C    | 0x00000000 |
    | 0x58001250    | 0x00000000 |
    | 0x58001254    | 0x00000000 |
    | 0x58001258    | 0x00000000 |
    | 0x5800125C    | 0x00000000 |
    | 0x58001260    | 0x00000000 |
    | 0x58001264    | 0x00000000 |
    | 0x58001268    | 0x00000000 |
    | 0x5800126C    | 0x00000000 |
    | 0x58001270    | 0x00000000 |
    | 0x58001274    | 0x00000000 |
    | 0x58001278    | 0x00000000 |
    | 0x5800127C    | 0x00000000 |
    | 0x58001280    | 0x00000000 |
    | 0x58001284    | 0x00000000 |
    | 0x58001288    | 0x00000000 |
    | 0x5800128C    | 0x00000000 |
    | 0x58001290    | 0x00000000 |
    | 0x58001294    | 0x00000000 |
    | 0x58001298    | 0x00000000 |
    | 0x5800129C    | 0x00000000 |
    | 0x580012A0    | 0x00000000 |
    | 0x580012A4    | 0x00000000 |
    | 0x580012A8    | 0x00000000 |
    | 0x580012AC    | 0x00000000 |
    | 0x580012B0    | 0x00000000 |
    | 0x580012B4    | 0x00000000 |
    | 0x580012B8    | 0x00000000 |
    | 0x580012BC    | 0x00000000 |
    | 0x580012C0    | 0x00000000 |
    | 0x580012C4    | 0x00000000 |
    | 0x580012C8    | 0x00000000 |
    | 0x580012CC    | 0x00000000 |
    | 0x580012D0    | 0x00000000 |
    | 0x580012D4    | 0x00000000 |
    | 0x580012D8    | 0x00000000 |
    | 0x580012DC    | 0x00000000 |
    | 0x580012E0    | 0x00000000 |
    | 0x580012E4    | 0x00000000 |
    | 0x580012E8    | 0x00000000 |
    | 0x580012EC    | 0x00000000 |
    | 0x580012F0    | 0x00000000 |
    | 0x580012F4    | 0x00000000 |
    | 0x580012F8    | 0x00000000 |
    | 0x580012FC    | 0x00000000 |
    | 0x58001300    | 0x00000000 |
    | 0x58001304    | 0x00000000 |
    | 0x58001308    | 0x00000000 |
    | 0x5800130C    | 0x00000000 |
    | 0x58001310    | 0x00000000 |
    | 0x58001314    | 0x00000000 |
    | 0x58001318    | 0x00000000 |
    | 0x5800131C    | 0x00000000 |
    | 0x58001320    | 0x00000000 |
    | 0x58001324    | 0x00000000 |
    | 0x58001328    | 0x00000000 |
    | 0x5800132C    | 0x00000000 |
    | 0x58001330    | 0x00000000 |
    | 0x58001334    | 0x00000000 |
    | 0x58001338    | 0x00000000 |
    | 0x5800133C    | 0x00000000 |
    | 0x58001340    | 0x00000000 |
    | 0x58001344    | 0x00000000 |
    | 0x58001348    | 0x00000000 |
    | 0x5800134C    | 0x00000000 |
    | 0x58001350    | 0x00000000 |
    | 0x58001354    | 0x00000000 |
    | 0x58001358    | 0x00000000 |
    | 0x5800135C    | 0x00000000 |
    | 0x58001360    | 0x00000000 |
    | 0x58001364    | 0x00000000 |
    | 0x58001368    | 0x00000000 |
    | 0x5800136C    | 0x00000000 |
    | 0x58001370    | 0x00008400 |
    | 0x58001374    | 0x00000000 |
    | 0x58001378    | 0x00000000 |
    | 0x5800137C    | 0x00000000 |
    | 0x58001380    | 0x00000000 |
    | 0x58001384    | 0x00000000 |
    | 0x58001388    | 0x00000800 |
    | 0x5800138C    | 0x07FF07F8 |
    | 0x58001390    | 0x04000400 |
    | 0x58001394    | 0x00000000 |
    | 0x58001398    | 0x00000001 |
    | 0x5800139C    | 0x00000000 |
    | 0x580013A0    | 0x00000100 |
    | 0x580013A4    | 0x00000001 |
    | 0x580013A8    | 0x00000000 |
    | 0x580013AC    | 0x00000000 |
    | 0x580013B0    | 0x00000000 |
    | 0x580013B4    | 0x00000000 |
    | 0x580013B8    | 0x00000000 |
    | 0x580013BC    | 0x00000000 |
    | 0x580013C0    | 0x00000000 |
    | 0x580013C4    | 0x00000000 |
    | 0x580013C8    | 0x00000000 |
    | 0x580013CC    | 0x02CF077F |
    | 0x580013D0    | 0x00000000 |
    | 0x580013D4    | 0x00000000 |
    | 0x580013D8    | 0x00000000 |
    | 0x580013DC    | 0x00000000 |
    | 0x580013E0    | 0x00000000 |
    | 0x580013E4    | 0x00000000 |
    | 0x580013E8    | 0x00000000 |
    | 0x580013EC    | 0x00000000 |
    | 0x580013F0    | 0x00000000 |
    | 0x580013F4    | 0x00000000 |
    | 0x580013F8    | 0x00000000 |
    | 0x580013FC    | 0x00000000 |
    | 0x58001400    | 0x00000000 |
    | 0x58001404    | 0x00000000 |
    | 0x58001408    | 0x00000000 |
    | 0x5800140C    | 0x00040001 |
    | 0x58001410    | 0x00000000 |
    | 0x58001414    | 0x00000000 |
    | 0x58001418    | 0x00000000 |
    | 0x5800141C    | 0x00000000 |
    | 0x58001420    | 0x00000000 |
    | 0x58001424    | 0x00000000 |
    | 0x58001428    | 0x00000000 |
    | 0x5800142C    | 0x00000000 |
    | 0x58001430    | 0x00000000 |
    | 0x58001434    | 0x00000000 |
    | 0x58001438    | 0x00000000 |
    | 0x5800143C    | 0x00000000 |
    | 0x58001440    | 0x00000000 |
    | 0x58001444    | 0x00000000 |
    | 0x58001448    | 0x00000000 |
    | 0x5800144C    | 0x00000000 |
    | 0x58001450    | 0x00000000 |
    | 0x58001454    | 0x00000000 |
    | 0x58001458    | 0x00000000 |
    | 0x5800145C    | 0x00000000 |
    | 0x58001460    | 0x00000000 |
    | 0x58001464    | 0x00000000 |
    | 0x58001468    | 0x00000000 |
    | 0x5800146C    | 0x00000000 |
    | 0x58001470    | 0x00000000 |
    | 0x58001474    | 0x00000000 |
    | 0x58001478    | 0x00000000 |
    | 0x5800147C    | 0x00000000 |
    | 0x58001480    | 0x00000000 |
    | 0x58001484    | 0x00000000 |
    | 0x58001488    | 0x00000000 |
    | 0x5800148C    | 0x00000000 |
    | 0x58001490    | 0x00000000 |
    | 0x58001494    | 0x00000000 |
    | 0x58001498    | 0x00000000 |
    | 0x5800149C    | 0x00000000 |
    | 0x580014A0    | 0x00000000 |
    | 0x580014A4    | 0x00000000 |
    | 0x580014A8    | 0x00000000 |
    | 0x580014AC    | 0x00000000 |
    | 0x580014B0    | 0x00000000 |
    | 0x580014B4    | 0x00000000 |
    | 0x580014B8    | 0x00000000 |
    | 0x580014BC    | 0x00000000 |
    | 0x580014C0    | 0x00000000 |
    | 0x580014C4    | 0x00000000 |
    | 0x580014C8    | 0x00000000 |
    | 0x580014CC    | 0x00000000 |
    | 0x580014D0    | 0x00000000 |
    | 0x580014D4    | 0x00000000 |
    | 0x580014D8    | 0x00000000 |
    | 0x580014DC    | 0x00000000 |
    | 0x580014E0    | 0x00000000 |
    | 0x580014E4    | 0x00000000 |
    | 0x580014E8    | 0x00000000 |
    | 0x580014EC    | 0x00000000 |
    | 0x580014F0    | 0x00000000 |
    | 0x580014F4    | 0x00000000 |
    | 0x580014F8    | 0x00000000 |
    | 0x580014FC    | 0x00000000 |
    | 0x58001500    | 0x00000000 |
    | 0x58001504    | 0x00000000 |
    | 0x58001508    | 0x88E4C000 |
    | 0x5800150C    | 0x00000000 |
    | 0x58001510    | 0x00800000 |
    | 0x58001514    | 0x00800000 |
    | 0x58001518    | 0x0E7DF601 |
    | 0x5800151C    | 0x0E7DF6FE |
    | 0x58001520    | 0x2172F102 |
    | 0x58001524    | 0x2172F1FA |
    | 0x58001528    | 0x3762F001 |
    | 0x5800152C    | 0x3762F0F6 |
    | 0x58001530    | 0xF24E4EF2 |
    | 0x58001534    | 0xF24E4E00 |
    | 0x58001538    | 0xF06237F6 |
    | 0x5800153C    | 0xF0623701 |
    | 0x58001540    | 0xF17221FA |
    | 0x58001544    | 0xF1722102 |
    | 0x58001548    | 0xF67D0EFE |
    | 0x5800154C    | 0xF67D0E01 |
    | 0x58001550    | 0x00000000 |
    | 0x58001554    | 0x0000FE01 |
    | 0x58001558    | 0x0000FA02 |
    | 0x5800155C    | 0x0000F601 |
    | 0x58001560    | 0x000000F2 |
    | 0x58001564    | 0x000001F6 |
    | 0x58001568    | 0x000002FA |
    | 0x5800156C    | 0x000001FE |
    | 0x58001570    | 0x00290A36 |
    | 0x58001574    | 0x0096004C |
    | 0x58001578    | 0x0080001D |
    | 0x5800157C    | 0x07EC0795 |
    | 0x58001580    | 0x07AC07D5 |
    | 0x58001584    | 0x00000080 |
    | 0x58001588    | 0x00000800 |
    | 0x5800158C    | 0x00160008 |
    | 0x58001590    | 0x04000400 |
    | 0x58001594    | 0x02CF077F |
    | 0x58001598    | 0x00000001 |
    | 0x5800159C    | 0x00000000 |
    | 0x580015A0    | 0x00000000 |
    | 0x580015A4    | 0x00000001 |
    | 0x580015A8    | 0x02CF077F |
    | 0x580015AC    | 0x00000000 |
    | 0x580015B0    | 0x00000000 |
    | 0x580015B4    | 0x00000000 |
    | 0x580015B8    | 0x00000000 |
    | 0x580015BC    | 0x00000000 |
    | 0x580015C0    | 0x00000000 |
    | 0x580015C4    | 0x00000000 |
    | 0x580015C8    | 0x00000000 |
    | 0x580015CC    | 0x00000000 |
    | 0x580015D0    | 0x00000000 |
    | 0x580015D4    | 0x00000000 |
    | 0x580015D8    | 0x00000000 |
    | 0x580015DC    | 0x00000000 |
    | 0x580015E0    | 0x00000000 |
    | 0x580015E4    | 0x00000000 |
    | 0x580015E8    | 0x00000000 |
    | 0x580015EC    | 0x00000000 |
    | 0x580015F0    | 0x00000000 |
    | 0x580015F4    | 0x00000000 |
    | 0x580015F8    | 0x00000000 |
    | 0x580015FC    | 0x00000000 |
    | 0x58001600    | 0x00000000 |
    | 0x58001604    | 0x00000000 |
    | 0x58001608    | 0x00000000 |
    | 0x5800160C    | 0x00000000 |
    | 0x58001610    | 0x00000000 |
    | 0x58001614    | 0x00000000 |
    | 0x58001618    | 0x00000000 |
    | 0x5800161C    | 0x00000000 |
    | 0x58001620    | 0x00000800 |
    | 0x58001624    | 0x00000000 |
    | 0x58001628    | 0x00000000 |
    | 0x5800162C    | 0x00000000 |
    | 0x58001630    | 0x00000000 |
    | 0x58001634    | 0x00000000 |
    | 0x58001638    | 0x00000000 |
    | 0x5800163C    | 0x04000400 |
    | 0x58001640    | 0x00000000 |
    | 0x58001644    | 0x00000000 |
    | 0x58001648    | 0x00000000 |
    | 0x5800164C    | 0x00000000 |
    | 0x58001650    | 0x00000000 |
    | 0x58001654    | 0x00000000 |
    | 0x58001658    | 0x00000000 |
    | 0x5800165C    | 0x00000000 |
    | 0x58001660    | 0x00000000 |
    | 0x58001664    | 0x00000000 |
    | 0x58001668    | 0x00000000 |
    | 0x5800166C    | 0x00000000 |
    | 0x58001670    | 0x00000000 |
    | 0x58001674    | 0x00000000 |
    | 0x58001678    | 0x00000000 |
    | 0x5800167C    | 0x00000000 |
    | 0x58001680    | 0x00000000 |
    | 0x58001684    | 0x00000000 |
    | 0x58001688    | 0x00000000 |
    | 0x5800168C    | 0x00000000 |
    | 0x58001690    | 0x00000000 |
    | 0x58001694    | 0x00000000 |
    | 0x58001698    | 0x00000000 |
    | 0x5800169C    | 0x00000000 |
    | 0x580016A0    | 0x00000000 |
    | 0x580016A4    | 0x00000000 |
    | 0x580016A8    | 0x04000400 |
    | 0x580016AC    | 0x00000000 |
    | 0x580016B0    | 0x00000000 |
    | 0x580016B4    | 0x00000000 |
    | 0x580016B8    | 0x00000000 |
    | 0x580016BC    | 0x00000000 |
    | 0x580016C0    | 0x00000000 |
    | 0x580016C4    | 0x00000000 |
    | 0x580016C8    | 0x00000000 |
    | 0x580016CC    | 0x00000000 |
    | 0x580016D0    | 0x00000000 |
    | 0x580016D4    | 0x00000000 |
    | 0x580016D8    | 0x00000000 |
    | 0x580016DC    | 0x00000000 |
    | 0x580016E0    | 0x00000000 |
    | 0x580016E4    | 0x00000000 |
    | 0x580016E8    | 0x00000000 |
    | 0x580016EC    | 0x00000000 |
    | 0x580016F0    | 0x00000000 |
    | 0x580016F4    | 0x00000000 |
    | 0x580016F8    | 0x00000000 |
    | 0x580016FC    | 0x00000000 |
    | 0x58001700    | 0x00000000 |
    |----------------------------|
    
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001700    | 0x00000000 |
    | 0x58001704    | 0x00000000 |
    | 0x58001708    | 0x00000000 |
    | 0x5800170C    | 0x00000000 |
    | 0x58001710    | 0x00000000 |
    | 0x58001714    | 0x00000000 |
    | 0x58001718    | 0x00000000 |
    | 0x5800171C    | 0x00000000 |
    | 0x58001720    | 0x00000000 |
    | 0x58001724    | 0x04000400 |
    | 0x58001728    | 0x00000000 |
    | 0x5800172C    | 0x00000000 |
    | 0x58001730    | 0x00000000 |
    | 0x58001734    | 0x00000000 |
    | 0x58001738    | 0x00000000 |
    | 0x5800173C    | 0x00000000 |
    | 0x58001740    | 0x00000000 |
    | 0x58001744    | 0x00000000 |
    | 0x58001748    | 0x00000000 |
    | 0x5800174C    | 0x00000000 |
    | 0x58001750    | 0x00000000 |
    | 0x58001754    | 0x00000000 |
    | 0x58001758    | 0x00000000 |
    | 0x5800175C    | 0x00000000 |
    | 0x58001760    | 0x00000000 |
    | 0x58001764    | 0x00000000 |
    | 0x58001768    | 0x00000000 |
    | 0x5800176C    | 0x00000000 |
    | 0x58001770    | 0x00000000 |
    | 0x58001774    | 0x00000000 |
    | 0x58001778    | 0x00000000 |
    | 0x5800177C    | 0x00000000 |
    | 0x58001780    | 0x00000000 |
    | 0x58001784    | 0x00000000 |
    | 0x58001788    | 0x00000000 |
    | 0x5800178C    | 0x00000000 |
    | 0x58001790    | 0x04000800 |
    | 0x58001794    | 0x00000000 |
    | 0x58001798    | 0x00000000 |
    | 0x5800179C    | 0x00000000 |
    | 0x580017A0    | 0x00800000 |
    | 0x580017A4    | 0x00800000 |
    | 0x580017A8    | 0x0E7DF601 |
    | 0x580017AC    | 0x0E7DF6FE |
    | 0x580017B0    | 0x2172F102 |
    | 0x580017B4    | 0x2172F1FA |
    | 0x580017B8    | 0x3762F001 |
    | 0x580017BC    | 0x3762F0F6 |
    | 0x580017C0    | 0xF24E4EF2 |
    | 0x580017C4    | 0xF24E4E00 |
    | 0x580017C8    | 0xF06237F6 |
    | 0x580017CC    | 0xF0623701 |
    | 0x580017D0    | 0xF17221FA |
    | 0x580017D4    | 0xF1722102 |
    | 0x580017D8    | 0xF67D0EFE |
    | 0x580017DC    | 0xF67D0E01 |
    | 0x580017E0    | 0x00000000 |
    | 0x580017E4    | 0x0000FE01 |
    | 0x580017E8    | 0x0000FA02 |
    | 0x580017EC    | 0x0000F601 |
    | 0x580017F0    | 0x000000F2 |
    | 0x580017F4    | 0x000001F6 |
    | 0x580017F8    | 0x000002FA |
    | 0x580017FC    | 0x000001FE |
    | 0x58001800    | 0x246D2240 |
    | 0x58001804    | 0x00010001 |
    | 0x58001808    | 0x00000000 |
    | 0x5800180C    | 0x00000000 |
    | 0x58001810    | 0x00000000 |
    | 0x58001814    | 0x00000000 |
    | 0x58001818    | 0x00000000 |
    | 0x5800181C    | 0x00000000 |
    | 0x58001820    | 0x00000000 |
    | 0x58001824    | 0x00000000 |
    | 0x58001828    | 0x00000000 |
    | 0x5800182C    | 0x00000000 |
    | 0x58001830    | 0x00000000 |
    | 0x58001834    | 0x00000000 |
    | 0x58001838    | 0x00040001 |
    | 0x5800183C    | 0x00000000 |
    | 0x58001840    | 0x00000000 |
    | 0x58001844    | 0x00000000 |
    | 0x58001848    | 0x00000300 |
    | 0x5800184C    | 0x00000000 |
    | 0x58001850    | 0x00000000 |
    | 0x58001854    | 0x00000000 |
    | 0x58001858    | 0x00000001 |
    | 0x5800185C    | 0x00000006 |
    | 0x58001860    | 0x00000000 |
    | 0x58001864    | 0x00000000 |
    | 0x58001868    | 0x00000000 |
    | 0x5800186C    | 0x00000000 |
    | 0x58001870    | 0x00000000 |
    |----------------------------|
    
    

  • Hi Sans,

    Could you please share me your input YUV order? I mean is Luma stored in lower byte of chroma?

    In this technique, DSS will send out second byte first, then LSB. So if you are storing Luma in lower byte, then chroma would be sent out first. and if you are storing chroma in lower byte, then luma would be sent out first. 

    Please check your input YUV422 ordering and your expected byte ordering on the receiving end.

    Regards,

    Brijesh

  • Hi Brijesh,

    Sorry, can you tell me how to confirm the input YUV order?

    I try to change the order of yuv format pictures directly by 16 bytes or 32 bytes little-endian to big-endian. The picture color is obviously different.

    If it is yuv byte misalignment, shouldn't the whole image display abnormally?

    Thanks.

  • Hi Sans,

    Could you please tell which component are using to get YUV422 output format? is it VPE or DSS WBM2M used to get YUV422 output format?

    Regards,

    Brijesh

  • Hi Brijesh,

    We use DSS WBM2M  to convert RGB to YUV422.

    Thanks.

  • Hi Sans,

    Can you please check what is the output formats set in the DSS WBM2M path? You could even try reading WB_ATTRIBUTE register. 

    If Format field in this register is set to 0xB,ie, UYVY format, luma will be sent out on the first clock cycle. But if it is set to 0xA, ie YUYV format, chroma will be sent out on the first clock cycle. 

    So could you please check and format and change according to your receiver requirement?

    Regards,

    Brijesh  

  • Hi Brijesh,

    The dump register result is as follows:

    omapconf read 0x58001570
    00290A37

    FORMAT: 0xF, xRGB15-1555

    I think this is because of the modification in the code mentioned earlier:

    Int32 DisplayLink_drvDisplayCreate(DisplayLink_Obj *pObj)
    {
    ....
       if(dssPrms->inFmt.dataFormat == SYSTEM_DF_YUV422I_UYVY)
        {
            /* Convert to BGR565 output */
            dssPrms->inFmt.dataFormat = SYSTEM_DF_BGR16_565;
            Vps_printf("Andy: treat SYSTEM_DF_YUV422I_UYVY to SYSTEM_DF_BGR16_565 for display out\n ");
        }
    ....
    }


    Thanks.

  • Hi Sans,

    Can you read register value at 0x58001570 and share it?

    Rgds,

    Brijesh 

  • Hi Brijesh,

    The previous omapconf read command can also dump registers.

    This is the register value dumped:

    root@dra7xx-evm:~# devmem2 0x58001570
    /dev/mem opened.
    Memory mapped at address 0xb6f56000.
    Read at address 0x58001570 (0xb6f56570): 0x00290A36

    The attachment is the status value of all DISPC registers.

    DISPC_REGS.log
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001000    | 0x00000051 |
    | 0x58001004    | 0x00000000 |
    | 0x58001008    | 0x00000000 |
    | 0x5800100C    | 0x00000000 |
    | 0x58001010    | 0x00002015 |
    | 0x58001014    | 0x00000001 |
    | 0x58001018    | 0x00000000 |
    | 0x5800101C    | 0x00004422 |
    | 0x58001020    | 0x00000000 |
    | 0x58001024    | 0x00000000 |
    | 0x58001028    | 0x00000000 |
    | 0x5800102C    | 0x00000000 |
    | 0x58001030    | 0x00000000 |
    | 0x58001034    | 0x00000000 |
    | 0x58001038    | 0x00000000 |
    | 0x5800103C    | 0x00000000 |
    | 0x58001040    | 0x00900129 |
    | 0x58001044    | 0x00000804 |
    | 0x58001048    | 0x00000000 |
    | 0x5800104C    | 0x00000010 |
    | 0x58001050    | 0x00000000 |
    | 0x58001054    | 0x00000000 |
    | 0x58001058    | 0x00000000 |
    | 0x5800105C    | 0x00000189 |
    | 0x58001060    | 0x000002CB |
    | 0x58001064    | 0x09F05F7B |
    | 0x58001068    | 0x00C00622 |
    | 0x5800106C    | 0x00007000 |
    | 0x58001070    | 0x00010001 |
    | 0x58001074    | 0xFFFFFFFF |
    | 0x58001078    | 0x00000000 |
    | 0x5800107C    | 0x02CF077F |
    | 0x58001080    | 0x00000000 |
    | 0x58001084    | 0x00000000 |
    | 0x58001088    | 0x00000000 |
    | 0x5800108C    | 0x00000000 |
    | 0x58001090    | 0x00000000 |
    | 0x58001094    | 0x00000000 |
    | 0x58001098    | 0x00000000 |
    | 0x5800109C    | 0x00000000 |
    | 0x580010A0    | 0x000000A0 |
    | 0x580010A4    | 0x04FF04F8 |
    | 0x580010A8    | 0x00000500 |
    | 0x580010AC    | 0x00000001 |
    | 0x580010B0    | 0x00000001 |
    | 0x580010B4    | 0x00000000 |
    | 0x580010B8    | 0x00000000 |
    | 0x580010BC    | 0x88E4C000 |
    | 0x580010C0    | 0x00000000 |
    | 0x580010C4    | 0x00000000 |
    | 0x580010C8    | 0x02CF077F |
    | 0x580010CC    | 0x0208880D |
    | 0x580010D0    | 0x07FF07F8 |
    | 0x580010D4    | 0x00000800 |
    | 0x580010D8    | 0x00000001 |
    | 0x580010DC    | 0x00000001 |
    | 0x580010E0    | 0x04000400 |
    | 0x580010E4    | 0x02CF077F |
    | 0x580010E8    | 0x00000000 |
    | 0x580010EC    | 0x00000000 |
    | 0x580010F0    | 0x00000000 |
    | 0x580010F4    | 0x00000000 |
    | 0x580010F8    | 0x00000000 |
    | 0x580010FC    | 0x00000000 |
    | 0x58001100    | 0x00000000 |
    | 0x58001104    | 0x00000000 |
    | 0x58001108    | 0x00000000 |
    | 0x5800110C    | 0x00000000 |
    | 0x58001110    | 0x00000000 |
    | 0x58001114    | 0x00000000 |
    | 0x58001118    | 0x00000000 |
    | 0x5800111C    | 0x00000000 |
    | 0x58001120    | 0x00000000 |
    | 0x58001124    | 0x00000000 |
    | 0x58001128    | 0x00000000 |
    | 0x5800112C    | 0x00000000 |
    | 0x58001130    | 0x00000000 |
    | 0x58001134    | 0x00000000 |
    | 0x58001138    | 0x00000000 |
    | 0x5800113C    | 0x00000000 |
    | 0x58001140    | 0x00000000 |
    | 0x58001144    | 0x00000000 |
    | 0x58001148    | 0x00000000 |
    | 0x5800114C    | 0xB8A00000 |
    | 0x58001150    | 0x00000000 |
    | 0x58001154    | 0x00000000 |
    | 0x58001158    | 0x02CF077F |
    | 0x5800115C    | 0x42088810 |
    | 0x58001160    | 0x07FF07F8 |
    | 0x58001164    | 0x00000800 |
    | 0x58001168    | 0x00000001 |
    | 0x5800116C    | 0x00000001 |
    | 0x58001170    | 0x04000400 |
    | 0x58001174    | 0x02CF077F |
    | 0x58001178    | 0x00000000 |
    | 0x5800117C    | 0x00000000 |
    | 0x58001180    | 0x00000000 |
    | 0x58001184    | 0x00000000 |
    | 0x58001188    | 0x00000000 |
    | 0x5800118C    | 0x00000000 |
    | 0x58001190    | 0x00000000 |
    | 0x58001194    | 0x00000000 |
    | 0x58001198    | 0x00000000 |
    | 0x5800119C    | 0x00000000 |
    | 0x580011A0    | 0x00000000 |
    | 0x580011A4    | 0x00000000 |
    | 0x580011A8    | 0x00000000 |
    | 0x580011AC    | 0x00000000 |
    | 0x580011B0    | 0x00000000 |
    | 0x580011B4    | 0x00000000 |
    | 0x580011B8    | 0x00000000 |
    | 0x580011BC    | 0x00000000 |
    | 0x580011C0    | 0x00000000 |
    | 0x580011C4    | 0x00000000 |
    | 0x580011C8    | 0x00000000 |
    | 0x580011CC    | 0x00000000 |
    | 0x580011D0    | 0x00000000 |
    | 0x580011D4    | 0x00000008 |
    | 0x580011D8    | 0x00000008 |
    | 0x580011DC    | 0x00000000 |
    | 0x580011E0    | 0x00000000 |
    | 0x580011E4    | 0x00000000 |
    | 0x580011E8    | 0x00000000 |
    | 0x580011EC    | 0x00000000 |
    | 0x580011F0    | 0x00000000 |
    | 0x580011F4    | 0x00000000 |
    | 0x580011F8    | 0x00000000 |
    | 0x580011FC    | 0x00000000 |
    | 0x58001200    | 0x00000000 |
    | 0x58001204    | 0x00000000 |
    | 0x58001208    | 0x00000000 |
    | 0x5800120C    | 0x00000000 |
    | 0x58001210    | 0x00000000 |
    | 0x58001214    | 0x00000000 |
    | 0x58001218    | 0x00000000 |
    | 0x5800121C    | 0x00000000 |
    | 0x58001220    | 0x00000000 |
    | 0x58001224    | 0x00000000 |
    | 0x58001228    | 0x00000000 |
    | 0x5800122C    | 0x00000100 |
    | 0x58001230    | 0x00000100 |
    | 0x58001234    | 0x00000100 |
    | 0x58001238    | 0x00000300 |
    | 0x5800123C    | 0x00000000 |
    | 0x58001240    | 0x00000000 |
    | 0x58001244    | 0x00000000 |
    | 0x58001248    | 0x00000000 |
    | 0x5800124C    | 0x00000000 |
    | 0x58001250    | 0x00000000 |
    | 0x58001254    | 0x00000000 |
    | 0x58001258    | 0x00000000 |
    | 0x5800125C    | 0x00000000 |
    | 0x58001260    | 0x00000000 |
    | 0x58001264    | 0x00000000 |
    | 0x58001268    | 0x00000000 |
    | 0x5800126C    | 0x00000000 |
    | 0x58001270    | 0x00000000 |
    | 0x58001274    | 0x00000000 |
    | 0x58001278    | 0x00000000 |
    | 0x5800127C    | 0x00000000 |
    | 0x58001280    | 0x00000000 |
    | 0x58001284    | 0x00000000 |
    | 0x58001288    | 0x00000000 |
    | 0x5800128C    | 0x00000000 |
    | 0x58001290    | 0x00000000 |
    | 0x58001294    | 0x00000000 |
    | 0x58001298    | 0x00000000 |
    | 0x5800129C    | 0x00000000 |
    | 0x580012A0    | 0x00000000 |
    | 0x580012A4    | 0x00000000 |
    | 0x580012A8    | 0x00000000 |
    | 0x580012AC    | 0x00000000 |
    | 0x580012B0    | 0x00000000 |
    | 0x580012B4    | 0x00000000 |
    | 0x580012B8    | 0x00000000 |
    | 0x580012BC    | 0x00000000 |
    | 0x580012C0    | 0x00000000 |
    | 0x580012C4    | 0x00000000 |
    | 0x580012C8    | 0x00000000 |
    | 0x580012CC    | 0x00000000 |
    | 0x580012D0    | 0x00000000 |
    | 0x580012D4    | 0x00000000 |
    | 0x580012D8    | 0x00000000 |
    | 0x580012DC    | 0x00000000 |
    | 0x580012E0    | 0x00000000 |
    | 0x580012E4    | 0x00000000 |
    | 0x580012E8    | 0x00000000 |
    | 0x580012EC    | 0x00000000 |
    | 0x580012F0    | 0x00000000 |
    | 0x580012F4    | 0x00000000 |
    | 0x580012F8    | 0x00000000 |
    | 0x580012FC    | 0x00000000 |
    | 0x58001300    | 0x00000000 |
    | 0x58001304    | 0x00000000 |
    | 0x58001308    | 0x00000000 |
    | 0x5800130C    | 0x00000000 |
    | 0x58001310    | 0x00000000 |
    | 0x58001314    | 0x00000000 |
    | 0x58001318    | 0x00000000 |
    | 0x5800131C    | 0x00000000 |
    | 0x58001320    | 0x00000000 |
    | 0x58001324    | 0x00000000 |
    | 0x58001328    | 0x00000000 |
    | 0x5800132C    | 0x00000000 |
    | 0x58001330    | 0x00000000 |
    | 0x58001334    | 0x00000000 |
    | 0x58001338    | 0x00000000 |
    | 0x5800133C    | 0x00000000 |
    | 0x58001340    | 0x00000000 |
    | 0x58001344    | 0x00000000 |
    | 0x58001348    | 0x00000000 |
    | 0x5800134C    | 0x00000000 |
    | 0x58001350    | 0x00000000 |
    | 0x58001354    | 0x00000000 |
    | 0x58001358    | 0x00000000 |
    | 0x5800135C    | 0x00000000 |
    | 0x58001360    | 0x00000000 |
    | 0x58001364    | 0x00000000 |
    | 0x58001368    | 0x00000000 |
    | 0x5800136C    | 0x00000000 |
    | 0x58001370    | 0x00008400 |
    | 0x58001374    | 0x00000000 |
    | 0x58001378    | 0x00000000 |
    | 0x5800137C    | 0x00000000 |
    | 0x58001380    | 0x00000000 |
    | 0x58001384    | 0x00000000 |
    | 0x58001388    | 0x00000800 |
    | 0x5800138C    | 0x07FF07F8 |
    | 0x58001390    | 0x04000400 |
    | 0x58001394    | 0x00000000 |
    | 0x58001398    | 0x00000001 |
    | 0x5800139C    | 0x00000000 |
    | 0x580013A0    | 0x00000100 |
    | 0x580013A4    | 0x00000001 |
    | 0x580013A8    | 0x00000000 |
    | 0x580013AC    | 0x00000000 |
    | 0x580013B0    | 0x00000000 |
    | 0x580013B4    | 0x00000000 |
    | 0x580013B8    | 0x00000000 |
    | 0x580013BC    | 0x00000000 |
    | 0x580013C0    | 0x00000000 |
    | 0x580013C4    | 0x00000000 |
    | 0x580013C8    | 0x00000000 |
    | 0x580013CC    | 0x02CF077F |
    | 0x580013D0    | 0x00000000 |
    | 0x580013D4    | 0x00000000 |
    | 0x580013D8    | 0x00000000 |
    | 0x580013DC    | 0x00000000 |
    | 0x580013E0    | 0x00000000 |
    | 0x580013E4    | 0x00000000 |
    | 0x580013E8    | 0x00000000 |
    | 0x580013EC    | 0x00000000 |
    | 0x580013F0    | 0x00000000 |
    | 0x580013F4    | 0x00000000 |
    | 0x580013F8    | 0x00000000 |
    | 0x580013FC    | 0x00000000 |
    | 0x58001400    | 0x00000000 |
    | 0x58001404    | 0x00000000 |
    | 0x58001408    | 0x00000000 |
    | 0x5800140C    | 0x00040001 |
    | 0x58001410    | 0x00000000 |
    | 0x58001414    | 0x00000000 |
    | 0x58001418    | 0x00000000 |
    | 0x5800141C    | 0x00000000 |
    | 0x58001420    | 0x00000000 |
    | 0x58001424    | 0x00000000 |
    | 0x58001428    | 0x00000000 |
    | 0x5800142C    | 0x00000000 |
    | 0x58001430    | 0x00000000 |
    | 0x58001434    | 0x00000000 |
    | 0x58001438    | 0x00000000 |
    | 0x5800143C    | 0x00000000 |
    | 0x58001440    | 0x00000000 |
    | 0x58001444    | 0x00000000 |
    | 0x58001448    | 0x00000000 |
    | 0x5800144C    | 0x00000000 |
    | 0x58001450    | 0x00000000 |
    | 0x58001454    | 0x00000000 |
    | 0x58001458    | 0x00000000 |
    | 0x5800145C    | 0x00000000 |
    | 0x58001460    | 0x00000000 |
    | 0x58001464    | 0x00000000 |
    | 0x58001468    | 0x00000000 |
    | 0x5800146C    | 0x00000000 |
    | 0x58001470    | 0x00000000 |
    | 0x58001474    | 0x00000000 |
    | 0x58001478    | 0x00000000 |
    | 0x5800147C    | 0x00000000 |
    | 0x58001480    | 0x00000000 |
    | 0x58001484    | 0x00000000 |
    | 0x58001488    | 0x00000000 |
    | 0x5800148C    | 0x00000000 |
    | 0x58001490    | 0x00000000 |
    | 0x58001494    | 0x00000000 |
    | 0x58001498    | 0x00000000 |
    | 0x5800149C    | 0x00000000 |
    | 0x580014A0    | 0x00000000 |
    | 0x580014A4    | 0x00000000 |
    | 0x580014A8    | 0x00000000 |
    | 0x580014AC    | 0x00000000 |
    | 0x580014B0    | 0x00000000 |
    | 0x580014B4    | 0x00000000 |
    | 0x580014B8    | 0x00000000 |
    | 0x580014BC    | 0x00000000 |
    | 0x580014C0    | 0x00000000 |
    | 0x580014C4    | 0x00000000 |
    | 0x580014C8    | 0x00000000 |
    | 0x580014CC    | 0x00000000 |
    | 0x580014D0    | 0x00000000 |
    | 0x580014D4    | 0x00000000 |
    | 0x580014D8    | 0x00000000 |
    | 0x580014DC    | 0x00000000 |
    | 0x580014E0    | 0x00000000 |
    | 0x580014E4    | 0x00000000 |
    | 0x580014E8    | 0x00000000 |
    | 0x580014EC    | 0x00000000 |
    | 0x580014F0    | 0x00000000 |
    | 0x580014F4    | 0x00000000 |
    | 0x580014F8    | 0x00000000 |
    | 0x580014FC    | 0x00000000 |
    | 0x58001500    | 0x00000000 |
    | 0x58001504    | 0x00000000 |
    | 0x58001508    | 0x88E4C000 |
    | 0x5800150C    | 0x00000000 |
    | 0x58001510    | 0x00800000 |
    | 0x58001514    | 0x00800000 |
    | 0x58001518    | 0x0E7DF601 |
    | 0x5800151C    | 0x0E7DF6FE |
    | 0x58001520    | 0x2172F102 |
    | 0x58001524    | 0x2172F1FA |
    | 0x58001528    | 0x3762F001 |
    | 0x5800152C    | 0x3762F0F6 |
    | 0x58001530    | 0xF24E4EF2 |
    | 0x58001534    | 0xF24E4E00 |
    | 0x58001538    | 0xF06237F6 |
    | 0x5800153C    | 0xF0623701 |
    | 0x58001540    | 0xF17221FA |
    | 0x58001544    | 0xF1722102 |
    | 0x58001548    | 0xF67D0EFE |
    | 0x5800154C    | 0xF67D0E01 |
    | 0x58001550    | 0x00000000 |
    | 0x58001554    | 0x0000FE01 |
    | 0x58001558    | 0x0000FA02 |
    | 0x5800155C    | 0x0000F601 |
    | 0x58001560    | 0x000000F2 |
    | 0x58001564    | 0x000001F6 |
    | 0x58001568    | 0x000002FA |
    | 0x5800156C    | 0x000001FE |
    | 0x58001570    | 0x00290A36 |
    | 0x58001574    | 0x0096004C |
    | 0x58001578    | 0x0080001D |
    | 0x5800157C    | 0x07EC0795 |
    | 0x58001580    | 0x07AC07D5 |
    | 0x58001584    | 0x00000080 |
    | 0x58001588    | 0x00000800 |
    | 0x5800158C    | 0x00160008 |
    | 0x58001590    | 0x04000400 |
    | 0x58001594    | 0x02CF077F |
    | 0x58001598    | 0x00000001 |
    | 0x5800159C    | 0x00000000 |
    | 0x580015A0    | 0x00000000 |
    | 0x580015A4    | 0x00000001 |
    | 0x580015A8    | 0x02CF077F |
    | 0x580015AC    | 0x00000000 |
    | 0x580015B0    | 0x00000000 |
    | 0x580015B4    | 0x00000000 |
    | 0x580015B8    | 0x00000000 |
    | 0x580015BC    | 0x00000000 |
    | 0x580015C0    | 0x00000000 |
    | 0x580015C4    | 0x00000000 |
    | 0x580015C8    | 0x00000000 |
    | 0x580015CC    | 0x00000000 |
    | 0x580015D0    | 0x00000000 |
    | 0x580015D4    | 0x00000000 |
    | 0x580015D8    | 0x00000000 |
    | 0x580015DC    | 0x00000000 |
    | 0x580015E0    | 0x00000000 |
    | 0x580015E4    | 0x00000000 |
    | 0x580015E8    | 0x00000000 |
    | 0x580015EC    | 0x00000000 |
    | 0x580015F0    | 0x00000000 |
    | 0x580015F4    | 0x00000000 |
    | 0x580015F8    | 0x00000000 |
    | 0x580015FC    | 0x00000000 |
    | 0x58001600    | 0x00000000 |
    | 0x58001604    | 0x00000000 |
    | 0x58001608    | 0x00000000 |
    | 0x5800160C    | 0x00000000 |
    | 0x58001610    | 0x00000000 |
    | 0x58001614    | 0x00000000 |
    | 0x58001618    | 0x00000000 |
    | 0x5800161C    | 0x00000000 |
    | 0x58001620    | 0x00000800 |
    | 0x58001624    | 0x00000000 |
    | 0x58001628    | 0x00000000 |
    | 0x5800162C    | 0x00000000 |
    | 0x58001630    | 0x00000000 |
    | 0x58001634    | 0x00000000 |
    | 0x58001638    | 0x00000000 |
    | 0x5800163C    | 0x04000400 |
    | 0x58001640    | 0x00000000 |
    | 0x58001644    | 0x00000000 |
    | 0x58001648    | 0x00000000 |
    | 0x5800164C    | 0x00000000 |
    | 0x58001650    | 0x00000000 |
    | 0x58001654    | 0x00000000 |
    | 0x58001658    | 0x00000000 |
    | 0x5800165C    | 0x00000000 |
    | 0x58001660    | 0x00000000 |
    | 0x58001664    | 0x00000000 |
    | 0x58001668    | 0x00000000 |
    | 0x5800166C    | 0x00000000 |
    | 0x58001670    | 0x00000000 |
    | 0x58001674    | 0x00000000 |
    | 0x58001678    | 0x00000000 |
    | 0x5800167C    | 0x00000000 |
    | 0x58001680    | 0x00000000 |
    | 0x58001684    | 0x00000000 |
    | 0x58001688    | 0x00000000 |
    | 0x5800168C    | 0x00000000 |
    | 0x58001690    | 0x00000000 |
    | 0x58001694    | 0x00000000 |
    | 0x58001698    | 0x00000000 |
    | 0x5800169C    | 0x00000000 |
    | 0x580016A0    | 0x00000000 |
    | 0x580016A4    | 0x00000000 |
    | 0x580016A8    | 0x04000400 |
    | 0x580016AC    | 0x00000000 |
    | 0x580016B0    | 0x00000000 |
    | 0x580016B4    | 0x00000000 |
    | 0x580016B8    | 0x00000000 |
    | 0x580016BC    | 0x00000000 |
    | 0x580016C0    | 0x00000000 |
    | 0x580016C4    | 0x00000000 |
    | 0x580016C8    | 0x00000000 |
    | 0x580016CC    | 0x00000000 |
    | 0x580016D0    | 0x00000000 |
    | 0x580016D4    | 0x00000000 |
    | 0x580016D8    | 0x00000000 |
    | 0x580016DC    | 0x00000000 |
    | 0x580016E0    | 0x00000000 |
    | 0x580016E4    | 0x00000000 |
    | 0x580016E8    | 0x00000000 |
    | 0x580016EC    | 0x00000000 |
    | 0x580016F0    | 0x00000000 |
    | 0x580016F4    | 0x00000000 |
    | 0x580016F8    | 0x00000000 |
    | 0x580016FC    | 0x00000000 |
    | 0x58001700    | 0x00000000 |
    |----------------------------|
    
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001700    | 0x00000000 |
    | 0x58001704    | 0x00000000 |
    | 0x58001708    | 0x00000000 |
    | 0x5800170C    | 0x00000000 |
    | 0x58001710    | 0x00000000 |
    | 0x58001714    | 0x00000000 |
    | 0x58001718    | 0x00000000 |
    | 0x5800171C    | 0x00000000 |
    | 0x58001720    | 0x00000000 |
    | 0x58001724    | 0x04000400 |
    | 0x58001728    | 0x00000000 |
    | 0x5800172C    | 0x00000000 |
    | 0x58001730    | 0x00000000 |
    | 0x58001734    | 0x00000000 |
    | 0x58001738    | 0x00000000 |
    | 0x5800173C    | 0x00000000 |
    | 0x58001740    | 0x00000000 |
    | 0x58001744    | 0x00000000 |
    | 0x58001748    | 0x00000000 |
    | 0x5800174C    | 0x00000000 |
    | 0x58001750    | 0x00000000 |
    | 0x58001754    | 0x00000000 |
    | 0x58001758    | 0x00000000 |
    | 0x5800175C    | 0x00000000 |
    | 0x58001760    | 0x00000000 |
    | 0x58001764    | 0x00000000 |
    | 0x58001768    | 0x00000000 |
    | 0x5800176C    | 0x00000000 |
    | 0x58001770    | 0x00000000 |
    | 0x58001774    | 0x00000000 |
    | 0x58001778    | 0x00000000 |
    | 0x5800177C    | 0x00000000 |
    | 0x58001780    | 0x00000000 |
    | 0x58001784    | 0x00000000 |
    | 0x58001788    | 0x00000000 |
    | 0x5800178C    | 0x00000000 |
    | 0x58001790    | 0x04000800 |
    | 0x58001794    | 0x00000000 |
    | 0x58001798    | 0x00000000 |
    | 0x5800179C    | 0x00000000 |
    | 0x580017A0    | 0x00800000 |
    | 0x580017A4    | 0x00800000 |
    | 0x580017A8    | 0x0E7DF601 |
    | 0x580017AC    | 0x0E7DF6FE |
    | 0x580017B0    | 0x2172F102 |
    | 0x580017B4    | 0x2172F1FA |
    | 0x580017B8    | 0x3762F001 |
    | 0x580017BC    | 0x3762F0F6 |
    | 0x580017C0    | 0xF24E4EF2 |
    | 0x580017C4    | 0xF24E4E00 |
    | 0x580017C8    | 0xF06237F6 |
    | 0x580017CC    | 0xF0623701 |
    | 0x580017D0    | 0xF17221FA |
    | 0x580017D4    | 0xF1722102 |
    | 0x580017D8    | 0xF67D0EFE |
    | 0x580017DC    | 0xF67D0E01 |
    | 0x580017E0    | 0x00000000 |
    | 0x580017E4    | 0x0000FE01 |
    | 0x580017E8    | 0x0000FA02 |
    | 0x580017EC    | 0x0000F601 |
    | 0x580017F0    | 0x000000F2 |
    | 0x580017F4    | 0x000001F6 |
    | 0x580017F8    | 0x000002FA |
    | 0x580017FC    | 0x000001FE |
    | 0x58001800    | 0x246D2240 |
    | 0x58001804    | 0x00010001 |
    | 0x58001808    | 0x00000000 |
    | 0x5800180C    | 0x00000000 |
    | 0x58001810    | 0x00000000 |
    | 0x58001814    | 0x00000000 |
    | 0x58001818    | 0x00000000 |
    | 0x5800181C    | 0x00000000 |
    | 0x58001820    | 0x00000000 |
    | 0x58001824    | 0x00000000 |
    | 0x58001828    | 0x00000000 |
    | 0x5800182C    | 0x00000000 |
    | 0x58001830    | 0x00000000 |
    | 0x58001834    | 0x00000000 |
    | 0x58001838    | 0x00040001 |
    | 0x5800183C    | 0x00000000 |
    | 0x58001840    | 0x00000000 |
    | 0x58001844    | 0x00000000 |
    | 0x58001848    | 0x00000300 |
    | 0x5800184C    | 0x00000000 |
    | 0x58001850    | 0x00000000 |
    | 0x58001854    | 0x00000000 |
    | 0x58001858    | 0x00000001 |
    | 0x5800185C    | 0x00000006 |
    | 0x58001860    | 0x00000000 |
    | 0x58001864    | 0x00000000 |
    | 0x58001868    | 0x00000000 |
    | 0x5800186C    | 0x00000000 |
    | 0x58001870    | 0x00000000 |
    |----------------------------|
    
    

    Thanks.

  • Hi Sans,

    It is set to output in UYVY format, which means DSS will send out luma on the first clock cycle. Is it what is expected by your receiver? 

    Can you try changing output format from DSS WBM2M to value 0xA, by changing output format in DSS M2M driver? 

    Lets say if you are using output format as FVID2_DF_YUV422I_YUYV, then change it to FVID2_DF_YUV422I_UYVY or vice versa... 

    Regards,

    Brijesh 

  • Hi Brijesh,

    After UYVY is converted to YUYV, the image color is abnormal.

    Sorry, the description of the previous problem is wrong.
    The color deviation of the previous test picture is because the RGB format of the screenshot software is incorrect.
    Please ignore the color cast test picture.

    The output image is like this:

    The display on the screen is like this, a green halo appears on the white wall.


    You can see some of the photos, in fact, the halo eyes on the screen can clearly see.

    Please pay attention to this kind of spots and halos.

    Thanks.

  • Hi Sans,

    oh ok. I got confused with the color charts that has been shared earlier.

    I am really doubtful that these artifacts are coming from DSS. DSS does not change pixel values only for part of the frame. 

    Can you please save input to the DSS M2M WB driver and see if that looks correct? I am doubting that the input to the DSS itself has artifacts. so can you please check the input first? 

    Regards,

    Brijesh

  • Hi Brijesh,

    I saw that Tim’s previous reply has done a similar operation.

    The images before and after M2M are normal.Currently, only put it to display link display will cause problems.

    Thanks.

  • Hi Sans,

    But at that time, the doubt was on the color being completely wrong. Since now you have confirmed that color are correct, but there is some artifacts, so i want you to check if the input & output of DSS M2M WB is correct. I really doubt that halo artifacts could be introduced by DSS.

    Also can you use the gel file from vision_sdk\ti_components\drivers\pdk_01_10_02_07\packages\ti\drv\vps\docs\tda2xx\TDA2xx_Dss_RegDump.gel and dump all DSS registers and share it? 

    Could you also share which VP output is used for DSS M2M WB and which for sending out over BT format? Which video pipelines are used in this case?

    Rgds,

    Brijesh  

  • Hi Brijesh ,

    Sorry for late reply. 

    Since now you have confirmed that color are correct, but there is some artifacts, so i want you to check if the input & output of DSS M2M WB is correct. I really doubt that halo artifacts could be introduced by DSS.

    Sorry Brijesh, I'm don't know how to check input & output of DSS M2M WB is correct. Since I showed pictures on second floor of this thread, I can't see any different. Will halo artifacts happen when DSS out over BT formate?

    I didn't have CSSStudio, so I can't use TDA2xx_Dss_RegDump.gel to dump register. I use devmem2 to dump it, hope it not hard for you to read.

    6735.regDump.txt
    /dev/mem opened.
    Memory mapped at address 0xb6f94000.
    Read at address  0x58001010 (0xb6f94010): 0x00002015
    /dev/mem opened.
    Memory mapped at address 0xb6ff4000.
    Read at address  0x58001014 (0xb6ff4014): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6f1b000.
    Read at address  0x58001018 (0xb6f1b018): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f67000.
    Read at address  0x5800101C (0xb6f6701c): 0x00004422
    /dev/mem opened.
    Memory mapped at address 0xb6f49000.
    Read at address  0x58001040 (0xb6f49040): 0x00900129
    /dev/mem opened.
    Memory mapped at address 0xb6fd3000.
    Read at address  0x58001044 (0xb6fd3044): 0x00000804
    /dev/mem opened.
    Memory mapped at address 0xb6fed000.
    Read at address  0x5800104C (0xb6fed04c): 0x00000010
    /dev/mem opened.
    Memory mapped at address 0xb6f29000.
    Read at address  0x58001050 (0xb6f29050): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fe8000.
    Read at address  0x58001054 (0xb6fe8054): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fb1000.
    Read at address  0x58001058 (0xb6fb1058): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fcd000.
    Read at address  0x5800105C (0xb6fcd05c): 0x000002C8
    /dev/mem opened.
    Memory mapped at address 0xb6fc6000.
    Read at address  0x58001060 (0xb6fc6060): 0x000002CB
    /dev/mem opened.
    Memory mapped at address 0xb6f0e000.
    Read at address  0x58001064 (0xb6f0e064): 0x09F05F7B
    /dev/mem opened.
    Memory mapped at address 0xb6efd000.
    Read at address  0x58001068 (0xb6efd068): 0x00C00622
    /dev/mem opened.
    Memory mapped at address 0xb6f2e000.
    Read at address  0x5800106C (0xb6f2e06c): 0x00007000
    /dev/mem opened.
    Memory mapped at address 0xb6f39000.
    Read at address  0x58001070 (0xb6f39070): 0x00010001
    /dev/mem opened.
    Memory mapped at address 0xb6f9e000.
    Read at address  0x58001074 (0xb6f9e074): 0xFFFFFFFF
    /dev/mem opened.
    Memory mapped at address 0xb6fb3000.
    Read at address  0x58001078 (0xb6fb3078): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6faa000.
    Read at address  0x5800107C (0xb6faa07c): 0x02CF077F
    /dev/mem opened.
    Memory mapped at address 0xb6f4e000.
    Read at address  0x58001080 (0xb6f4e080): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f40000.
    Read at address  0x58001084 (0xb6f40084): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f58000.
    Read at address  0x58001088 (0xb6f58088): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f1a000.
    Read at address  0x5800108C (0xb6f1a08c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f86000.
    Read at address  0x580010A0 (0xb6f860a0): 0x000000A0
    /dev/mem opened.
    Memory mapped at address 0xb6fcc000.
    Read at address  0x580010A4 (0xb6fcc0a4): 0x04FF04F8
    /dev/mem opened.
    Memory mapped at address 0xb6f33000.
    Read at address  0x580010A8 (0xb6f330a8): 0x00000500
    /dev/mem opened.
    Memory mapped at address 0xb6faf000.
    Read at address  0x580010AC (0xb6faf0ac): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6f16000.
    Read at address  0x580010B0 (0xb6f160b0): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6f50000.
    Read at address  0x580010B8 (0xb6f500b8): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6ff8000.
    Read at address  0x580010BC (0xb6ff80bc): 0x88EB0000
    /dev/mem opened.
    Memory mapped at address 0xb6ff5000.
    Read at address  0x580010C0 (0xb6ff50c0): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f06000.
    Read at address  0x580010C4 (0xb6f060c4): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6ff1000.
    Read at address  0x580010C8 (0xb6ff10c8): 0x02CF077F
    /dev/mem opened.
    Memory mapped at address 0xb6f78000.
    Read at address  0x580010CC (0xb6f780cc): 0x0208880D
    /dev/mem opened.
    Memory mapped at address 0xb6f90000.
    Read at address  0x580010D0 (0xb6f900d0): 0x07FF07F8
    /dev/mem opened.
    Memory mapped at address 0xb6f7e000.
    Read at address  0x580010D4 (0xb6f7e0d4): 0x00000800
    /dev/mem opened.
    Memory mapped at address 0xb6f8a000.
    Read at address  0x580010D8 (0xb6f8a0d8): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6efe000.
    Read at address  0x580010DC (0xb6efe0dc): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6ff0000.
    Read at address  0x580010E0 (0xb6ff00e0): 0x04000400
    /dev/mem opened.
    Memory mapped at address 0xb6f4b000.
    Read at address  0x580010E4 (0xb6f4b0e4): 0x02CF077F
    /dev/mem opened.
    Memory mapped at address 0xb6f57000.
    Read at address  0x58001130 (0xb6f57130): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fe9000.
    Read at address  0x58001134 (0xb6fe9134): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fb2000.
    Read at address  0x58001138 (0xb6fb2138): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f0f000.
    Read at address  0x5800113C (0xb6f0f13c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fac000.
    Read at address  0x58001140 (0xb6fac140): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f6f000.
    Read at address  0x58001154 (0xb6f6f154): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6ff5000.
    Read at address  0x58001158 (0xb6ff5158): 0x02CF077F
    /dev/mem opened.
    Memory mapped at address 0xb6f61000.
    Read at address  0x5800115C (0xb6f6115c): 0x42088810
    /dev/mem opened.
    Memory mapped at address 0xb6f51000.
    Read at address  0x58001160 (0xb6f51160): 0x07FF07F8
    /dev/mem opened.
    Memory mapped at address 0xb6fe8000.
    Read at address  0x58001164 (0xb6fe8164): 0x00000800
    /dev/mem opened.
    Memory mapped at address 0xb6f0d000.
    Read at address  0x58001168 (0xb6f0d168): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6fe9000.
    Read at address  0x5800116C (0xb6fe916c): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6f75000.
    Read at address  0x58001170 (0xb6f75170): 0x04000400
    /dev/mem opened.
    Memory mapped at address 0xb6f38000.
    Read at address  0x58001174 (0xb6f38174): 0x02CF077F
    /dev/mem opened.
    Memory mapped at address 0xb6f3a000.
    Read at address  0x580011C0 (0xb6f3a1c0): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f67000.
    Read at address  0x580011C4 (0xb6f671c4): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f2e000.
    Read at address  0x580011C8 (0xb6f2e1c8): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f49000.
    Read at address  0x580011CC (0xb6f491cc): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6ff2000.
    Read at address  0x580011D0 (0xb6ff21d0): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f13000.
    Read at address  0x580011D4 (0xb6f131d4): 0x00000008
    /dev/mem opened.
    Memory mapped at address 0xb6f73000.
    Read at address  0x580011D8 (0xb6f731d8): 0x00000008
    /dev/mem opened.
    Memory mapped at address 0xb6f15000.
    Read at address  0x580011DC (0xb6f151dc): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fe0000.
    Read at address  0x58001220 (0xb6fe0220): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f39000.
    Read at address  0x58001224 (0xb6f39224): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f94000.
    Read at address  0x58001228 (0xb6f94228): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f61000.
    Read at address  0x5800122C (0xb6f6122c): 0x00000100
    /dev/mem opened.
    Memory mapped at address 0xb6fcb000.
    Read at address  0x58001230 (0xb6fcb230): 0x00000100
    /dev/mem opened.
    Memory mapped at address 0xb6f4b000.
    Read at address  0x58001234 (0xb6f4b234): 0x00000100
    /dev/mem opened.
    Memory mapped at address 0xb6f95000.
    Read at address  0x58001238 (0xb6f95238): 0x00000300
    /dev/mem opened.
    Memory mapped at address 0xb6fbb000.
    Read at address  0x58001240 (0xb6fbb240): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f37000.
    Read at address  0x58001244 (0xb6f37244): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6ff9000.
    Read at address  0x58001248 (0xb6ff9248): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f3d000.
    Read at address  0x5800124C (0xb6f3d24c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fba000.
    Read at address  0x58001370 (0xb6fba370): 0x00008400
    /dev/mem opened.
    Memory mapped at address 0xb6f78000.
    Read at address  0x58001374 (0xb6f78374): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fe6000.
    Read at address  0x58001378 (0xb6fe6378): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f10000.
    Read at address  0x5800137C (0xb6f1037c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fbb000.
    Read at address  0x58001380 (0xb6fbb380): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fd3000.
    Read at address  0x58001384 (0xb6fd3384): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fb0000.
    Read at address  0x58001388 (0xb6fb0388): 0x00000800
    /dev/mem opened.
    Memory mapped at address 0xb6f1c000.
    Read at address  0x5800138C (0xb6f1c38c): 0x07FF07F8
    /dev/mem opened.
    Memory mapped at address 0xb6f40000.
    Read at address  0x58001390 (0xb6f40390): 0x04000400
    /dev/mem opened.
    Memory mapped at address 0xb6f6f000.
    Read at address  0x58001394 (0xb6f6f394): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f55000.
    Read at address  0x58001398 (0xb6f55398): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6fba000.
    Read at address  0x5800139C (0xb6fba39c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fd3000.
    Read at address  0x580013A0 (0xb6fd33a0): 0x00000100
    /dev/mem opened.
    Memory mapped at address 0xb6f68000.
    Read at address  0x580013A4 (0xb6f683a4): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6f0d000.
    Read at address  0x580013A8 (0xb6f0d3a8): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f79000.
    Read at address  0x580013AC (0xb6f793ac): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f90000.
    Read at address  0x580013B0 (0xb6f903b0): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f03000.
    Read at address  0x580013B4 (0xb6f033b4): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f4d000.
    Read at address  0x580013B8 (0xb6f4d3b8): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fcf000.
    Read at address  0x580013BC (0xb6fcf3bc): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fb8000.
    Read at address  0x580013C0 (0xb6fb83c0): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f4f000.
    Read at address  0x580013C4 (0xb6f4f3c4): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f28000.
    Read at address  0x580013C8 (0xb6f283c8): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fbe000.
    Read at address  0x580013CC (0xb6fbe3cc): 0x02CF077F
    /dev/mem opened.
    Memory mapped at address 0xb6fb9000.
    Read at address  0x58001400 (0xb6fb9400): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f89000.
    Read at address  0x58001404 (0xb6f89404): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f72000.
    Read at address  0x58001408 (0xb6f72408): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fc3000.
    Read at address  0x5800140C (0xb6fc340c): 0x00040001
    /dev/mem opened.
    Memory mapped at address 0xb6fcd000.
    Read at address  0x58001570 (0xb6fcd570): 0x00290A36
    /dev/mem opened.
    Memory mapped at address 0xb6fcf000.
    Read at address  0x58001574 (0xb6fcf574): 0x0096004C
    /dev/mem opened.
    Memory mapped at address 0xb6fdd000.
    Read at address  0x58001578 (0xb6fdd578): 0x0080001D
    /dev/mem opened.
    Memory mapped at address 0xb6f0c000.
    Read at address  0x5800157C (0xb6f0c57c): 0x07EC0795
    /dev/mem opened.
    Memory mapped at address 0xb6f5c000.
    Read at address  0x58001580 (0xb6f5c580): 0x07AC07D5
    /dev/mem opened.
    Memory mapped at address 0xb6f08000.
    Read at address  0x58001584 (0xb6f08584): 0x00000080
    /dev/mem opened.
    Memory mapped at address 0xb6fd1000.
    Read at address  0x58001588 (0xb6fd1588): 0x00000800
    /dev/mem opened.
    Memory mapped at address 0xb6f83000.
    Read at address  0x5800158C (0xb6f8358c): 0x00160008
    /dev/mem opened.
    Memory mapped at address 0xb6fb8000.
    Read at address  0x58001590 (0xb6fb8590): 0x04000400
    /dev/mem opened.
    Memory mapped at address 0xb6f92000.
    Read at address  0x58001594 (0xb6f92594): 0x02CF077F
    /dev/mem opened.
    Memory mapped at address 0xb6f3c000.
    Read at address  0x58001598 (0xb6f3c598): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6fa1000.
    Read at address  0x580015A4 (0xb6fa15a4): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6ff3000.
    Read at address  0x580015A8 (0xb6ff35a8): 0x02CF077F
    /dev/mem opened.
    Memory mapped at address 0xb6f8c000.
    Read at address  0x58001600 (0xb6f8c600): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f9d000.
    Read at address  0x58001604 (0xb6f9d604): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fcb000.
    Read at address  0x58001620 (0xb6fcb620): 0x00000800
    /dev/mem opened.
    Memory mapped at address 0xb6f3a000.
    Read at address  0x58001624 (0xb6f3a624): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f3e000.
    Read at address  0x58001628 (0xb6f3e628): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fc8000.
    Read at address  0x5800162C (0xb6fc862c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f78000.
    Read at address  0x58001630 (0xb6f78630): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fd9000.
    Read at address  0x58001638 (0xb6fd9638): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fef000.
    Read at address  0x5800163C (0xb6fef63c): 0x04000400
    /dev/mem opened.
    Memory mapped at address 0xb6f87000.
    Read at address  0x580016A8 (0xb6f876a8): 0x04000400
    /dev/mem opened.
    Memory mapped at address 0xb6fa4000.
    Read at address  0x58001724 (0xb6fa4724): 0x04000400
    /dev/mem opened.
    Memory mapped at address 0xb6f5a000.
    Read at address  0x58001790 (0xb6f5a790): 0x04000800
    /dev/mem opened.
    Memory mapped at address 0xb6fa6000.
    Read at address  0x58001800 (0xb6fa6800): 0x246D2240
    /dev/mem opened.
    Memory mapped at address 0xb6f8c000.
    Read at address  0x58001804 (0xb6f8c804): 0x00010001
    /dev/mem opened.
    Memory mapped at address 0xb6f66000.
    Read at address  0x58001810 (0xb6f66810): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fe9000.
    Read at address  0x58001814 (0xb6fe9814): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f23000.
    Read at address  0x58001818 (0xb6f23818): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fa8000.
    Read at address  0x5800181C (0xb6fa881c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fdc000.
    Read at address  0x58001820 (0xb6fdc820): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f76000.
    Read at address  0x58001824 (0xb6f76824): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f11000.
    Read at address  0x58001828 (0xb6f11828): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fca000.
    Read at address  0x5800182C (0xb6fca82c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fa6000.
    Read at address  0x58001830 (0xb6fa6830): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f05000.
    Read at address  0x58001834 (0xb6f05834): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6ff0000.
    Read at address  0x58001838 (0xb6ff0838): 0x00040001
    /dev/mem opened.
    Memory mapped at address 0xb6f90000.
    Read at address  0x5800183C (0xb6f9083c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f9a000.
    Read at address  0x58001840 (0xb6f9a840): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6ff3000.
    Read at address  0x58001844 (0xb6ff3844): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f9c000.
    Read at address  0x58001848 (0xb6f9c848): 0x00000300
    /dev/mem opened.
    Memory mapped at address 0xb6ff4000.
    Read at address  0x5800184C (0xb6ff484c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f06000.
    Read at address  0x58001854 (0xb6f06854): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f11000.
    Read at address  0x58001858 (0xb6f11858): 0x00000001
    /dev/mem opened.
    Memory mapped at address 0xb6f45000.
    Read at address  0x5800185C (0xb6f4585c): 0x00000006
    /dev/mem opened.
    Memory mapped at address 0xb6f58000.
    Read at address  0x58001860 (0xb6f58860): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f0a000.
    Read at address  0x58001864 (0xb6f0a864): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6fbf000.
    Read at address  0x58001868 (0xb6fbf868): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f34000.
    Read at address  0x5800186C (0xb6f3486c): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xb6f9a000.
    Read at address  0x58001870 (0xb6f9a870): 0x00000000
    

    And I use vout1 for sending out over BT format, and vout2 for DSS M2M WB. Video pipelines is VID1

  • Hi Tim,

    I see two changes that can potentially change your output on the BT601 format.

    1, DISPC_DEFAULT_COLOR0 (0x5800104C) is not set 0x0, please set it to 0x0.

    2, I think VID1 is connected to LCD1 and LCD1 is used for the BT601 output format. But z-order is enabled in the vid1. Please disabled z-order in VID1. 

    Regards,

    Brijesh

  • Hi Brijesh,

    Follow your suggestion, I editored configuration below:

    1.

    root@dra7xx-evm:~# devmem2 0x5800104C
    /dev/mem opened.
    Memory mapped at address 0xb6f9a000.
    Read at address 0x5800104C (0xb6f9a04c): 0x00000000
    2.

    root@dra7xx-evm:~# devmem2 0x580010CC
    /dev/mem opened.
    Memory mapped at address 0xb6f3d000.
    Read at address 0x580010CC (0xb6f3d0cc): 0x0008880D

    But the problem remain.

  • Hi Tim,

    It would be very difficult to figure out, unless we know how is the input. I checked the registers, it looks fine. So could you try saving the input frame and check the input itself is correct? 

    Regards,

    Brijesh

  • Hi Brijesh,

    Yes, I'll dump input frame and output frame in receive site. Any discovery I'll share here.

    Thanks!

    BR/Tim

  • Thank you Tim, i will wait for your reply.

  • Hi Brijesh,

    I dumped input frame and output frame in receive site here: dumprx.rardumptx.rar is input frame and dumprx.rar is output frame.

    There are two kinds of deviation color dot: 1. more blue dot; 2. block dot;

  • Hi Brijesh,

    I use 24 colors card to test again and capture one picture of display video:

    dumppic.rar

    The difference seems only happened on Y plane and only flip at 5th bit. For example: Tx Y: 0xD0, Rx Y: 0xC0.

    dumprx1_pic.yuv: receive site after ub964 dumped data. Formate: YUYV422I. 1920x720

    dumptx1_pic.yuv: send site before display link dumped data. Formate: UYVY422I. 1920x720

    BR/Tim

  • Hi Brijesh,

    Any update?

    Thanks!

    BR/Tim

  • Hi Tim,

    The bit can change only because of the below reasons

    1, Background color, can you please make sure that the background color is set to 0x0 for the LCD output?

    2, Transparency, can you please make sure that the transparency is disabled for the LCD output?

    3,  pinmux, please make sure that pinmux is setup correctly and is not getting overwritten by other SW component. While display is running, you could read back the pinmux register for all data pins to make sure it is correct and unaffected. 

    Regards,

    Brijesh 

  • Hi Brijesh,

    Thanks for your reply!

    Sorry, I forget change my background color setting. After that 24 color card much better now, but still have some flip:

    dump.rar

    here is my settting:

        /* Setting other overlay parameters common to both Venc */
    
        ovlyPrms->deltaLinesPerPanel   = 0;
        ovlyPrms->alphaBlenderEnable   = 0;
        ovlyPrms->backGroundColor      = 0;
        ovlyPrms->colorKeyEnable       = 0;
        ovlyPrms->colorKeySel          = SYSTEM_DSS_DISPC_TRANS_COLOR_KEY_SRC;
        ovlyPrms->ovlyOptimization     = SYSTEM_DSS_DISPC_OVLY_FETCH_ALLDATA;
        ovlyPrms->transColorKey        = DRAW2D_TRANSPARENT_COLOR;
    
        /* Setting overlay pipe parameters */
    
        pipeOvlyPrms[0].pipeLine = SYSTEM_DSS_DISPC_PIPE_VID1;
        pipeOvlyPrms[0].globalAlpha = 0xFF;
        pipeOvlyPrms[0].preMultiplyAlpha = 0;
        pipeOvlyPrms[0].zorderEnable = FALSE;
        pipeOvlyPrms[0].zorder = SYSTEM_DSS_DISPC_ZORDER0;
    
        pipeOvlyPrms[1].pipeLine = SYSTEM_DSS_DISPC_PIPE_VID2;
        pipeOvlyPrms[1].globalAlpha = 0xFF;
        pipeOvlyPrms[1].preMultiplyAlpha = 0;
        pipeOvlyPrms[1].zorderEnable = FALSE;
        pipeOvlyPrms[1].zorder = SYSTEM_DSS_DISPC_ZORDER1;
    
        pipeOvlyPrms[2].pipeLine = SYSTEM_DSS_DISPC_PIPE_VID3;
        pipeOvlyPrms[2].globalAlpha = 0xFF;
        pipeOvlyPrms[2].preMultiplyAlpha = 0;
        pipeOvlyPrms[2].zorderEnable = FALSE;
        pipeOvlyPrms[2].zorder = SYSTEM_DSS_DISPC_ZORDER2;
    
        pipeOvlyPrms[3].pipeLine = SYSTEM_DSS_DISPC_PIPE_GFX1;
        pipeOvlyPrms[3].globalAlpha = 0xFF;
        pipeOvlyPrms[3].preMultiplyAlpha = 0;
        pipeOvlyPrms[3].zorderEnable = FALSE;
        pipeOvlyPrms[3].zorder = SYSTEM_DSS_DISPC_ZORDER3;

    For Transparency, would you please tell me which register should I check? I guess it may be the missed setting.

    For pinmux, I checked CTRL_CORE_PAD_VOUT1_D* :

    root@dra7xx-evm:~# omapconf dump 0x4A0035DC 0x4A0035FC
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x4A0035DC    | 0x00090100 |
    | 0x4A0035E0    | 0x00090100 |
    | 0x4A0035E4    | 0x00090100 |
    | 0x4A0035E8    | 0x00090100 |
    | 0x4A0035EC    | 0x00090100 |
    | 0x4A0035F0    | 0x00090100 |
    | 0x4A0035F4    | 0x00090100 |
    | 0x4A0035F8    | 0x00090100 |
    | 0x4A0035FC    | 0x00090100 |
    |----------------------------|

    It should be right.

    Thanks!

    BR/Tim

  • Hi Tim,

    Can you please check the bit-10 (TCKLCDENABLE) in DISPC_CONFIG register for the LCD output that you are using? 

    Can you also check the background color in the register to confirm if it is set to 0? 

    Check these registers when display is running.. 

    Regards,

    Brijesh

  • Hi Brijesh

    Tim is away temporarily, I helped him to confirm.

    We are using LCD1 and I checked the bit-10 (TCKLCDENABLE) in DISPC_CONFIG(0x58001044) value is 0.

    root@dra7xx-evm:~# omapconf dump 0x58001044 0x58001048
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001044 | 0x00000804 |
    | 0x58001048 | 0x00000000 |
    |----------------------------|

    The background color register(0x5800104C) setting is also 0.

    root@dra7xx-evm:~# omapconf dump 0x5800104C 0x58001050
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x5800104C | 0x00000000 |
    | 0x58001050 | 0x00000000 |
    |----------------------------|

    The register value looks correct.

    Thanks!

  • Hi Sans,

    Could you also please make sure that the ZORDER bit in the attribute register of the video pipeline you are using to send out the YUV data is set to 0? this will make sure that the blending is also disabled. Please check this register while display is running..

    Rgds,

    Brijesh

  • Hi Brijesh,

    Thanks for your quick reply!

    Could you also please make sure that the ZORDER bit in the attribute register of the video pipeline you are using to send out the YUV data is set to 0?

    we use DISPC_VID1_ATTRIBUTES(0x5800 10CC): 

    root@dra7xx-evm:~# devmem2 0x580010CC
    /dev/mem opened.
    Memory mapped at address 0xb6fdd000.
    Read at address  0x580010CC (0xb6fdd0cc): 0x0008880D
    

    but we use DISPC_VID2_ATTRIBUTES(0x5800 115C) as m2mwbLink:

    root@dra7xx-evm:~# devmem2 0x5800115C
    /dev/mem opened.
    Memory mapped at address 0xb6f0a000.
    Read at address  0x5800115C (0xb6f0a15c): 0x42088810
    

    Should I chonfigure DISPC_VID2_ATTRIBUTES ZORDER bit also?

    this will make sure that the blending is also disabled. 

    Is it LCDALPHABLENDERENABLE bit on DISPC_CONFIG(0x58001044) ? San show it " 0x00000804", so it is disabled already.

    Thanks!

    BR/Tim

  • Hi Tim,

    Yes, if you are just connecting only one pipeline to the LCD where VID2 is connected, please disable it for VID2 also. Please also set the background color to 0x0 for LCD2. 

    Regards,

    Brijesh 

  • Hi Brijesh,

    I only use VID2 as M2M write back to convert RGB to YUV and use VID1 as display.

    Anyway, I disabled ZORDER bit in DISPC_VID2_ATTRIBUTES(0x5800 115C) but problem still:

    root@dra7xx-evm:~# devmem2 0x5800115C
    /dev/mem opened.
    Memory mapped at address 0xb6f42000.
    Read at address  0x5800115C (0xb6f4215c): 0x40088811
    

    And DISPC_DEFAULT_COLOR2(0x5800 13AC) is also 0:

    root@dra7xx-evm:~# devmem2 0x580013AC
    /dev/mem opened.
    Memory mapped at address 0xb6f0a000.
    Read at address  0x580013AC (0xb6f0a3ac): 0x00000000

    Thanks!

    BR/Tim

  • Hi Tim,

    Can you please confirm that one bit flip is in the output from DSS WB M2M path? or is it on the display path?

    Regards,

    Brijesh

  • Hi Brijesh,

    I quite confirm that one bit flip is on the dispaly path. As I told, I dumped picture after  DSS WB M2M and dumped picture after display path, then make those compare and found one bit flip. Picture after display path have deviation problem.

    Thanks!

    BR/Tim

  • Hi Tim,

    Do you mean you capture and dumped output from SERDES and then compare it against input? 

    Does DSS WB M2M path output look fine?  

    Let me also again go through the register dump that you have shared earlier.

    Regards,

    Brijesh