Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c2122 struct cdns_mhdp_bridge_state *cdns_mhdp_state; in cdns_mhdp_bridge_atomic_destroy_state() local
2124 cdns_mhdp_state = to_cdns_mhdp_bridge_state(state); in cdns_mhdp_bridge_atomic_destroy_state()
2126 if (cdns_mhdp_state->current_mode) { in cdns_mhdp_bridge_atomic_destroy_state()
2127 drm_mode_destroy(bridge->dev, cdns_mhdp_state->current_mode); in cdns_mhdp_bridge_atomic_destroy_state()
2128 cdns_mhdp_state->current_mode = NULL; in cdns_mhdp_bridge_atomic_destroy_state()
2131 kfree(cdns_mhdp_state); in cdns_mhdp_bridge_atomic_destroy_state()
2137 struct cdns_mhdp_bridge_state *cdns_mhdp_state; in cdns_mhdp_bridge_atomic_reset() local
2139 cdns_mhdp_state = kzalloc(sizeof(*cdns_mhdp_state), GFP_KERNEL); in cdns_mhdp_bridge_atomic_reset()
2140 if (!cdns_mhdp_state) in cdns_mhdp_bridge_atomic_reset()
2143 __drm_atomic_helper_bridge_reset(bridge, &cdns_mhdp_state->base); in cdns_mhdp_bridge_atomic_reset()
[all …]