• Moudy Ho's avatar
    media: platform: mtk-mdp3: chip config split about pipe info · 50709e63
    Moudy Ho authored
    In MDP3, a pipe is used to represent a data path which
    consisting of different components and MUTEX, as shown in
    the following diagram:
    
                         +----------------------------+
                         |           MUTEX [*1]       |
                         +----------------------------+
                            S ^ S ^  S ^  S ^  S ^
                            | | | |  | |  | |  | |
                            | | | |  | |  | |  | |
             +--------------+ | | |  | |  | |  | +-------------+
             | +--------------+ | |  | |  | |  +-------------+ |
             | |         +------+ |  | |  | +------+         | |
             | |         | +------+  | |  +------+ |         | |
             | |         | |         | |         | |         | |
             | |         | |         | |         | |         | |
             v E         v E         v E         v E         v E
          +-------+    +-----+    +-------+    +-----+    +-------+
    B>--->| RDMA0 |>-->| PQ  |>-->| RSZ0  |>-->| PQ  |>-->| WROT0 |>-->B
          +-------+    +-----+    +-------+    +-----+    +-------+
    
    [*1] MUTEX is SOF/EOF signal controller
    [*2] S = Start of frame (SOF)
    [*3] E = End of frame (EOF)
    [*4] B = frame buffer
    
    More pipes will be introduced in future chips for applications such as
    higher frame rate frequency, which should integrate and reorder related
    information into specific chip config file.
    Signed-off-by: default avatarMoudy Ho <moudy.ho@mediatek.com>
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    50709e63
mtk-mdp3-core.c 7.57 KB