Lines Matching refs:saved_state
4558 struct intel_crtc_state *saved_state; in copy_bigjoiner_crtc_state_modeset() local
4563 saved_state = kmemdup(master_crtc_state, sizeof(*saved_state), GFP_KERNEL); in copy_bigjoiner_crtc_state_modeset()
4564 if (!saved_state) in copy_bigjoiner_crtc_state_modeset()
4568 saved_state->uapi = slave_crtc_state->uapi; in copy_bigjoiner_crtc_state_modeset()
4569 saved_state->scaler_state = slave_crtc_state->scaler_state; in copy_bigjoiner_crtc_state_modeset()
4570 saved_state->shared_dpll = slave_crtc_state->shared_dpll; in copy_bigjoiner_crtc_state_modeset()
4571 saved_state->crc_enabled = slave_crtc_state->crc_enabled; in copy_bigjoiner_crtc_state_modeset()
4574 memcpy(slave_crtc_state, saved_state, sizeof(*slave_crtc_state)); in copy_bigjoiner_crtc_state_modeset()
4575 kfree(saved_state); in copy_bigjoiner_crtc_state_modeset()
4608 struct intel_crtc_state *saved_state; in intel_crtc_prepare_cleared_state() local
4610 saved_state = intel_crtc_state_alloc(crtc); in intel_crtc_prepare_cleared_state()
4611 if (!saved_state) in intel_crtc_prepare_cleared_state()
4622 saved_state->uapi = crtc_state->uapi; in intel_crtc_prepare_cleared_state()
4623 saved_state->inherited = crtc_state->inherited; in intel_crtc_prepare_cleared_state()
4624 saved_state->scaler_state = crtc_state->scaler_state; in intel_crtc_prepare_cleared_state()
4625 saved_state->shared_dpll = crtc_state->shared_dpll; in intel_crtc_prepare_cleared_state()
4626 saved_state->dpll_hw_state = crtc_state->dpll_hw_state; in intel_crtc_prepare_cleared_state()
4627 memcpy(saved_state->icl_port_dplls, crtc_state->icl_port_dplls, in intel_crtc_prepare_cleared_state()
4628 sizeof(saved_state->icl_port_dplls)); in intel_crtc_prepare_cleared_state()
4629 saved_state->crc_enabled = crtc_state->crc_enabled; in intel_crtc_prepare_cleared_state()
4632 saved_state->wm = crtc_state->wm; in intel_crtc_prepare_cleared_state()
4634 memcpy(crtc_state, saved_state, sizeof(*crtc_state)); in intel_crtc_prepare_cleared_state()
4635 kfree(saved_state); in intel_crtc_prepare_cleared_state()