video-driver: prepare conflict free dependency list
Convert multi-parent, multi-child based dependency tree into flattened list. It is organized in such a way that all parents willbe present before self or any child node. For some caps, adjust sequence is called without preparing parent nodes. So that is leading to undefined behaviour. Added change to address these problems. Change-Id: Ib28cae8a4ed7e019c80ecfc06519ef78ffa4dc08 Signed-off-by: Govindaraj Rajagopal <quic_grajagop@quicinc.com>
Šī revīzija ir iekļauta:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2020-2021,, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2020-2022,, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _MSM_VIDC_CONTROL_H_
|
||||
@@ -44,6 +44,7 @@ int msm_vidc_adjust_bitrate_boost(void *instance, struct v4l2_ctrl *ctrl);
|
||||
int msm_vidc_adjust_min_quality(void *instance, struct v4l2_ctrl *ctrl);
|
||||
int msm_vidc_adjust_lowlatency_mode(void *instance, struct v4l2_ctrl *ctrl);
|
||||
int msm_vidc_adjust_v4l2_properties(struct msm_vidc_inst *inst);
|
||||
int msm_vidc_prepare_dependency_list(struct msm_vidc_inst *inst);
|
||||
int msm_vidc_adjust_session_priority(void *instance, struct v4l2_ctrl *ctrl);
|
||||
int msm_vidc_adjust_roi_info(void *instance, struct v4l2_ctrl *ctrl);
|
||||
int msm_vidc_adjust_all_intra(void *instance, struct v4l2_ctrl *ctrl);
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user