Searched refs:new_ast_state (Results 1 – 1 of 1) sorted by relevance
1252 struct ast_crtc_state *new_ast_state, *ast_state; in ast_crtc_atomic_duplicate_state() local1258 new_ast_state = kmalloc(sizeof(*new_ast_state), GFP_KERNEL); in ast_crtc_atomic_duplicate_state()1259 if (!new_ast_state) in ast_crtc_atomic_duplicate_state()1261 __drm_atomic_helper_crtc_duplicate_state(crtc, &new_ast_state->base); in ast_crtc_atomic_duplicate_state()1265 new_ast_state->format = ast_state->format; in ast_crtc_atomic_duplicate_state()1266 memcpy(&new_ast_state->vbios_mode_info, &ast_state->vbios_mode_info, in ast_crtc_atomic_duplicate_state()1267 sizeof(new_ast_state->vbios_mode_info)); in ast_crtc_atomic_duplicate_state()1269 return &new_ast_state->base; in ast_crtc_atomic_duplicate_state()