Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c2124 struct cdns_mhdp_bridge_state *cdns_mhdp_state; in cdns_mhdp_bridge_atomic_destroy_state() local
2126 cdns_mhdp_state = to_cdns_mhdp_bridge_state(state); in cdns_mhdp_bridge_atomic_destroy_state()
2128 if (cdns_mhdp_state->current_mode) { in cdns_mhdp_bridge_atomic_destroy_state()
2129 drm_mode_destroy(bridge->dev, cdns_mhdp_state->current_mode); in cdns_mhdp_bridge_atomic_destroy_state()
2130 cdns_mhdp_state->current_mode = NULL; in cdns_mhdp_bridge_atomic_destroy_state()
2133 kfree(cdns_mhdp_state); in cdns_mhdp_bridge_atomic_destroy_state()
2139 struct cdns_mhdp_bridge_state *cdns_mhdp_state; in cdns_mhdp_bridge_atomic_reset() local
2141 cdns_mhdp_state = kzalloc(sizeof(*cdns_mhdp_state), GFP_KERNEL); in cdns_mhdp_bridge_atomic_reset()
2142 if (!cdns_mhdp_state) in cdns_mhdp_bridge_atomic_reset()
2145 __drm_atomic_helper_bridge_reset(bridge, &cdns_mhdp_state->base); in cdns_mhdp_bridge_atomic_reset()
[all …]