disp: msm: sde: add support for INTF WD long term jitter restore from ipc
Change adds support for storing the INTF watchdog timer long term jitter curve state. The state before collapse is stored in wd_jitter and restore back during power restore. Change-Id: Id83b5cc754daea89d7844ab67b38e12199525ff8 Signed-off-by: Shamika Joshi <quic_shamjosh@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
38c0d4cdba
commit
f28d9e0a6a
@@ -73,13 +73,18 @@ struct intf_avr_params {
|
||||
* jitter : max instantaneous jitter.
|
||||
* ltj_max : max long term jitter value.
|
||||
* ltj_slope : slope of long term jitter.
|
||||
*ltj_step_dir: direction of the step in LTJ
|
||||
*ltj_initial_val: LTJ initial value
|
||||
*ltj_fractional_val: LTJ fractional initial value
|
||||
*/
|
||||
struct intf_wd_jitter_params {
|
||||
u32 jitter;
|
||||
u32 ltj_max;
|
||||
u32 ltj_slope;
|
||||
u8 ltj_step_dir;
|
||||
u32 ltj_initial_val;
|
||||
u32 ltj_fractional_val;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct sde_hw_intf_ops : Interface to the interface Hw driver functions
|
||||
* Assumption is these functions will be called after clocks are enabled
|
||||
@@ -95,6 +100,8 @@ struct intf_wd_jitter_params {
|
||||
* converts it into line count
|
||||
* @setup_vsync_source: Configure vsync source selection for intf
|
||||
* @configure_wd_jitter: Configure WD jitter.
|
||||
* @ write_wd_ltj: Write WD long term jitter.
|
||||
* @get_wd_ltj_status: Read WD long term jitter status.
|
||||
* @bind_pingpong_blk: enable/disable the connection with pingpong which will
|
||||
* feed pixels to this interface
|
||||
*/
|
||||
@@ -132,6 +139,10 @@ struct sde_hw_intf_ops {
|
||||
void (*setup_vsync_source)(struct sde_hw_intf *intf, u32 frame_rate);
|
||||
void (*configure_wd_jitter)(struct sde_hw_intf *intf,
|
||||
struct intf_wd_jitter_params *wd_jitter);
|
||||
void (*write_wd_ltj)(struct sde_hw_intf *intf,
|
||||
struct intf_wd_jitter_params *wd_jitter);
|
||||
void (*get_wd_ltj_status)(struct sde_hw_intf *intf,
|
||||
struct intf_wd_jitter_params *wd_jitter);
|
||||
|
||||
void (*bind_pingpong_blk)(struct sde_hw_intf *intf,
|
||||
bool enable,
|
||||
|
Reference in New Issue
Block a user