video: msm: Add logical display id for post processing

Define logical id for display backend processing.
These ids are independent with hw implementation, could be used
for MDP4, MDP5 and future ASICs. Kernel driver implementation will
also be abstracted to the post processing user.

Signed-off-by: Ken Zhang <kenz@codeaurora.org>
(cherry picked from commit 6a431631728d2d217447079dd636bd1e26d56ac4)

Change-Id: I27bd4e7d3803f4b356d924c65ac28e142375d1d5
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
This commit is contained in:
Ken Zhang
2012-08-08 16:46:22 -04:00
committed by Stephen Boyd
parent 1af71af874
commit 2284c6b380

View File

@@ -357,12 +357,15 @@ struct mdp_histogram {
/*
mdp_block_type defines the identifiers for each of pipes in MDP 4.3
mdp_block_type defines the identifiers for pipes in MDP 4.3 and up
MDP_BLOCK_RESERVED is provided for backward compatibility and is
deprecated. It corresponds to DMA_P. So MDP_BLOCK_DMA_P should be used
instead.
MDP_LOGICAL_BLOCK_DISP_0 identifies the display pipe which fb0 uses,
same for others.
*/
enum {
@@ -377,6 +380,9 @@ enum {
MDP_BLOCK_DMA_S,
MDP_BLOCK_DMA_E,
MDP_BLOCK_OVERLAY_2,
MDP_LOGICAL_BLOCK_DISP_0 = 0x1000,
MDP_LOGICAL_BLOCK_DISP_1,
MDP_LOGICAL_BLOCK_DISP_2,
MDP_BLOCK_MAX,
};