disp: msm: sde: update flush mask in fence error case

Add a new clear_flush_mask ops in sde_hw_ctl_ops.
Flush mask update to cancel the fence error frame with
the new ops.

Change-Id: I8d03d8e83a05a652789fb38e885a3c8497e4d262
Signed-off-by: GG Hou <quic_renjhou@quicinc.com>
This commit is contained in:
GG Hou
2023-04-12 19:57:59 +08:00
committed by Gerrit - the friendly Code Review server
parent 5f4735e2ce
commit ee2ee3b129
4 changed files with 31 additions and 0 deletions

View File

@@ -132,6 +132,7 @@ struct sde_encoder_virt_ops {
* @handle_post_kickoff: Do any work necessary post-kickoff work
* @trigger_flush: Process flush event on physical encoder
* @trigger_start: Process start event on physical encoder
* @clear_flush_mask: clear flush mask
* @needs_single_flush: Whether encoder slaves need to be flushed
* @setup_misr: Sets up MISR, enable and disables based on sysfs
* @collect_misr: Collects MISR data on frame update
@@ -186,6 +187,7 @@ struct sde_encoder_phys_ops {
void (*handle_post_kickoff)(struct sde_encoder_phys *phys_enc);
void (*trigger_flush)(struct sde_encoder_phys *phys_enc);
void (*trigger_start)(struct sde_encoder_phys *phys_enc);
void (*clear_flush_mask)(struct sde_encoder_phys *phys_enc, bool clear);
bool (*needs_single_flush)(struct sde_encoder_phys *phys_enc);
void (*setup_misr)(struct sde_encoder_phys *phys_encs,