| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_color.c | 42 void (*color_commit_noarm)(const struct intel_crtc_state *crtc_state); 50 void (*color_commit_arm)(const struct intel_crtc_state *crtc_state); 55 void (*color_post_update)(const struct intel_crtc_state *crtc_state); 62 void (*load_luts)(const struct intel_crtc_state *crtc_state); 67 void (*read_luts)(struct intel_crtc_state *crtc_state); 71 bool (*lut_equal)(const struct intel_crtc_state *crtc_state, 79 void (*read_csc)(struct intel_crtc_state *crtc_state); 83 void (*get_config)(struct intel_crtc_state *crtc_state); 278 static void ilk_read_csc(struct intel_crtc_state *crtc_state) in ilk_read_csc() argument 280 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_read_csc() [all …]
|
| D | intel_vrr.c | 90 static int intel_vrr_vblank_exit_length(const struct intel_crtc_state *crtc_state) in intel_vrr_vblank_exit_length() argument 92 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_vblank_exit_length() 95 return crtc_state->vrr.guardband; in intel_vrr_vblank_exit_length() 98 return crtc_state->vrr.pipeline_full + crtc_state->framestart_delay + 1; in intel_vrr_vblank_exit_length() 101 int intel_vrr_vmin_vblank_start(const struct intel_crtc_state *crtc_state) in intel_vrr_vmin_vblank_start() argument 104 return crtc_state->vrr.vmin + 1 - intel_vrr_vblank_exit_length(crtc_state); in intel_vrr_vmin_vblank_start() 107 int intel_vrr_vmax_vblank_start(const struct intel_crtc_state *crtc_state) in intel_vrr_vmax_vblank_start() argument 109 return crtc_state->vrr.vmax - intel_vrr_vblank_exit_length(crtc_state); in intel_vrr_vmax_vblank_start() 113 is_cmrr_frac_required(struct intel_crtc_state *crtc_state) in is_cmrr_frac_required() argument 115 struct intel_display *display = to_intel_display(crtc_state); in is_cmrr_frac_required() [all …]
|
| D | intel_atomic.c | 126 struct drm_crtc_state *crtc_state; in intel_digital_connector_atomic_check() local 133 crtc_state = drm_atomic_get_new_crtc_state(state, new_state->crtc); in intel_digital_connector_atomic_check() 147 crtc_state->mode_changed = true; in intel_digital_connector_atomic_check() 203 struct intel_crtc_state *crtc_state; in intel_any_crtc_needs_modeset() local 206 for_each_new_intel_crtc_in_state(state, crtc, crtc_state, i) { in intel_any_crtc_needs_modeset() 207 if (intel_crtc_needs_modeset(crtc_state)) in intel_any_crtc_needs_modeset() 241 struct intel_crtc_state *crtc_state; in intel_crtc_duplicate_state() local 243 crtc_state = kmemdup(old_crtc_state, sizeof(*crtc_state), GFP_KERNEL); in intel_crtc_duplicate_state() 244 if (!crtc_state) in intel_crtc_duplicate_state() 247 __drm_atomic_helper_crtc_duplicate_state(crtc, &crtc_state->uapi); in intel_crtc_duplicate_state() [all …]
|
| D | intel_modeset_setup.c | 40 struct intel_crtc_state *crtc_state = in intel_crtc_disable_noatomic_begin() local 47 if (!crtc_state->hw.active) in intel_crtc_disable_noatomic_begin() 72 intel_crtc_joiner_secondary_pipes(crtc_state)) { in intel_crtc_disable_noatomic_begin() 93 if (crtc_state->shared_dpll) in intel_crtc_disable_noatomic_begin() 95 crtc_state->shared_dpll, in intel_crtc_disable_noatomic_begin() 96 &crtc_state->shared_dpll->state); in intel_crtc_disable_noatomic_begin() 164 struct intel_crtc_state *crtc_state = in intel_crtc_disable_noatomic_complete() local 168 __drm_atomic_helper_crtc_destroy_state(&crtc_state->uapi); in intel_crtc_disable_noatomic_complete() 169 intel_crtc_free_hw_state(crtc_state); in intel_crtc_disable_noatomic_complete() 170 intel_crtc_state_reset(crtc_state, crtc); in intel_crtc_disable_noatomic_complete() [all …]
|
| D | intel_dpll.c | 373 static int i9xx_pll_refclk(const struct intel_crtc_state *crtc_state) in i9xx_pll_refclk() argument 375 struct drm_i915_private *i915 = to_i915(crtc_state->uapi.crtc->dev); in i9xx_pll_refclk() 376 const struct i9xx_dpll_hw_state *hw_state = &crtc_state->dpll_hw_state.i9xx; in i9xx_pll_refclk() 421 void i9xx_crtc_clock_get(struct intel_crtc_state *crtc_state) in i9xx_crtc_clock_get() argument 423 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in i9xx_crtc_clock_get() 425 const struct i9xx_dpll_hw_state *hw_state = &crtc_state->dpll_hw_state.i9xx; in i9xx_crtc_clock_get() 430 int refclk = i9xx_pll_refclk(crtc_state); in i9xx_crtc_clock_get() 510 crtc_state->port_clock = port_clock; in i9xx_crtc_clock_get() 513 void vlv_crtc_clock_get(struct intel_crtc_state *crtc_state) in vlv_crtc_clock_get() argument 515 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in vlv_crtc_clock_get() [all …]
|
| D | intel_ddi.c | 122 const struct intel_crtc_state *crtc_state) in hsw_prepare_dp_ddi_buffers() argument 130 trans = encoder->get_buf_trans(encoder, crtc_state, &n_entries); in hsw_prepare_dp_ddi_buffers() 153 const struct intel_crtc_state *crtc_state) in hsw_prepare_hdmi_ddi_buffers() argument 156 int level = intel_ddi_level(encoder, crtc_state, 0); in hsw_prepare_hdmi_ddi_buffers() 162 trans = encoder->get_buf_trans(encoder, crtc_state, &n_entries); in hsw_prepare_hdmi_ddi_buffers() 266 const struct intel_crtc_state *crtc_state) in icl_pll_to_ddi_clk_sel() argument 268 const struct intel_shared_dpll *pll = crtc_state->shared_dpll; in icl_pll_to_ddi_clk_sel() 269 int clock = crtc_state->port_clock; in icl_pll_to_ddi_clk_sel() 330 const struct intel_crtc_state *crtc_state) in intel_ddi_init_dp_buf_reg() argument 338 DDI_PORT_WIDTH(crtc_state->lane_count) | in intel_ddi_init_dp_buf_reg() [all …]
|
| D | intel_ddi_buf_trans.c | 1148 const struct intel_crtc_state *crtc_state, in hsw_get_buf_trans() argument 1151 if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_ANALOG)) in hsw_get_buf_trans() 1153 else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) in hsw_get_buf_trans() 1161 const struct intel_crtc_state *crtc_state, in bdw_get_buf_trans() argument 1164 if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_ANALOG)) in bdw_get_buf_trans() 1166 else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) in bdw_get_buf_trans() 1168 else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP) && in bdw_get_buf_trans() 1196 const struct intel_crtc_state *crtc_state, in skl_y_get_buf_trans() argument 1199 if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) in skl_y_get_buf_trans() 1201 else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP) && in skl_y_get_buf_trans() [all …]
|
| D | intel_vdsc.c | 22 bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state) in intel_dsc_source_support() argument 24 const struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_dsc_source_support() 26 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in intel_dsc_source_support() 374 static int intel_dsc_get_vdsc_per_pipe(const struct intel_crtc_state *crtc_state) in intel_dsc_get_vdsc_per_pipe() argument 376 return crtc_state->dsc.dsc_split ? 2 : 1; in intel_dsc_get_vdsc_per_pipe() 379 int intel_dsc_get_num_vdsc_instances(const struct intel_crtc_state *crtc_state) in intel_dsc_get_num_vdsc_instances() argument 381 int num_vdsc_instances = intel_dsc_get_vdsc_per_pipe(crtc_state); in intel_dsc_get_num_vdsc_instances() 383 if (crtc_state->joiner_pipes) in intel_dsc_get_num_vdsc_instances() 389 static void intel_dsc_get_pps_reg(const struct intel_crtc_state *crtc_state, int pps, in intel_dsc_get_pps_reg() argument 392 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_dsc_get_pps_reg() [all …]
|
| D | intel_dp_link_training.c | 342 const struct intel_crtc_state *crtc_state, in intel_dp_phy_voltage_max() argument 353 voltage_max = intel_dp->voltage_max(intel_dp, crtc_state); in intel_dp_phy_voltage_max() 398 const struct intel_crtc_state *crtc_state, in intel_dp_get_lane_adjust_tx_ffe_preset() argument 406 lane = min(lane, crtc_state->lane_count - 1); in intel_dp_get_lane_adjust_tx_ffe_preset() 409 for (lane = 0; lane < crtc_state->lane_count; lane++) in intel_dp_get_lane_adjust_tx_ffe_preset() 418 const struct intel_crtc_state *crtc_state, in intel_dp_get_lane_adjust_vswing_preemph() argument 429 lane = min(lane, crtc_state->lane_count - 1); in intel_dp_get_lane_adjust_vswing_preemph() 434 for (lane = 0; lane < crtc_state->lane_count; lane++) { in intel_dp_get_lane_adjust_vswing_preemph() 446 voltage_max = intel_dp_phy_voltage_max(intel_dp, crtc_state, dp_phy); in intel_dp_get_lane_adjust_vswing_preemph() 454 const struct intel_crtc_state *crtc_state, in intel_dp_get_lane_adjust_train() argument [all …]
|
| D | intel_crtc.c | 91 u32 intel_crtc_max_vblank_count(const struct intel_crtc_state *crtc_state) in intel_crtc_max_vblank_count() argument 93 struct drm_i915_private *dev_priv = to_i915(crtc_state->uapi.crtc->dev); in intel_crtc_max_vblank_count() 101 if (crtc_state->mode_flags & (I915_MODE_FLAG_DSI_USE_TE0 | in intel_crtc_max_vblank_count() 110 (crtc_state->output_types & BIT(INTEL_OUTPUT_TVOUT))) in intel_crtc_max_vblank_count() 121 void intel_crtc_vblank_on(const struct intel_crtc_state *crtc_state) in intel_crtc_vblank_on() argument 123 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_crtc_vblank_on() 127 intel_crtc_max_vblank_count(crtc_state)); in intel_crtc_vblank_on() 138 void intel_crtc_vblank_off(const struct intel_crtc_state *crtc_state) in intel_crtc_vblank_off() argument 140 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_crtc_vblank_off() 155 struct intel_crtc_state *crtc_state; in intel_crtc_state_alloc() local [all …]
|
| D | intel_pch_display.c | 219 static void ilk_pch_transcoder_set_timings(const struct intel_crtc_state *crtc_state, in ilk_pch_transcoder_set_timings() argument 222 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_pch_transcoder_set_timings() 224 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in ilk_pch_transcoder_set_timings() 243 static void ilk_enable_pch_transcoder(const struct intel_crtc_state *crtc_state) in ilk_enable_pch_transcoder() argument 245 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_enable_pch_transcoder() 252 assert_shared_dpll_enabled(dev_priv, crtc_state->shared_dpll); in ilk_enable_pch_transcoder() 268 val |= TRANS_CHICKEN2_FRAME_START_DELAY(crtc_state->framestart_delay - 1); in ilk_enable_pch_transcoder() 279 val |= TRANS_FRAME_START_DELAY(crtc_state->framestart_delay - 1); in ilk_enable_pch_transcoder() 287 if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) in ilk_enable_pch_transcoder() 296 intel_crtc_has_type(crtc_state, INTEL_OUTPUT_SDVO)) in ilk_enable_pch_transcoder() [all …]
|
| D | intel_ddi.h | 28 const struct intel_crtc_state *crtc_state); 30 const struct intel_crtc_state *crtc_state); 38 const struct intel_crtc_state *crtc_state); 41 struct intel_crtc_state *crtc_state, 44 const struct intel_crtc_state *crtc_state); 49 const struct intel_crtc_state *crtc_state); 51 struct intel_crtc_state *crtc_state); 54 const struct intel_crtc_state *crtc_state); 61 const struct intel_crtc_state *crtc_state); 62 void intel_ddi_disable_transcoder_func(const struct intel_crtc_state *crtc_state); [all …]
|
| D | hsw_ips.c | 14 static void hsw_ips_enable(const struct intel_crtc_state *crtc_state) in hsw_ips_enable() argument 16 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_ips_enable() 20 if (!crtc_state->ips_enabled) in hsw_ips_enable() 29 !(crtc_state->active_planes & ~BIT(PLANE_CURSOR))); in hsw_ips_enable() 61 bool hsw_ips_disable(const struct intel_crtc_state *crtc_state) in hsw_ips_disable() argument 63 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_ips_disable() 67 if (!crtc_state->ips_enabled) in hsw_ips_disable() 187 bool hsw_crtc_state_ips_capable(const struct intel_crtc_state *crtc_state) in hsw_crtc_state_ips_capable() argument 189 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_crtc_state_ips_capable() 199 if (crtc_state->pipe_bpp > 24) in hsw_crtc_state_ips_capable() [all …]
|
| D | intel_psr.c | 207 const struct intel_crtc_state *crtc_state) in intel_psr_needs_aux_io_power() argument 221 return intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP) && in intel_psr_needs_aux_io_power() 736 const struct intel_crtc_state *crtc_state) in _panel_replay_enable_sink() argument 745 if (crtc_state->has_sel_update) in _panel_replay_enable_sink() 748 if (crtc_state->enable_psr2_su_region_et) in _panel_replay_enable_sink() 751 if (crtc_state->req_psr2_sdp_prior_scanline) in _panel_replay_enable_sink() 762 const struct intel_crtc_state *crtc_state) in _psr_enable_sink() argument 767 if (crtc_state->has_sel_update) { in _psr_enable_sink() 777 if (crtc_state->req_psr2_sdp_prior_scanline) in _psr_enable_sink() 780 if (crtc_state->enable_psr2_su_region_et) in _psr_enable_sink() [all …]
|
| D | intel_alpm.c | 140 const struct intel_crtc_state *crtc_state) in _lnl_compute_aux_less_alpm_params() argument 147 _lnl_compute_aux_less_wake_time(crtc_state->port_clock); in _lnl_compute_aux_less_alpm_params() 148 aux_less_wake_lines = intel_usecs_to_scanlines(&crtc_state->hw.adjusted_mode, in _lnl_compute_aux_less_alpm_params() 151 if (!_lnl_get_silence_period_and_lfps_half_cycle(crtc_state->port_clock, in _lnl_compute_aux_less_alpm_params() 172 const struct intel_crtc_state *crtc_state) in _lnl_compute_alpm_params() argument 182 intel_usecs_to_scanlines(&crtc_state->hw.adjusted_mode, 5); in _lnl_compute_alpm_params() 187 if (!_lnl_compute_aux_less_alpm_params(intel_dp, crtc_state)) in _lnl_compute_alpm_params() 213 static int io_buffer_wake_time(const struct intel_crtc_state *crtc_state) in io_buffer_wake_time() argument 215 struct intel_display *display = to_intel_display(crtc_state); in io_buffer_wake_time() 224 const struct intel_crtc_state *crtc_state) in intel_alpm_compute_params() argument [all …]
|
| D | intel_display.c | 135 static void intel_set_transcoder_timings(const struct intel_crtc_state *crtc_state); 136 static void intel_set_pipe_src_size(const struct intel_crtc_state *crtc_state); 137 static void hsw_set_transconf(const struct intel_crtc_state *crtc_state); 138 static void bdw_set_pipe_misc(const struct intel_crtc_state *crtc_state); 197 static bool is_hdr_mode(const struct intel_crtc_state *crtc_state) in is_hdr_mode() argument 199 return (crtc_state->active_planes & in is_hdr_mode() 233 is_trans_port_sync_slave(const struct intel_crtc_state *crtc_state) in is_trans_port_sync_slave() argument 235 return crtc_state->master_transcoder != INVALID_TRANSCODER; in is_trans_port_sync_slave() 239 is_trans_port_sync_master(const struct intel_crtc_state *crtc_state) in is_trans_port_sync_master() argument 241 return crtc_state->sync_mode_slaves_mask != 0; in is_trans_port_sync_master() [all …]
|
| D | intel_audio.c | 71 const struct intel_crtc_state *crtc_state, 77 struct intel_crtc_state *crtc_state); 197 static u32 audio_config_hdmi_pixel_clock(const struct intel_crtc_state *crtc_state) in audio_config_hdmi_pixel_clock() argument 199 struct drm_i915_private *i915 = to_i915(crtc_state->uapi.crtc->dev); in audio_config_hdmi_pixel_clock() 201 &crtc_state->hw.adjusted_mode; in audio_config_hdmi_pixel_clock() 227 static int audio_config_hdmi_get_n(const struct intel_crtc_state *crtc_state, in audio_config_hdmi_get_n() argument 233 if (crtc_state->pipe_bpp == 36) { in audio_config_hdmi_get_n() 236 } else if (crtc_state->pipe_bpp == 30) { in audio_config_hdmi_get_n() 246 crtc_state->port_clock == hdmi_ncts_table[i].clock) { in audio_config_hdmi_get_n() 264 struct intel_crtc_state *crtc_state) in g4x_audio_codec_get_config() argument [all …]
|
| D | intel_hdmi.c | 205 const struct intel_crtc_state *crtc_state, in g4x_write_infoframe() argument 241 const struct intel_crtc_state *crtc_state, in g4x_read_infoframe() argument 273 const struct intel_crtc_state *crtc_state, in ibx_write_infoframe() argument 279 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ibx_write_infoframe() 312 const struct intel_crtc_state *crtc_state, in ibx_read_infoframe() argument 317 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ibx_read_infoframe() 348 const struct intel_crtc_state *crtc_state, in cpt_write_infoframe() argument 354 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in cpt_write_infoframe() 390 const struct intel_crtc_state *crtc_state, in cpt_read_infoframe() argument 395 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in cpt_read_infoframe() [all …]
|
| D | intel_dp_mst.c | 55 static int intel_dp_mst_max_dpt_bpp(const struct intel_crtc_state *crtc_state, in intel_dp_mst_max_dpt_bpp() argument 58 struct drm_i915_private *i915 = to_i915(crtc_state->uapi.crtc->dev); in intel_dp_mst_max_dpt_bpp() 60 &crtc_state->hw.adjusted_mode; in intel_dp_mst_max_dpt_bpp() 62 if (!intel_dp_is_uhbr(crtc_state) || DISPLAY_VER(i915) >= 20 || !dsc) in intel_dp_mst_max_dpt_bpp() 85 return div64_u64(mul_u32_u32(intel_dp_link_symbol_clock(crtc_state->port_clock) * 72, in intel_dp_mst_max_dpt_bpp() 90 static int intel_dp_mst_bw_overhead(const struct intel_crtc_state *crtc_state, in intel_dp_mst_bw_overhead() argument 95 &crtc_state->hw.adjusted_mode; in intel_dp_mst_bw_overhead() 99 flags |= intel_dp_is_uhbr(crtc_state) ? DRM_DP_BW_OVERHEAD_UHBR : 0; in intel_dp_mst_bw_overhead() 101 flags |= crtc_state->fec_enable ? DRM_DP_BW_OVERHEAD_FEC : 0; in intel_dp_mst_bw_overhead() 106 overhead = drm_dp_bw_overhead(crtc_state->lane_count, in intel_dp_mst_bw_overhead() [all …]
|
| D | intel_color.h | 25 void intel_color_cleanup_commit(struct intel_crtc_state *crtc_state); 26 bool intel_color_uses_dsb(const struct intel_crtc_state *crtc_state); 27 void intel_color_wait_commit(const struct intel_crtc_state *crtc_state); 28 void intel_color_commit_noarm(const struct intel_crtc_state *crtc_state); 29 void intel_color_commit_arm(const struct intel_crtc_state *crtc_state); 30 void intel_color_post_update(const struct intel_crtc_state *crtc_state); 31 void intel_color_load_luts(const struct intel_crtc_state *crtc_state); 32 void intel_color_get_config(struct intel_crtc_state *crtc_state); 33 bool intel_color_lut_equal(const struct intel_crtc_state *crtc_state, 37 void intel_color_assert_luts(const struct intel_crtc_state *crtc_state);
|
| D | intel_cursor.c | 50 static u32 intel_cursor_position(const struct intel_crtc_state *crtc_state, in intel_cursor_position() argument 65 y - crtc_state->psr2_su_area.y1); in intel_cursor_position() 145 static int intel_check_cursor(struct intel_crtc_state *crtc_state, in intel_check_cursor() argument 159 ret = intel_atomic_plane_check_clipping(plane_state, crtc_state, in intel_check_cursor() 172 -crtc_state->pipe_src.x1, in intel_check_cursor() 173 -crtc_state->pipe_src.y1); in intel_check_cursor() 204 static u32 i845_cursor_ctl_crtc(const struct intel_crtc_state *crtc_state) in i845_cursor_ctl_crtc() argument 208 if (crtc_state->gamma_enable) in i845_cursor_ctl_crtc() 214 static u32 i845_cursor_ctl(const struct intel_crtc_state *crtc_state, in i845_cursor_ctl() argument 233 static int i845_check_cursor(struct intel_crtc_state *crtc_state, in i845_check_cursor() argument [all …]
|
| D | intel_dpio_phy.h | 33 const struct intel_crtc_state *crtc_state); 51 const struct intel_crtc_state *crtc_state, 55 const struct intel_crtc_state *crtc_state, 58 const struct intel_crtc_state *crtc_state); 60 const struct intel_crtc_state *crtc_state); 66 const struct intel_crtc_state *crtc_state, 70 const struct intel_crtc_state *crtc_state); 72 const struct intel_crtc_state *crtc_state); 81 const struct intel_crtc_state *crtc_state) in bxt_dpio_phy_set_signal_levels() argument 129 const struct intel_crtc_state *crtc_state, in chv_set_phy_signal_level() argument [all …]
|
| D | intel_vdsc.h | 18 bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state); 19 void intel_uncompressed_joiner_enable(const struct intel_crtc_state *crtc_state); 20 void intel_dsc_enable(const struct intel_crtc_state *crtc_state); 21 void intel_dsc_disable(const struct intel_crtc_state *crtc_state); 23 void intel_dsc_get_config(struct intel_crtc_state *crtc_state); 27 int intel_dsc_get_num_vdsc_instances(const struct intel_crtc_state *crtc_state); 29 const struct intel_crtc_state *crtc_state); 31 const struct intel_crtc_state *crtc_state); 33 const struct intel_crtc_state *crtc_state);
|
| D | intel_drrs.c | 129 static unsigned int intel_drrs_frontbuffer_bits(const struct intel_crtc_state *crtc_state) in intel_drrs_frontbuffer_bits() argument 131 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_drrs_frontbuffer_bits() 138 crtc_state->joiner_pipes) in intel_drrs_frontbuffer_bits() 150 void intel_drrs_activate(const struct intel_crtc_state *crtc_state) in intel_drrs_activate() argument 152 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_drrs_activate() 154 if (!crtc_state->has_drrs) in intel_drrs_activate() 157 if (!crtc_state->hw.active) in intel_drrs_activate() 160 if (intel_crtc_is_joiner_secondary(crtc_state)) in intel_drrs_activate() 165 crtc->drrs.cpu_transcoder = crtc_state->cpu_transcoder; in intel_drrs_activate() 166 crtc->drrs.m_n = crtc_state->dp_m_n; in intel_drrs_activate() [all …]
|
| D | intel_dpll.h | 28 void vlv_compute_dpll(struct intel_crtc_state *crtc_state); 29 void chv_compute_dpll(struct intel_crtc_state *crtc_state); 35 void chv_enable_pll(const struct intel_crtc_state *crtc_state); 37 void vlv_enable_pll(const struct intel_crtc_state *crtc_state); 39 void i9xx_enable_pll(const struct intel_crtc_state *crtc_state); 40 void i9xx_disable_pll(const struct intel_crtc_state *crtc_state); 41 bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, 45 void i9xx_crtc_clock_get(struct intel_crtc_state *crtc_state); 46 void vlv_crtc_clock_get(struct intel_crtc_state *crtc_state); 47 void chv_crtc_clock_get(struct intel_crtc_state *crtc_state);
|