Lines Matching refs:saved_state
5123 struct intel_crtc_state *saved_state; in copy_bigjoiner_crtc_state_modeset() local
5128 saved_state = kmemdup(master_crtc_state, sizeof(*saved_state), GFP_KERNEL); in copy_bigjoiner_crtc_state_modeset()
5129 if (!saved_state) in copy_bigjoiner_crtc_state_modeset()
5133 saved_state->uapi = slave_crtc_state->uapi; in copy_bigjoiner_crtc_state_modeset()
5134 saved_state->scaler_state = slave_crtc_state->scaler_state; in copy_bigjoiner_crtc_state_modeset()
5135 saved_state->shared_dpll = slave_crtc_state->shared_dpll; in copy_bigjoiner_crtc_state_modeset()
5136 saved_state->dpll_hw_state = slave_crtc_state->dpll_hw_state; in copy_bigjoiner_crtc_state_modeset()
5137 saved_state->crc_enabled = slave_crtc_state->crc_enabled; in copy_bigjoiner_crtc_state_modeset()
5140 memcpy(slave_crtc_state, saved_state, sizeof(*slave_crtc_state)); in copy_bigjoiner_crtc_state_modeset()
5141 kfree(saved_state); in copy_bigjoiner_crtc_state_modeset()
5174 struct intel_crtc_state *saved_state; in intel_crtc_prepare_cleared_state() local
5176 saved_state = intel_crtc_state_alloc(crtc); in intel_crtc_prepare_cleared_state()
5177 if (!saved_state) in intel_crtc_prepare_cleared_state()
5188 saved_state->uapi = crtc_state->uapi; in intel_crtc_prepare_cleared_state()
5189 saved_state->scaler_state = crtc_state->scaler_state; in intel_crtc_prepare_cleared_state()
5190 saved_state->shared_dpll = crtc_state->shared_dpll; in intel_crtc_prepare_cleared_state()
5191 saved_state->dpll_hw_state = crtc_state->dpll_hw_state; in intel_crtc_prepare_cleared_state()
5192 memcpy(saved_state->icl_port_dplls, crtc_state->icl_port_dplls, in intel_crtc_prepare_cleared_state()
5193 sizeof(saved_state->icl_port_dplls)); in intel_crtc_prepare_cleared_state()
5194 saved_state->crc_enabled = crtc_state->crc_enabled; in intel_crtc_prepare_cleared_state()
5197 saved_state->wm = crtc_state->wm; in intel_crtc_prepare_cleared_state()
5199 memcpy(crtc_state, saved_state, sizeof(*crtc_state)); in intel_crtc_prepare_cleared_state()
5200 kfree(saved_state); in intel_crtc_prepare_cleared_state()