Searched refs:cdns_mhdp_state (Results 1 – 1 of 1) sorted by relevance
2142 struct cdns_mhdp_bridge_state *cdns_mhdp_state; in cdns_mhdp_bridge_atomic_destroy_state() local2144 cdns_mhdp_state = to_cdns_mhdp_bridge_state(state); in cdns_mhdp_bridge_atomic_destroy_state()2146 if (cdns_mhdp_state->current_mode) { in cdns_mhdp_bridge_atomic_destroy_state()2147 drm_mode_destroy(bridge->dev, cdns_mhdp_state->current_mode); in cdns_mhdp_bridge_atomic_destroy_state()2148 cdns_mhdp_state->current_mode = NULL; in cdns_mhdp_bridge_atomic_destroy_state()2151 kfree(cdns_mhdp_state); in cdns_mhdp_bridge_atomic_destroy_state()2157 struct cdns_mhdp_bridge_state *cdns_mhdp_state; in cdns_mhdp_bridge_atomic_reset() local2159 cdns_mhdp_state = kzalloc(sizeof(*cdns_mhdp_state), GFP_KERNEL); in cdns_mhdp_bridge_atomic_reset()2160 if (!cdns_mhdp_state) in cdns_mhdp_bridge_atomic_reset()2163 __drm_atomic_helper_bridge_reset(bridge, &cdns_mhdp_state->base); in cdns_mhdp_bridge_atomic_reset()[all …]