/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_crtc_state_dump.c | 187 pipe_config->pipe_bpp, pipe_config->dither); in intel_crtc_state_dump() 226 pipe_config->has_audio, pipe_config->has_infoframe, in intel_crtc_state_dump() 258 pipe_config->vrr.vmin, pipe_config->vrr.vmax, in intel_crtc_state_dump() 259 pipe_config->vrr.pipeline_full, pipe_config->vrr.guardband, in intel_crtc_state_dump() 278 pipe_config->linetime, pipe_config->ips_linetime); in intel_crtc_state_dump() 302 pipe_config->ips_enabled, pipe_config->double_wide, in intel_crtc_state_dump() 310 pipe_config->cgm_mode, pipe_config->gamma_mode, in intel_crtc_state_dump() 311 pipe_config->gamma_enable, pipe_config->csc_enable); in intel_crtc_state_dump() 315 pipe_config->csc_mode, pipe_config->gamma_mode, in intel_crtc_state_dump() 316 pipe_config->gamma_enable, pipe_config->csc_enable); in intel_crtc_state_dump() [all …]
|
A D | g4x_hdmi.c | 120 pipe_config->infoframes.enable |= in intel_hdmi_get_config() 127 pipe_config->has_audio = true; in intel_hdmi_get_config() 140 if (pipe_config->pixel_multiplier) in intel_hdmi_get_config() 145 pipe_config->lane_count = 4; in intel_hdmi_get_config() 173 if (pipe_config->has_audio) in g4x_hdmi_enable_port() 190 !pipe_config->has_hdmi_sink); in g4x_enable_hdmi() 207 if (pipe_config->has_audio) in ibx_enable_hdmi() 226 if (pipe_config->pipe_bpp > 24 && in ibx_enable_hdmi() 262 if (pipe_config->has_audio) in cpt_enable_hdmi() 275 if (pipe_config->pipe_bpp > 24) { in cpt_enable_hdmi() [all …]
|
A D | g4x_dp.c | 79 pipe_config->dpll = divisor[i]; in g4x_dp_set_clock() 80 pipe_config->clock_set = true; in g4x_dp_set_clock() 97 pipe_config->port_clock, in intel_dp_prepare() 98 pipe_config->lane_count); in intel_dp_prepare() 204 pipe_config->port_clock); in ilk_edp_pll_on() 208 if (pipe_config->port_clock == 162000) in ilk_edp_pll_on() 383 pipe_config->lane_count = in intel_dp_get_config() 386 g4x_dp_get_m_n(pipe_config); in intel_dp_get_config() 390 pipe_config->port_clock = 162000; in intel_dp_get_config() 392 pipe_config->port_clock = 270000; in intel_dp_get_config() [all …]
|
A D | intel_modeset_verify.c | 88 const struct intel_crtc_state *pipe_config) in intel_pipe_config_sanity_check() argument 90 if (pipe_config->has_pch_encoder) { in intel_pipe_config_sanity_check() 92 &pipe_config->fdi_m_n); in intel_pipe_config_sanity_check() 164 struct intel_crtc_state *pipe_config = old_crtc_state; in verify_crtc_state() local 176 pipe_config->hw.enable = new_crtc_state->hw.enable; in verify_crtc_state() 178 intel_crtc_get_pipe_config(pipe_config); in verify_crtc_state() 181 if (IS_I830(dev_priv) && pipe_config->hw.active) in verify_crtc_state() 182 pipe_config->hw.active = new_crtc_state->hw.active; in verify_crtc_state() 186 new_crtc_state->hw.active, pipe_config->hw.active); in verify_crtc_state() 209 intel_encoder_get_config(encoder, pipe_config); in verify_crtc_state() [all …]
|
A D | intel_dp_mst.c | 280 &pipe_config->hw.adjusted_mode; in intel_dp_mst_compute_config() 288 pipe_config->has_pch_encoder = false; in intel_dp_mst_compute_config() 293 pipe_config->has_audio = in intel_dp_mst_compute_config() 351 pipe_config->limited_color_range = in intel_dp_mst_compute_config() 355 pipe_config->lane_lat_optim_mask = in intel_dp_mst_compute_config() 630 pipe_config, NULL); in intel_mst_pre_pll_enable_dp() 669 pipe_config, NULL); in intel_mst_pre_enable_dp() 710 if (intel_dp_is_uhbr(pipe_config)) { in intel_mst_enable_dp() 712 &pipe_config->hw.adjusted_mode; in intel_mst_enable_dp() 743 intel_crtc_vblank_on(pipe_config); in intel_mst_enable_dp() [all …]
|
A D | intel_lvds.c | 124 struct intel_crtc_state *pipe_config) in intel_lvds_get_config() argument 142 pipe_config->hw.adjusted_mode.flags |= flags; in intel_lvds_get_config() 145 pipe_config->gmch_pfit.lvds_border_bits = in intel_lvds_get_config() 155 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_lvds_get_config() 243 pipe_config->shared_dpll); in intel_pre_enable_lvds() 293 if (pipe_config->dither && pipe_config->pipe_bpp == 18) in intel_pre_enable_lvds() 412 struct intel_crtc_state *pipe_config, in intel_lvds_compute_config() argument 436 if (lvds_bpp != pipe_config->pipe_bpp && !pipe_config->bw_constrained) { in intel_lvds_compute_config() 439 pipe_config->pipe_bpp, lvds_bpp); in intel_lvds_compute_config() 440 pipe_config->pipe_bpp = lvds_bpp; in intel_lvds_compute_config() [all …]
|
A D | intel_dp.c | 1604 pipe_config->pipe_bpp, in intel_dp_dsc_compute_config() 1612 pipe_config->pipe_bpp, in intel_dp_dsc_compute_config() 1693 pipe_config->lane_count, pipe_config->port_clock, in intel_dp_compute_link_config() 1694 pipe_config->pipe_bpp, in intel_dp_compute_link_config() 1705 pipe_config->lane_count, pipe_config->port_clock, in intel_dp_compute_link_config() 1933 if (pipe_config->vrr.enable) in can_enable_drrs() 1942 if (pipe_config->has_psr) in can_enable_drrs() 1985 pipe_config->port_clock, &pipe_config->dp_m2_n2, in intel_dp_drrs_compute_config() 1990 pipe_config->dp_m2_n2.data_m *= pipe_config->splitter.link_count; in intel_dp_drrs_compute_config() 2083 pipe_config->has_audio = in intel_dp_compute_config() [all …]
|
A D | intel_crt.c | 138 struct intel_crtc_state *pipe_config) in intel_crt_get_config() argument 144 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_crt_get_config() 150 lpt_pch_get_config(pipe_config); in hsw_crt_get_config() 391 &pipe_config->hw.adjusted_mode; in intel_crt_compute_config() 406 &pipe_config->hw.adjusted_mode; in pch_crt_compute_config() 411 pipe_config->has_pch_encoder = true; in pch_crt_compute_config() 423 &pipe_config->hw.adjusted_mode; in hsw_crt_compute_config() 433 pipe_config->has_pch_encoder = true; in hsw_crt_compute_config() 438 if (pipe_config->bw_constrained && pipe_config->pipe_bpp < 24) { in hsw_crt_compute_config() 444 pipe_config->pipe_bpp = 24; in hsw_crt_compute_config() [all …]
|
A D | intel_dvo.c | 158 struct intel_crtc_state *pipe_config) in intel_dvo_get_config() argument 164 pipe_config->output_types |= BIT(INTEL_OUTPUT_DVO); in intel_dvo_get_config() 176 pipe_config->hw.adjusted_mode.flags |= flags; in intel_dvo_get_config() 178 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_dvo_get_config() 198 const struct intel_crtc_state *pipe_config, in intel_enable_dvo() argument 206 &pipe_config->hw.mode, in intel_enable_dvo() 207 &pipe_config->hw.adjusted_mode); in intel_enable_dvo() 248 struct intel_crtc_state *pipe_config, in intel_dvo_compute_config() argument 274 pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dvo_compute_config() 281 const struct intel_crtc_state *pipe_config, in intel_dvo_pre_enable() argument [all …]
|
A D | intel_display.c | 3209 pipe_config->pipe_bpp = 18; in i9xx_get_pipe_config() 3212 pipe_config->pipe_bpp = 24; in i9xx_get_pipe_config() 3215 pipe_config->pipe_bpp = 30; in i9xx_get_pipe_config() 3295 pipe_config->port_clock / pipe_config->pixel_multiplier; in i9xx_get_pipe_config() 3627 pipe_config->pipe_bpp = 18; in ilk_get_pipe_config() 3630 pipe_config->pipe_bpp = 24; in ilk_get_pipe_config() 3633 pipe_config->pipe_bpp = 30; in ilk_get_pipe_config() 3636 pipe_config->pipe_bpp = 36; in ilk_get_pipe_config() 4076 pipe_config->ips_linetime = in hsw_get_pipe_config() 4478 else if (pipe_config->has_hdmi_sink && pipe_config->pipe_bpp > 24) in intel_crtc_dotclock() [all …]
|
A D | intel_fdi.c | 140 if (pipe_config->fdi_lanes > 4) { in ilk_check_fdi_lanes() 148 if (pipe_config->fdi_lanes > 2) { in ilk_check_fdi_lanes() 151 pipe_config->fdi_lanes); in ilk_check_fdi_lanes() 166 if (pipe_config->fdi_lanes <= 2) in ilk_check_fdi_lanes() 183 if (pipe_config->fdi_lanes > 2) { in ilk_check_fdi_lanes() 234 struct intel_crtc_state *pipe_config) in ilk_fdi_compute_config() argument 255 pipe_config->pipe_bpp); in ilk_fdi_compute_config() 257 pipe_config->fdi_lanes = lane; in ilk_fdi_compute_config() 267 pipe_config->pipe_bpp -= 2*3; in ilk_fdi_compute_config() 270 pipe_config->pipe_bpp); in ilk_fdi_compute_config() [all …]
|
A D | vlv_dsi.c | 272 struct intel_crtc_state *pipe_config, in intel_dsi_compute_config() argument 300 pipe_config->pipe_bpp = 24; in intel_dsi_compute_config() 302 pipe_config->pipe_bpp = 18; in intel_dsi_compute_config() 306 pipe_config->mode_flags |= in intel_dsi_compute_config() 324 pipe_config->clock_set = true; in intel_dsi_compute_config() 832 intel_dsi_prepare(encoder, pipe_config); in intel_dsi_pre_enable() 863 intel_dsi_prepare(encoder, pipe_config); in intel_dsi_pre_enable() 1105 &pipe_config->hw.adjusted_mode; in bxt_dsi_get_pipe_config() 1136 pipe_config->mode_flags |= in bxt_dsi_get_pipe_config() 1264 struct intel_crtc_state *pipe_config) in intel_dsi_get_config() argument [all …]
|
A D | icl_dsi.c | 312 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode() 1229 gen11_dsi_map_pll(encoder, pipe_config); in gen11_dsi_pre_enable() 1497 struct intel_crtc_state *pipe_config) in gen11_dsi_get_timings() argument 1501 &pipe_config->hw.adjusted_mode; in gen11_dsi_get_timings() 1503 if (pipe_config->dsc.compressed_bpp) { in gen11_dsi_get_timings() 1564 struct intel_crtc_state *pipe_config) in gen11_dsi_get_config() argument 1667 &pipe_config->hw.adjusted_mode; in gen11_dsi_compute_config() 1689 pipe_config->pipe_bpp = 24; in gen11_dsi_compute_config() 1691 pipe_config->pipe_bpp = 18; in gen11_dsi_compute_config() 1693 pipe_config->clock_set = true; in gen11_dsi_compute_config() [all …]
|
A D | intel_ddi.c | 347 if (pipe_config->has_pch_encoder) in ddi_dotclock_get() 3356 pipe_config->pipe_bpp = 18; in intel_ddi_read_func_ctl() 3359 pipe_config->pipe_bpp = 24; in intel_ddi_read_func_ctl() 3362 pipe_config->pipe_bpp = 30; in intel_ddi_read_func_ctl() 3365 pipe_config->pipe_bpp = 36; in intel_ddi_read_func_ctl() 3388 pipe_config->lane_count = 4; in intel_ddi_read_func_ctl() 3395 pipe_config->lane_count = in intel_ddi_read_func_ctl() 3406 pipe_config->fec_enable = in intel_ddi_read_func_ctl() 3431 pipe_config->lane_count = in intel_ddi_read_func_ctl() 3463 pipe_config->has_audio = in intel_ddi_get_config() [all …]
|
A D | intel_pipe_crc.c | 282 struct intel_crtc_state *pipe_config; in intel_crtc_crc_setup_workarounds() local 298 pipe_config = intel_atomic_get_crtc_state(state, crtc); in intel_crtc_crc_setup_workarounds() 299 if (IS_ERR(pipe_config)) { in intel_crtc_crc_setup_workarounds() 300 ret = PTR_ERR(pipe_config); in intel_crtc_crc_setup_workarounds() 304 pipe_config->uapi.mode_changed = pipe_config->has_psr; in intel_crtc_crc_setup_workarounds() 305 pipe_config->crc_enabled = enable; in intel_crtc_crc_setup_workarounds() 308 pipe_config->hw.active && crtc->pipe == PIPE_A && in intel_crtc_crc_setup_workarounds() 309 pipe_config->cpu_transcoder == TRANSCODER_EDP) in intel_crtc_crc_setup_workarounds() 310 pipe_config->uapi.mode_changed = true; in intel_crtc_crc_setup_workarounds()
|
A D | intel_sdvo.c | 1303 pipe_config->clock_set = true; in i9xx_adjust_sdvo_tv_clock() 1353 pipe_config->pipe_bpp = 8*3; in intel_sdvo_compute_config() 1373 pipe_config->sdvo_tv_clock = true; in intel_sdvo_compute_config() 1400 pipe_config->pixel_multiplier = in intel_sdvo_compute_config() 1405 pipe_config->has_audio = in intel_sdvo_compute_config() 1409 pipe_config->limited_color_range = in intel_sdvo_compute_config() 1717 pipe_config->pixel_multiplier = in intel_sdvo_get_config() 1722 dotclock = pipe_config->port_clock; in intel_sdvo_get_config() 1724 if (pipe_config->pixel_multiplier) in intel_sdvo_get_config() 1759 pipe_config->has_audio = true; in intel_sdvo_get_config() [all …]
|
A D | intel_hdmi.c | 2262 pipe_config->has_hdmi_sink = in intel_hdmi_compute_config() 2264 !intel_hdmi_is_cloned(pipe_config); in intel_hdmi_compute_config() 2266 if (pipe_config->has_hdmi_sink) in intel_hdmi_compute_config() 2267 pipe_config->has_infoframe = true; in intel_hdmi_compute_config() 2270 pipe_config->pixel_multiplier = 2; in intel_hdmi_compute_config() 2272 pipe_config->has_audio = in intel_hdmi_compute_config() 2296 pipe_config->limited_color_range = in intel_hdmi_compute_config() 2303 pipe_config->lane_count = 4; in intel_hdmi_compute_config() 2307 pipe_config->hdmi_scrambling = true; in intel_hdmi_compute_config() 2309 if (pipe_config->port_clock > 340000) { in intel_hdmi_compute_config() [all …]
|
A D | intel_tv.c | 924 const struct intel_crtc_state *pipe_config, in intel_enable_tv() argument 1088 struct intel_crtc_state *pipe_config) in intel_tv_get_config() argument 1092 &pipe_config->hw.adjusted_mode; in intel_tv_get_config() 1122 tv_mode.clock = pipe_config->port_clock; in intel_tv_get_config() 1165 pipe_config->mode_flags |= in intel_tv_get_config() 1187 struct intel_crtc_state *pipe_config, in intel_tv_compute_config() argument 1198 &pipe_config->hw.adjusted_mode; in intel_tv_compute_config() 1212 pipe_config->pipe_bpp = 8*3; in intel_tv_compute_config() 1214 pipe_config->port_clock = tv_mode->clock; in intel_tv_compute_config() 1220 pipe_config->clock_set = true; in intel_tv_compute_config() [all …]
|
A D | intel_lspcon.h | 35 const struct intel_crtc_state *pipe_config); 37 const struct intel_crtc_state *pipe_config);
|
A D | intel_fdi.h | 16 const struct intel_crtc_state *pipe_config); 18 struct intel_crtc_state *pipe_config);
|
A D | intel_dp.h | 34 struct intel_crtc_state *pipe_config, 57 struct intel_crtc_state *pipe_config, 60 struct intel_crtc_state *pipe_config,
|
A D | intel_vdsc.c | 450 int intel_dsc_compute_params(struct intel_crtc_state *pipe_config) in intel_dsc_compute_params() argument 452 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_dsc_compute_params() 454 struct drm_dsc_config *vdsc_cfg = &pipe_config->dsc.config; in intel_dsc_compute_params() 455 u16 compressed_bpp = pipe_config->dsc.compressed_bpp; in intel_dsc_compute_params() 460 vdsc_cfg->pic_width = pipe_config->hw.adjusted_mode.crtc_hdisplay; in intel_dsc_compute_params() 462 pipe_config->dsc.slice_count); in intel_dsc_compute_params() 471 vdsc_cfg->bits_per_component = pipe_config->pipe_bpp / 3; in intel_dsc_compute_params()
|
A D | g4x_dp.h | 23 struct intel_crtc_state *pipe_config);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_dmub_srv.c | 461 pipe_data->pipe_config.vblank_data.drr_info.drr_in_use = true; in populate_subvp_cmd_drr_info() 546 pipe_data->pipe_config.vblank_data.vblank_end = in populate_subvp_cmd_vblank_pipe_info() 591 pipe_data->pipe_config.subvp_data.prefetch_to_mall_start_lines = in update_subvp_prefetch_end_to_mall_start() 599 pipe_data->pipe_config.subvp_data.prefetch_to_mall_start_lines = in update_subvp_prefetch_end_to_mall_start() 636 pipe_data->pipe_config.subvp_data.main_vblank_start = in populate_subvp_cmd_pipe_info() 638 pipe_data->pipe_config.subvp_data.main_vblank_end = in populate_subvp_cmd_pipe_info() 659 pipe_data->pipe_config.subvp_data.prefetch_lines = in populate_subvp_cmd_pipe_info() 663 pipe_data->pipe_config.subvp_data.prefetch_to_mall_start_lines = in populate_subvp_cmd_pipe_info() 666 pipe_data->pipe_config.subvp_data.processing_delay_lines = in populate_subvp_cmd_pipe_info() 675 pipe_data->pipe_config.subvp_data.main_split_pipe_index = 0; in populate_subvp_cmd_pipe_info() [all …]
|
/linux-6.3-rc2/drivers/usb/renesas_usbhs/ |
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()
|