disp: msm: sde: add ctl api to enable/disable sub-blocks

Certain sub-blocks need to be enabled disabled dynamically on a
seemless mode switch (for ex. partial update) CWB is another example
where control path interface configuration needs to be dynamically
changed on enable/disable of concurrent writeback. Similarly
3d mux needs to be enabled/disabled for partial update use cases.
This change modfies the current api update_cwb_cfg and makes it
more generic and adds support to enable/disable only the 3d mux.

Change-Id: I5e5a6e78b0599f689cb2f83d0d626a5f392eff6e
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
This commit is contained in:
Abhijit Kulkarni
2019-10-09 14:14:42 -07:00
부모 1ef5cee6ca
커밋 af5306875f
3개의 변경된 파일31개의 추가작업 그리고 24개의 파일을 삭제

파일 보기

@@ -249,10 +249,10 @@ struct sde_hw_ctl_ops {
/** update cwb for ctl_path
* @ctx : ctl path ctx pointer
* @cfg : interface config structure pointer
* @enable : enable/disable the cwb hw block
* @enable : enable/disable the dynamic sub-blocks in interface cfg
* @Return: error code
*/
int (*update_cwb_cfg)(struct sde_hw_ctl *ctx,
int (*update_intf_cfg)(struct sde_hw_ctl *ctx,
struct sde_hw_intf_cfg_v1 *cfg, bool enable);
/**