Lines Matching refs:secondary_crtc_state

4529 	struct intel_crtc_state *secondary_crtc_state =  in copy_joiner_crtc_state_nomodeset()  local
4531 struct intel_crtc *primary_crtc = intel_primary_crtc(secondary_crtc_state); in copy_joiner_crtc_state_nomodeset()
4535 drm_property_replace_blob(&secondary_crtc_state->hw.degamma_lut, in copy_joiner_crtc_state_nomodeset()
4537 drm_property_replace_blob(&secondary_crtc_state->hw.gamma_lut, in copy_joiner_crtc_state_nomodeset()
4539 drm_property_replace_blob(&secondary_crtc_state->hw.ctm, in copy_joiner_crtc_state_nomodeset()
4542 secondary_crtc_state->uapi.color_mgmt_changed = primary_crtc_state->uapi.color_mgmt_changed; in copy_joiner_crtc_state_nomodeset()
4549 struct intel_crtc_state *secondary_crtc_state = in copy_joiner_crtc_state_modeset() local
4551 struct intel_crtc *primary_crtc = intel_primary_crtc(secondary_crtc_state); in copy_joiner_crtc_state_modeset()
4557 secondary_crtc_state->joiner_pipes); in copy_joiner_crtc_state_modeset()
4564 saved_state->uapi = secondary_crtc_state->uapi; in copy_joiner_crtc_state_modeset()
4565 saved_state->scaler_state = secondary_crtc_state->scaler_state; in copy_joiner_crtc_state_modeset()
4566 saved_state->shared_dpll = secondary_crtc_state->shared_dpll; in copy_joiner_crtc_state_modeset()
4567 saved_state->crc_enabled = secondary_crtc_state->crc_enabled; in copy_joiner_crtc_state_modeset()
4569 intel_crtc_free_hw_state(secondary_crtc_state); in copy_joiner_crtc_state_modeset()
4570 if (secondary_crtc_state->dp_tunnel_ref.tunnel) in copy_joiner_crtc_state_modeset()
4571 drm_dp_tunnel_ref_put(&secondary_crtc_state->dp_tunnel_ref); in copy_joiner_crtc_state_modeset()
4572 memcpy(secondary_crtc_state, saved_state, sizeof(*secondary_crtc_state)); in copy_joiner_crtc_state_modeset()
4576 memset(&secondary_crtc_state->hw, 0, sizeof(secondary_crtc_state->hw)); in copy_joiner_crtc_state_modeset()
4577 secondary_crtc_state->hw.enable = primary_crtc_state->hw.enable; in copy_joiner_crtc_state_modeset()
4578 secondary_crtc_state->hw.active = primary_crtc_state->hw.active; in copy_joiner_crtc_state_modeset()
4579 drm_mode_copy(&secondary_crtc_state->hw.mode, in copy_joiner_crtc_state_modeset()
4581 drm_mode_copy(&secondary_crtc_state->hw.pipe_mode, in copy_joiner_crtc_state_modeset()
4583 drm_mode_copy(&secondary_crtc_state->hw.adjusted_mode, in copy_joiner_crtc_state_modeset()
4585 secondary_crtc_state->hw.scaling_filter = primary_crtc_state->hw.scaling_filter; in copy_joiner_crtc_state_modeset()
4589 &secondary_crtc_state->dp_tunnel_ref); in copy_joiner_crtc_state_modeset()
4593 secondary_crtc_state->uapi.mode_changed = primary_crtc_state->uapi.mode_changed; in copy_joiner_crtc_state_modeset()
4594 secondary_crtc_state->uapi.connectors_changed = primary_crtc_state->uapi.connectors_changed; in copy_joiner_crtc_state_modeset()
4595 secondary_crtc_state->uapi.active_changed = primary_crtc_state->uapi.active_changed; in copy_joiner_crtc_state_modeset()
4598 secondary_crtc_state->joiner_pipes); in copy_joiner_crtc_state_modeset()
6025 struct intel_crtc_state *secondary_crtc_state; in intel_atomic_check_joiner() local
6028 secondary_crtc_state = intel_atomic_get_crtc_state(&state->base, secondary_crtc); in intel_atomic_check_joiner()
6029 if (IS_ERR(secondary_crtc_state)) in intel_atomic_check_joiner()
6030 return PTR_ERR(secondary_crtc_state); in intel_atomic_check_joiner()
6033 if (secondary_crtc_state->uapi.enable) { in intel_atomic_check_joiner()
6058 secondary_crtc_state->joiner_pipes = in intel_atomic_check_joiner()
6079 struct intel_crtc_state *secondary_crtc_state = in kill_joiner_secondaries() local
6082 secondary_crtc_state->joiner_pipes = 0; in kill_joiner_secondaries()