check_config
if (dc->check_config.max_optimizable_video_width == 0)
dc->check_config.max_optimizable_video_width = 5120;
const struct dc_check_config *check_config,
if (u->scaling_info->src_rect.width > check_config->max_optimizable_video_width &&
const struct dc_check_config *check_config,
inner_type = get_scaling_info_update_type(check_config, u);
if (check_config->enable_legacy_fast_update &&
const struct dc_check_config *check_config,
if (check_config->deferred_transition_state && !check_config->transition_countdown_to_steady_state) {
if (check_config->enable_legacy_fast_update && stream_update->out_transfer_func)
if (!check_config->enable_legacy_fast_update && stream_update->out_transfer_func) {
det_surface_update(check_config, &updates[i]);
const struct dc_check_config *check_config,
return check_update_surfaces_for_stream(check_config, updates, surface_count, stream_update);
&dc->check_config, srf_updates, surface_count, stream_update).update_type;
if (dc->check_config.deferred_transition_state) {
if (dc->check_config.transition_countdown_to_steady_state) {
dc->check_config.deferred_transition_state = false;
if (is_fast_update_only && !dc->check_config.enable_legacy_fast_update) {
!dc->check_config.enable_legacy_fast_update)
dc->check_config.deferred_transition_state = true;
dc->check_config.transition_countdown_to_steady_state =
} else if (dc->check_config.deferred_transition_state) {
dc->check_config.transition_countdown_to_steady_state =
if (dc->check_config.transition_countdown_to_steady_state)
dc->check_config.transition_countdown_to_steady_state--;
dc->check_config.transition_countdown_to_steady_state =
&& !scratch->dc->check_config.enable_legacy_fast_update;
if (scratch->dc->check_config.deferred_transition_state)
scratch->dc->check_config.deferred_transition_state = true;
scratch->dc->check_config.deferred_transition_state);
if (scratch->dc->check_config.transition_countdown_to_steady_state)
scratch->dc->check_config.transition_countdown_to_steady_state--;
if (scratch->dc->check_config.deferred_transition_state) {
struct dc_check_config check_config;
const struct dc_check_config *check_config,
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
dc->check_config = config_defaults;
return ts->chip->check_config(ts, cfg, len);
.check_config = goodix_check_cfg_16,
.check_config = goodix_check_cfg_8,
.check_config = goodix_check_cfg_8,
.check_config = goodix_check_cfg_8,
int (*check_config)(struct goodix_ts_data *ts, const u8 *cfg, int len);
if (!check_config(chan, config)) {
.check_config = cdns3_gadget_check_config,
.check_config = dwc3_gadget_check_config,
goto check_config;
check_config:
if (gadget->ops->check_config)
return gadget->ops->check_config(gadget);
int (*check_config)(struct usb_gadget *gadget);