disp: msm: sde: add drm properties required for wb rotation

This change installs required drm properties for writeback
connector to implement rotation with writeback hw in mdss.

Change-Id: I85ed359d06ff4bafee85a4bfa5b8a99774311e60
Signed-off-by: Prabhanjan Kandula <quic_pkandula@quicinc.com>
Esse commit está contido em:
Prabhanjan Kandula
2022-06-01 01:10:29 -07:00
commit de Gerrit - the friendly Code Review server
commit 4cca89d615
5 arquivos alterados com 37 adições e 1 exclusões

Ver arquivo

@@ -502,11 +502,27 @@ enum sde_sys_cache_state {
* WB_USAGE_WFD: WB connector used for WFD
* WB_USAGE_CWB: WB connector used for concurrent writeback
* WB_USAGE_OFFLINE_WB: WB connector used for 2-pass composition
* WB_USAGE_ROT: WB connector used for image rotation for 2 pass composition
*/
enum sde_wb_usage_type {
WB_USAGE_WFD,
WB_USAGE_CWB,
WB_USAGE_OFFLINE_WB,
WB_USAGE_ROT,
};
/**
* enum sde_wb_rot_type: Type of rotation use case of the WB connector
* WB_ROT_NONE : WB Rotation not in use
* WB_ROT_SINGLE: WB Rotation used in single job mode for full image rotation
* WB_ROT_JOB1: WB Rotation used for rotating half image as first-job
* WB_ROT_JOB2: WB Rotation used for rotating half image as second-job
*/
enum sde_wb_rot_type {
WB_ROT_NONE,
WB_ROT_SINGLE,
WB_ROT_JOB1,
WB_ROT_JOB2,
};
/** struct sde_format - defines the format configuration which