Lines Matching +full:all +full:- +full:inputs
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * (C) COPYRIGHT 2018 ARM Limited. All rights reserved.
55 /** komeda_component_funcs - component control functions */
77 * all specified components are subclass of this structure.
104 * maximum number of inputs/outputs that can be active at the same time
108 * support enabling all @supported_inputs/outputs at the same time.
117 * bitmask of BIT(component->id) for the supported inputs/outputs,
152 * the superclass of all specific component_state like @komeda_layer_state,
163 * which is valid decided by @component and @inputs
165 * - Layer: its user always is plane.
166 * - compiz/improc/timing_ctrlr: the user is crtc.
167 * - wb_layer: wb_conn;
168 * - scaler: plane when input is layer, wb_conn if input is compiz.
183 * active_inputs is bitmask of @inputs index
185 * - active_inputs = changed_active_inputs | unchanged_active_inputs
186 * - affected_inputs = old->active_inputs | new->active_inputs;
187 * - disabling_inputs = affected_inputs ^ active_inputs;
188 * - changed_inputs = disabling_inputs | changed_active_inputs;
191 * changed_inputs doesn't include all active_input but only
198 /** @affected_inputs: bitmask for affected @inputs */
201 * @inputs:
203 * the specific inputs[i] only valid on BIT(i) has been set in
204 * @active_inputs, if not the inputs[i] is undefined.
206 struct komeda_component_output inputs[KOMEDA_COMPONENT_N_INPUTS]; member
211 return st->affected_inputs ^ st->active_inputs; in component_disabling_inputs()
216 return component_disabling_inputs(st) | st->changed_active_inputs; in component_changed_inputs()
220 for ((i) = 0; (i) < (st)->component->max_active_inputs; (i)++) \
223 #define to_comp(__c) (((__c) == NULL) ? NULL : &((__c)->base))
385 * Represent a complete display pipeline and hold all functional components.
448 * into it. It because all component will be managed by drm_atomic_state.
460 * bitmask - BIT(component->id) of active components
518 u32 avail_inputs = c->supported_outputs & (avail_comps); in komeda_component_pickup_output()
520 return komeda_pipeline_get_first_component(c->pipeline, avail_inputs); in komeda_component_pickup_output()