video: driver: add support for cyclic intra refresh
Currently driver supports only random intra refresh, extend it to support cyclic intra refresh too. Cyclic intra refresh is supported dynamically as well. - If intra refresh type is set and num of LCU’s to be refreshed are non-zero before session start, intra refresh will be enabled throughout the session. Any further dynamic settings in the number of LCU’s including 0 will be honored accordingly. - If intra refresh type is set and num of LCU’s to be refreshed are zero before session start, intra refresh will be disabled. When client sets it to non-zero value dynamically, driver will set HFI_PROP_REQUEST_SYNC_FRAME with HFI_SYNC_FRAME_REQUEST_WITH_PREFIX_SEQ_HDR. Driver needs to send HFI_PROP_REQUEST_SYNC_FRAME only at time of CIR Enable, no need to send at time of disable/enable again. Change-Id: I10a2fb22d131353721ee658213ed807ce0794009 Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
This commit is contained in:
@@ -61,6 +61,8 @@ int venus_hfi_trigger_stability(struct msm_vidc_inst *inst, u32 type,
|
||||
u32 client_id, u32 val);
|
||||
int venus_hfi_scale_clocks(struct msm_vidc_inst* inst, u64 freq);
|
||||
int venus_hfi_scale_buses(struct msm_vidc_inst* inst, u64 bw_ddr, u64 bw_llcc);
|
||||
int venus_hfi_set_ir_period(struct msm_vidc_inst *inst, u32 ir_type,
|
||||
enum msm_vidc_inst_capability_type cap_id);
|
||||
|
||||
void venus_hfi_pm_work_handler(struct work_struct *work);
|
||||
irqreturn_t venus_hfi_isr(int irq, void *data);
|
||||
|
Fai riferimento in un nuovo problema
Block a user