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:
@@ -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);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user