Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20a1caf1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: cvp: Set default session type for kernel sessions"

parents 6c62eceb 14a45132
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ struct cvp_hfi_cmd_sys_get_property_packet {

enum HFI_SESSION_TYPE {
	HFI_SESSION_CV = 1,
	HFI_SESSION_LRME,
	HFI_SESSION_DME,
	HFI_SESSION_ODT,
	HFI_SESSION_FD
};
+3 −0
Original line number Diff line number Diff line
@@ -2141,6 +2141,9 @@ int msm_cvp_session_init(struct msm_cvp_inst *inst)
	inst->clk_data.sys_cache_bw = 1000;

	inst->prop.type = HFI_SESSION_CV;
	if (inst->session_type == MSM_CVP_KERNEL)
		inst->prop.type = HFI_SESSION_DME;

	inst->prop.kernel_mask = 0xFFFFFFFF;
	inst->prop.priority = 0;
	inst->prop.is_secure = 0;