| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_crtc_state_dump.c | 209 pipe_config->pipe_bpp, pipe_config->dither); in intel_crtc_state_dump() 257 pipe_config->has_audio, pipe_config->has_infoframe, in intel_crtc_state_dump() 299 pipe_config->vrr.vmin, pipe_config->vrr.vmax, pipe_config->vrr.flipline, in intel_crtc_state_dump() 301 pipe_config->vrr.vsync_start, pipe_config->vrr.vsync_end); in intel_crtc_state_dump() 320 pipe_config->linetime, pipe_config->ips_linetime); in intel_crtc_state_dump() 341 pipe_config->ips_enabled, pipe_config->double_wide, in intel_crtc_state_dump() 348 pipe_config->cgm_mode, pipe_config->gamma_mode, in intel_crtc_state_dump() 349 pipe_config->gamma_enable, pipe_config->csc_enable); in intel_crtc_state_dump() 352 pipe_config->csc_mode, pipe_config->gamma_mode, in intel_crtc_state_dump() 353 pipe_config->gamma_enable, pipe_config->csc_enable); in intel_crtc_state_dump() [all …]
|
| H A D | g4x_hdmi.c | 178 pipe_config->has_hdmi_sink = true; in intel_hdmi_get_config() 180 pipe_config->infoframes.enable |= in intel_hdmi_get_config() 183 if (pipe_config->infoframes.enable) in intel_hdmi_get_config() 184 pipe_config->has_infoframe = true; in intel_hdmi_get_config() 187 pipe_config->has_audio = true; in intel_hdmi_get_config() 200 if (pipe_config->pixel_multiplier) in intel_hdmi_get_config() 205 pipe_config->lane_count = 4; in intel_hdmi_get_config() 308 if (pipe_config->pipe_bpp > 24 && in ibx_enable_hdmi() 350 if (pipe_config->pipe_bpp > 24) { in cpt_enable_hdmi() 361 if (pipe_config->pipe_bpp > 24) { in cpt_enable_hdmi() [all …]
|
| H A D | g4x_dp.c | 84 pipe_config->dpll = divisor[i]; in g4x_dp_set_clock() 85 pipe_config->clock_set = true; in g4x_dp_set_clock() 103 pipe_config->port_clock, in intel_dp_prepare() 104 pipe_config->lane_count); in intel_dp_prepare() 161 if (pipe_config->enhanced_framing) in intel_dp_prepare() 206 pipe_config->port_clock); in ilk_edp_pll_on() 392 pipe_config->lane_count = in intel_dp_get_config() 395 g4x_dp_get_m_n(pipe_config); in intel_dp_get_config() 399 pipe_config->port_clock = 162000; in intel_dp_get_config() 401 pipe_config->port_clock = 270000; in intel_dp_get_config() [all …]
|
| H A D | intel_dp_mst.c | 620 &pipe_config->hw.adjusted_mode; in mst_stream_compute_config() 626 if (pipe_config->fec_enable && in mst_stream_compute_config() 673 pipe_config, true, in mst_stream_compute_config() 696 pipe_config->dp_m_n.tu); in mst_stream_compute_config() 706 pipe_config->limited_color_range = in mst_stream_compute_config() 710 pipe_config->lane_lat_optim_mask = in mst_stream_compute_config() 720 pipe_config); in mst_stream_compute_config() 1134 pipe_config, NULL); in mst_stream_pre_pll_enable() 1208 pipe_config, NULL); in mst_stream_pre_enable() 1290 &pipe_config->hw.adjusted_mode; in mst_stream_enable() [all …]
|
| H A D | intel_dp.c | 1995 pipe_config, in dsc_compute_link_config() 2182 pipe_config, in dsc_compute_compressed_bpp() 2424 else if (pipe_config->joiner_pipes || pipe_config->dsc.slice_count > 1) in intel_dp_dsc_compute_config() 2654 pipe_config, in intel_dp_compute_link_config() 2688 pipe_config->lane_count, pipe_config->port_clock, in intel_dp_compute_link_config() 2999 pipe_config->dp_m2_n2.data_m *= pipe_config->splitter.link_count; in intel_dp_drrs_compute_config() 3069 pipe_config->has_audio = in intel_dp_audio_compute_config() 3073 pipe_config->sdp_split_enable = pipe_config->has_audio && in intel_dp_audio_compute_config() 3162 pipe_config->mst_master_transcoder = pipe_config->cpu_transcoder; in intel_dp_compute_config() 3208 pipe_config->dp_m_n.data_m *= pipe_config->splitter.link_count; in intel_dp_compute_config() [all …]
|
| H A D | intel_dvo.c | 161 struct intel_crtc_state *pipe_config) in intel_dvo_get_config() argument 167 pipe_config->output_types |= BIT(INTEL_OUTPUT_DVO); in intel_dvo_get_config() 179 pipe_config->hw.adjusted_mode.flags |= flags; in intel_dvo_get_config() 181 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_dvo_get_config() 201 const struct intel_crtc_state *pipe_config, in intel_enable_dvo() argument 209 &pipe_config->hw.mode, in intel_enable_dvo() 210 &pipe_config->hw.adjusted_mode); in intel_enable_dvo() 254 struct intel_crtc_state *pipe_config, in intel_dvo_compute_config() argument 280 pipe_config->sink_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dvo_compute_config() 281 pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dvo_compute_config() [all …]
|
| H A D | icl_dsi.c | 306 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode() 1203 gen11_dsi_map_pll(encoder, pipe_config); in gen11_dsi_pre_enable() 1472 struct intel_crtc_state *pipe_config) in gen11_dsi_get_timings() argument 1476 &pipe_config->hw.adjusted_mode; in gen11_dsi_get_timings() 1478 if (pipe_config->dsc.compressed_bpp_x16) { in gen11_dsi_get_timings() 1538 struct intel_crtc_state *pipe_config) in gen11_dsi_get_config() argument 1640 &pipe_config->hw.adjusted_mode; in gen11_dsi_compute_config() 1663 pipe_config->pipe_bpp = 24; in gen11_dsi_compute_config() 1665 pipe_config->pipe_bpp = 18; in gen11_dsi_compute_config() 1667 pipe_config->clock_set = true; in gen11_dsi_compute_config() [all …]
|
| H A D | intel_display.c | 3005 pipe_config->sink_format = pipe_config->output_format; in i9xx_get_pipe_config() 3080 pipe_config->port_clock / pipe_config->pixel_multiplier; in i9xx_get_pipe_config() 3348 pipe_config->pipe_bpp = 18; in ilk_get_pipe_config() 3351 pipe_config->pipe_bpp = 24; in ilk_get_pipe_config() 3354 pipe_config->pipe_bpp = 30; in ilk_get_pipe_config() 3357 pipe_config->pipe_bpp = 36; in ilk_get_pipe_config() 3376 pipe_config->sink_format = pipe_config->output_format; in ilk_get_pipe_config() 3941 pipe_config->sink_format = pipe_config->output_format; in hsw_get_pipe_config() 3948 pipe_config->ips_linetime = in hsw_get_pipe_config() 4030 else if (pipe_config->has_hdmi_sink && pipe_config->pipe_bpp > 24) in intel_crtc_dotclock() [all …]
|
| H A D | vlv_dsi.c | 297 pipe_config->pipe_bpp = 24; in intel_dsi_compute_config() 299 pipe_config->pipe_bpp = 18; in intel_dsi_compute_config() 303 pipe_config->mode_flags |= in intel_dsi_compute_config() 321 pipe_config->clock_set = true; in intel_dsi_compute_config() 750 bxt_dsi_pll_enable(encoder, pipe_config); in intel_dsi_pre_enable() 772 intel_dsi_prepare(encoder, pipe_config); in intel_dsi_pre_enable() 792 intel_dsi_prepare(encoder, pipe_config); in intel_dsi_pre_enable() 1020 &pipe_config->hw.adjusted_mode; in bxt_dsi_get_pipe_config() 1051 pipe_config->mode_flags |= in bxt_dsi_get_pipe_config() 1178 struct intel_crtc_state *pipe_config) in intel_dsi_get_config() argument [all …]
|
| H A D | intel_fdi.c | 196 if (pipe_config->fdi_lanes > 4) { in ilk_check_fdi_lanes() 204 if (pipe_config->fdi_lanes > 2) { in ilk_check_fdi_lanes() 207 pipe_config->fdi_lanes); in ilk_check_fdi_lanes() 222 if (pipe_config->fdi_lanes <= 2) in ilk_check_fdi_lanes() 239 if (pipe_config->fdi_lanes > 2) { in ilk_check_fdi_lanes() 285 const struct intel_crtc_state *pipe_config) in intel_fdi_link_freq() argument 288 return pipe_config->port_clock; /* SPLL */ in intel_fdi_link_freq() 322 struct intel_crtc_state *pipe_config) in ilk_fdi_compute_config() argument 340 pipe_config->pipe_bpp); in ilk_fdi_compute_config() 342 pipe_config->fdi_lanes = lane; in ilk_fdi_compute_config() [all …]
|
| H A D | intel_dp.h | 73 struct intel_crtc_state *pipe_config, 76 struct intel_crtc_state *pipe_config, 81 struct intel_crtc_state *pipe_config, 146 int intel_dp_dsc_sink_min_compressed_bpp(const struct intel_crtc_state *pipe_config); 148 const struct intel_crtc_state *pipe_config, 164 const struct intel_crtc_state *pipe_config); 170 const struct intel_crtc_state *pipe_config);
|
| H A D | intel_pipe_crc.c | 285 struct intel_crtc_state *pipe_config; in intel_crtc_crc_setup_workarounds() local 305 pipe_config = intel_atomic_get_crtc_state(state, crtc); in intel_crtc_crc_setup_workarounds() 306 if (IS_ERR(pipe_config)) { in intel_crtc_crc_setup_workarounds() 307 ret = PTR_ERR(pipe_config); in intel_crtc_crc_setup_workarounds() 311 pipe_config->uapi.mode_changed = pipe_config->has_psr; in intel_crtc_crc_setup_workarounds() 312 pipe_config->crc_enabled = enable; in intel_crtc_crc_setup_workarounds() 315 pipe_config->hw.active && crtc->pipe == PIPE_A && in intel_crtc_crc_setup_workarounds() 316 pipe_config->cpu_transcoder == TRANSCODER_EDP) in intel_crtc_crc_setup_workarounds() 317 pipe_config->uapi.mode_changed = true; in intel_crtc_crc_setup_workarounds()
|
| H A D | intel_vdsc.c | 242 if (pipe_config->output_format == INTEL_OUTPUT_FORMAT_RGB || in intel_dsc_slice_dimensions_valid() 243 pipe_config->output_format == INTEL_OUTPUT_FORMAT_YCBCR444) { in intel_dsc_slice_dimensions_valid() 262 int intel_dsc_compute_params(struct intel_crtc_state *pipe_config) in intel_dsc_compute_params() argument 264 struct intel_display *display = to_intel_display(pipe_config); in intel_dsc_compute_params() 265 struct drm_dsc_config *vdsc_cfg = &pipe_config->dsc.config; in intel_dsc_compute_params() 272 pipe_config->dsc.slice_count); in intel_dsc_compute_params() 274 err = intel_dsc_slice_dimensions_valid(pipe_config, vdsc_cfg); in intel_dsc_compute_params() 286 pipe_config->output_format != INTEL_OUTPUT_FORMAT_YCBCR444; in intel_dsc_compute_params() 289 pipe_config->output_format == INTEL_OUTPUT_FORMAT_YCBCR420) in intel_dsc_compute_params() 297 vdsc_cfg->bits_per_pixel = pipe_config->dsc.compressed_bpp_x16; in intel_dsc_compute_params() [all …]
|
| H A D | intel_tv.c | 929 const struct intel_crtc_state *pipe_config, in intel_enable_tv() argument 1092 struct intel_crtc_state *pipe_config) in intel_tv_get_config() argument 1096 &pipe_config->hw.adjusted_mode; in intel_tv_get_config() 1126 tv_mode.clock = pipe_config->port_clock; in intel_tv_get_config() 1169 pipe_config->mode_flags |= in intel_tv_get_config() 1191 struct intel_crtc_state *pipe_config, in intel_tv_compute_config() argument 1202 &pipe_config->hw.adjusted_mode; in intel_tv_compute_config() 1217 pipe_config->pipe_bpp = 8*3; in intel_tv_compute_config() 1219 pipe_config->port_clock = tv_mode->clock; in intel_tv_compute_config() 1225 pipe_config->clock_set = true; in intel_tv_compute_config() [all …]
|
| H A D | intel_ddi.c | 407 if (pipe_config->has_pch_encoder) in ddi_dotclock_get() 411 intel_crtc_dotclock(pipe_config); in ddi_dotclock_get() 2501 if (!pipe_config->splitter.enable) in intel_ddi_mso_get_config() 4106 pipe_config->pipe_bpp = 18; in intel_ddi_read_func_ctl() 4109 pipe_config->pipe_bpp = 24; in intel_ddi_read_func_ctl() 4112 pipe_config->pipe_bpp = 30; in intel_ddi_read_func_ctl() 4115 pipe_config->pipe_bpp = 36; in intel_ddi_read_func_ctl() 4166 pipe_config->has_audio = in intel_ddi_get_config() 4172 ddi_dotclock_get(pipe_config); in intel_ddi_get_config() 4433 pipe_config->has_hdmi_sink = in intel_ddi_compute_config() [all …]
|
| H A D | intel_hdmi.c | 262 const struct intel_crtc_state *pipe_config) in g4x_infoframes_enabled() argument 2338 if (pipe_config->has_hdmi_sink) in intel_hdmi_compute_config() 2339 pipe_config->has_infoframe = true; in intel_hdmi_compute_config() 2342 pipe_config->pixel_multiplier = 2; in intel_hdmi_compute_config() 2344 pipe_config->has_audio = in intel_hdmi_compute_config() 2362 if (intel_hdmi_is_ycbcr420(pipe_config)) { in intel_hdmi_compute_config() 2368 pipe_config->limited_color_range = in intel_hdmi_compute_config() 2375 pipe_config->lane_count = 4; in intel_hdmi_compute_config() 2379 pipe_config->hdmi_scrambling = true; in intel_hdmi_compute_config() 2381 if (pipe_config->port_clock > 340000) { in intel_hdmi_compute_config() [all …]
|
| H A D | intel_lspcon.h | 22 const struct intel_crtc_state *pipe_config); 38 const struct intel_crtc_state *pipe_config);
|
| H A D | intel_sdvo.c | 1311 pipe_config->clock_set = true; in i9xx_adjust_sdvo_tv_clock() 1378 pipe_config->pipe_bpp = 8*3; in intel_sdvo_compute_config() 1398 pipe_config->sdvo_tv_clock = true; in intel_sdvo_compute_config() 1427 pipe_config->pixel_multiplier = in intel_sdvo_compute_config() 1432 pipe_config->has_audio = in intel_sdvo_compute_config() 1436 pipe_config->limited_color_range = in intel_sdvo_compute_config() 1750 pipe_config->pixel_multiplier = in intel_sdvo_get_config() 1755 dotclock = pipe_config->port_clock; in intel_sdvo_get_config() 1757 if (pipe_config->pixel_multiplier) in intel_sdvo_get_config() 1792 pipe_config->has_audio = true; in intel_sdvo_get_config() [all …]
|
| H A D | intel_fdi.h | 22 const struct intel_crtc_state *pipe_config); 25 struct intel_crtc_state *pipe_config);
|
| H A D | intel_dp_test.h | 17 struct intel_crtc_state *pipe_config,
|
| H A D | intel_vdsc.h | 22 int intel_dsc_compute_params(struct intel_crtc_state *pipe_config);
|
| H A D | intel_lspcon.c | 635 const struct intel_crtc_state *pipe_config) in lspcon_infoframes_enabled() argument 654 HSW_TVIDEO_DIP_CTL(display, pipe_config->cpu_transcoder)); in lspcon_infoframes_enabled() 710 const struct intel_crtc_state *pipe_config) in intel_lspcon_infoframes_enabled() argument 714 return dig_port->infoframes_enabled(encoder, pipe_config); in intel_lspcon_infoframes_enabled()
|
| H A D | intel_hdcp.h | 33 const struct intel_crtc_state *pipe_config,
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_dmub_srv.c | 588 pipe_data->pipe_config.vblank_data.drr_info.drr_in_use = true; in populate_subvp_cmd_drr_info() 674 pipe_data->pipe_config.vblank_data.vblank_end = in populate_subvp_cmd_vblank_pipe_info() 733 pipe_data->pipe_config.subvp_data.prefetch_to_mall_start_lines = in update_subvp_prefetch_end_to_mall_start() 741 pipe_data->pipe_config.subvp_data.prefetch_to_mall_start_lines = in update_subvp_prefetch_end_to_mall_start() 784 pipe_data->pipe_config.subvp_data.main_vblank_start = in populate_subvp_cmd_pipe_info() 786 pipe_data->pipe_config.subvp_data.main_vblank_end = in populate_subvp_cmd_pipe_info() 804 pipe_data->pipe_config.subvp_data.scale_factor_numerator = out_num; in populate_subvp_cmd_pipe_info() 808 pipe_data->pipe_config.subvp_data.prefetch_lines = in populate_subvp_cmd_pipe_info() 812 pipe_data->pipe_config.subvp_data.prefetch_to_mall_start_lines = in populate_subvp_cmd_pipe_info() 815 pipe_data->pipe_config.subvp_data.processing_delay_lines = in populate_subvp_cmd_pipe_info() [all …]
|
| /linux-6.15/drivers/usb/renesas_usbhs/ |
| H A D | pipe.c | 477 struct renesas_usbhs_driver_pipe_config *pipe_config = in usbhsp_setup_pipebuff() local 489 buff_size = pipe_config->bufsize; in usbhsp_setup_pipebuff() 490 bufnmb = pipe_config->bufnum; in usbhsp_setup_pipebuff() 507 struct renesas_usbhs_driver_pipe_config *pipe_config = in usbhs_pipe_config_update() local 509 u16 dblb = pipe_config->double_buf ? DBLB : 0; in usbhs_pipe_config_update()
|