Home
last modified time | relevance | path

Searched refs:cdns_mhdp_state (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c2055 struct cdns_mhdp_bridge_state *cdns_mhdp_state; in cdns_mhdp_bridge_atomic_destroy_state() local
2057 cdns_mhdp_state = to_cdns_mhdp_bridge_state(state); in cdns_mhdp_bridge_atomic_destroy_state()
2059 if (cdns_mhdp_state->current_mode) { in cdns_mhdp_bridge_atomic_destroy_state()
2060 drm_mode_destroy(bridge->dev, cdns_mhdp_state->current_mode); in cdns_mhdp_bridge_atomic_destroy_state()
2061 cdns_mhdp_state->current_mode = NULL; in cdns_mhdp_bridge_atomic_destroy_state()
2064 kfree(cdns_mhdp_state); in cdns_mhdp_bridge_atomic_destroy_state()
2070 struct cdns_mhdp_bridge_state *cdns_mhdp_state; in cdns_mhdp_bridge_atomic_reset() local
2072 cdns_mhdp_state = kzalloc(sizeof(*cdns_mhdp_state), GFP_KERNEL); in cdns_mhdp_bridge_atomic_reset()
2073 if (!cdns_mhdp_state) in cdns_mhdp_bridge_atomic_reset()
2076 __drm_atomic_helper_bridge_reset(bridge, &cdns_mhdp_state->base); in cdns_mhdp_bridge_atomic_reset()
[all …]