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.

AM572x DSS write-back pipeline in Linux SDK

Dear Sir,

I had a AM5728EVM on PSDK2.0.2.11. How does the DSS write-back pipeline work by capture mode in the Processor Linux SDK?

I had referred https://e2e.ti.com/support/arm/sitara_arm/f/791/p/517127/1879890#1879890 problem.

And used https://github.com/tomba/kmsxx/blob/wb/tests/wbtest.cpp for WB m2m test, it work well. 

But my target is to make the DSS write-back pipeline work by capture mode 

which input channel from the output of  DSS Compositor. (TV or LCD Mgr)

 

DISPC_CONTROL2[6] GOWB = 0x1

DISPC_WB_ATTRIBUTES[0] ENABLE = 0x1: Write-back enabled

DISPC_WB_ATTRIBUTES[10] TRUNCATIONENABLE = 0x1: Enable truncation logic from ARGB32 to the pixel

DISPC_WB_ATTRIBUTES[18:16] CHANNELIN = 0x2: TV overlay output

DISPC_WB_ATTRIBUTES[19] WRITEBACKMODE = 0x0: Capture mode (default mode)

DISPC_WB_ATTRIBUTES[4:1] FORMAT = 0x6: RGB16-565

DISPC_WB_SIZE[10:0] SIZEX = 1919

DISPC_WB_SIZE[10:0] SIZEY = 1079

After WB register setting, then ran WB m2m v4l2 driver, but no IRQ happen

Do you have any suggestion ?

  • I have asked the software team to comment.
  • Write back capture mode is already implemented in  ti-linux-4.4.y branch - http://git.ti.com/ti-linux-kernel/ti-linux-kernel/trees/ti-lsk-linux-4.4.y

    In this mode, what ever is getting displayed will be written back to memory. 

    Below is the list of commit id's for capture mode of DSS write back feature support -


    Fixed by CommitID d74375e6f6c0432afcc8ff0867941a314bd5d497 in branch ti-linux-4.4.y
    Fixed by CommitID b7a5f3dea7caf8bf85c83aed5122b3f5d1cba271 in branch ti-linux-4.4.y
    Fixed by CommitID c3c296ce57c55c5f8c673a06bc132a387160c637 in branch ti-linux-4.4.y
    Fixed by CommitID fa82ec354c0f184ec5999daf5e99ab2c9ff1c60a in branch ti-linux-4.4.y
    Fixed by CommitID 7eb0fdf7f8b1b585c0b898870a71425efaceaea8 in branch ti-linux-4.4.y
    Fixed by CommitID 6d2b67ca6c0713b27f7d13a9d10422a0b42f3ab0 in branch ti-linux-4.4.y
    Fixed by CommitID db89da68d841024673517236afc104cea18685cd in branch ti-linux-4.4.y
    Fixed by CommitID 4e55acd9487e2732f30eeca1eb19db973985cb36 in branch ti-linux-4.4.y
    Fixed by CommitID d2bb1e1d436db24c1b52358a9a1262c61addc0aa in branch ti-linux-4.4.y
    Fixed by CommitID 647b064c2aefe520aadd3ba756d4ba6590c62e61 in branch ti-linux-4.4.y
    Fixed by CommitID 9264f99da56b64d12b72c21adf8495d83e40262f in branch ti-linux-4.4.y
    Fixed by CommitID c73dce47183a6bdbe224f5e263b12690613925bf in branch ti-linux-4.4.y
    Fixed by CommitID b4664f4ac4fa3cfdc0033707289a2ff527969a2a in branch ti-linux-4.4.y
    Fixed by CommitID d5a74e84782d56a6d00ee7ea186f0c7f4e8f1abc in branch ti-linux-4.4.y
    Fixed by CommitID 0d009dde321e3c52476c6f3f5ffbdbc1eb38679a in branch ti-linux-4.4.y
    Fixed by CommitID 6cc142444ce7aa52987287f46da4bf1795ca87b3 in branch ti-linux-4.4.y
    Fixed by CommitID 600660dcea76aa9bcf72e5d79d07aed0cc4af08d in branch ti-linux-4.4.y
    Fixed by CommitID 3a88c730ffbcc785f1383bcb368c2616912412a1 in branch ti-linux-4.4.y
    Fixed by CommitID 1f69b1ce47d034a52e2c4e5f6a7ca39d1c0809c1 in branch ti-linux-4.4.y