Home
last modified time | relevance | path

Searched refs:cpu_transcoder (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_vrr.c273 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in intel_vrr_set_transcoder_timings() local
281 intel_de_rmw(display, CHICKEN_TRANS(cpu_transcoder), in intel_vrr_set_transcoder_timings()
286 TRANS_VRR_CTL(display, cpu_transcoder), 0); in intel_vrr_set_transcoder_timings()
291 intel_de_write(display, TRANS_CMRR_M_HI(display, cpu_transcoder), in intel_vrr_set_transcoder_timings()
293 intel_de_write(display, TRANS_CMRR_M_LO(display, cpu_transcoder), in intel_vrr_set_transcoder_timings()
295 intel_de_write(display, TRANS_CMRR_N_HI(display, cpu_transcoder), in intel_vrr_set_transcoder_timings()
297 intel_de_write(display, TRANS_CMRR_N_LO(display, cpu_transcoder), in intel_vrr_set_transcoder_timings()
301 intel_de_write(display, TRANS_VRR_VMIN(display, cpu_transcoder), in intel_vrr_set_transcoder_timings()
303 intel_de_write(display, TRANS_VRR_VMAX(display, cpu_transcoder), in intel_vrr_set_transcoder_timings()
305 intel_de_write(display, TRANS_VRR_CTL(display, cpu_transcoder), in intel_vrr_set_transcoder_timings()
[all …]
Dintel_audio.c333 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in hsw_dp_audio_config_update() local
336 intel_de_rmw(i915, HSW_AUD_CFG(cpu_transcoder), in hsw_dp_audio_config_update()
352 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in hsw_hdmi_audio_config_update() local
359 tmp = intel_de_read(i915, HSW_AUD_CFG(cpu_transcoder)); in hsw_hdmi_audio_config_update()
376 intel_de_write(i915, HSW_AUD_CFG(cpu_transcoder), tmp); in hsw_hdmi_audio_config_update()
382 tmp = intel_de_read(i915, HSW_AUD_M_CTS_ENABLE(cpu_transcoder)); in hsw_hdmi_audio_config_update()
385 intel_de_write(i915, HSW_AUD_M_CTS_ENABLE(cpu_transcoder), tmp); in hsw_hdmi_audio_config_update()
404 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in hsw_audio_codec_disable() local
409 intel_de_rmw(i915, HSW_AUD_CFG(cpu_transcoder), in hsw_audio_codec_disable()
419 AUDIO_ELD_VALID(cpu_transcoder), 0); in hsw_audio_codec_disable()
[all …]
Dintel_psr.c310 enum transcoder cpu_transcoder) in psr_ctl_reg() argument
313 return EDP_PSR_CTL(display, cpu_transcoder); in psr_ctl_reg()
319 enum transcoder cpu_transcoder) in psr_debug_reg() argument
322 return EDP_PSR_DEBUG(display, cpu_transcoder); in psr_debug_reg()
328 enum transcoder cpu_transcoder) in psr_perf_cnt_reg() argument
331 return EDP_PSR_PERF_CNT(display, cpu_transcoder); in psr_perf_cnt_reg()
337 enum transcoder cpu_transcoder) in psr_status_reg() argument
340 return EDP_PSR_STATUS(display, cpu_transcoder); in psr_status_reg()
346 enum transcoder cpu_transcoder) in psr_imr_reg() argument
349 return TRANS_PSR_IMR(display, cpu_transcoder); in psr_imr_reg()
[all …]
Dintel_drrs.c67 enum transcoder cpu_transcoder) in intel_cpu_transcoder_has_drrs() argument
72 return intel_cpu_transcoder_has_m2_n2(i915, cpu_transcoder); in intel_cpu_transcoder_has_drrs()
80 enum transcoder cpu_transcoder = crtc->drrs.cpu_transcoder; in intel_drrs_set_refresh_rate_pipeconf() local
88 intel_de_rmw(dev_priv, TRANSCONF(dev_priv, cpu_transcoder), in intel_drrs_set_refresh_rate_pipeconf()
96 intel_cpu_transcoder_set_m1_n1(crtc, crtc->drrs.cpu_transcoder, in intel_drrs_set_refresh_rate_m_n()
103 return crtc->drrs.cpu_transcoder != INVALID_TRANSCODER; in intel_drrs_is_active()
114 if (intel_cpu_transcoder_has_m2_n2(dev_priv, crtc->drrs.cpu_transcoder)) in intel_drrs_set_state()
165 crtc->drrs.cpu_transcoder = crtc_state->cpu_transcoder; in intel_drrs_activate()
200 crtc->drrs.cpu_transcoder = INVALID_TRANSCODER; in intel_drrs_deactivate()
305 crtc->drrs.cpu_transcoder = INVALID_TRANSCODER; in intel_drrs_crtc_init()
[all …]
Dintel_hdcp.c46 intel_de_rmw(dev_priv, MTL_CHICKEN_TRANS(hdcp->cpu_transcoder), in intel_hdcp_disable_hdcp_line_rekeying()
51 TRANS_DDI_FUNC_CTL(dev_priv, hdcp->cpu_transcoder), in intel_hdcp_disable_hdcp_line_rekeying()
291 enum transcoder cpu_transcoder, enum port port) in intel_hdcp_in_use() argument
294 HDCP_STATUS(i915, cpu_transcoder, port)) & in intel_hdcp_in_use()
299 enum transcoder cpu_transcoder, enum port port) in intel_hdcp2_in_use() argument
302 HDCP2_STATUS(i915, cpu_transcoder, port)) & in intel_hdcp2_in_use()
427 enum transcoder cpu_transcoder, enum port port) in intel_hdcp_get_repeater_ctl() argument
430 switch (cpu_transcoder) { in intel_hdcp_get_repeater_ctl()
445 cpu_transcoder); in intel_hdcp_get_repeater_ctl()
474 enum transcoder cpu_transcoder = connector->hdcp.cpu_transcoder; in intel_hdcp_validate_v_prime() local
[all …]
Dintel_vdsc.c26 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in intel_dsc_source_support() local
31 if (DISPLAY_VER(i915) == 11 && cpu_transcoder == TRANSCODER_A) in intel_dsc_source_support()
37 static bool is_pipe_dsc(struct intel_crtc *crtc, enum transcoder cpu_transcoder) in is_pipe_dsc() argument
44 if (cpu_transcoder == TRANSCODER_EDP || in is_pipe_dsc()
45 cpu_transcoder == TRANSCODER_DSI_0 || in is_pipe_dsc()
46 cpu_transcoder == TRANSCODER_DSI_1) in is_pipe_dsc()
350 intel_dsc_power_domain(struct intel_crtc *crtc, enum transcoder cpu_transcoder) in intel_dsc_power_domain() argument
368 else if (is_pipe_dsc(crtc, cpu_transcoder)) in intel_dsc_power_domain()
393 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in intel_dsc_get_pps_reg() local
397 pipe_dsc = is_pipe_dsc(crtc, cpu_transcoder); in intel_dsc_get_pps_reg()
[all …]
Dintel_pch_display.c224 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in ilk_pch_transcoder_set_timings() local
227 intel_de_read(dev_priv, TRANS_HTOTAL(dev_priv, cpu_transcoder))); in ilk_pch_transcoder_set_timings()
229 intel_de_read(dev_priv, TRANS_HBLANK(dev_priv, cpu_transcoder))); in ilk_pch_transcoder_set_timings()
231 intel_de_read(dev_priv, TRANS_HSYNC(dev_priv, cpu_transcoder))); in ilk_pch_transcoder_set_timings()
234 intel_de_read(dev_priv, TRANS_VTOTAL(dev_priv, cpu_transcoder))); in ilk_pch_transcoder_set_timings()
236 intel_de_read(dev_priv, TRANS_VBLANK(dev_priv, cpu_transcoder))); in ilk_pch_transcoder_set_timings()
238 intel_de_read(dev_priv, TRANS_VSYNC(dev_priv, cpu_transcoder))); in ilk_pch_transcoder_set_timings()
240 intel_de_read(dev_priv, TRANS_VSYNCSHIFT(dev_priv, cpu_transcoder))); in ilk_pch_transcoder_set_timings()
509 intel_cpu_transcoder_get_m1_n1(crtc, crtc_state->cpu_transcoder, in ilk_pch_get_config()
545 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in lpt_enable_pch_transcoder() local
[all …]
Dintel_display.c309 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_wait_for_pipe_off() local
312 if (intel_de_wait_for_clear(dev_priv, TRANSCONF(dev_priv, cpu_transcoder), in intel_wait_for_pipe_off()
321 enum transcoder cpu_transcoder, bool state) in assert_transcoder() argument
331 power_domain = POWER_DOMAIN_TRANSCODER(cpu_transcoder); in assert_transcoder()
335 TRANSCONF(dev_priv, cpu_transcoder)); in assert_transcoder()
345 transcoder_name(cpu_transcoder), str_on_off(state), in assert_transcoder()
413 enum transcoder cpu_transcoder = new_crtc_state->cpu_transcoder; in intel_enable_transcoder() local
437 (enum pipe) cpu_transcoder); in intel_enable_transcoder()
455 hsw_chicken_trans_reg(dev_priv, cpu_transcoder), in intel_enable_transcoder()
459 val = intel_de_read(dev_priv, TRANSCONF(dev_priv, cpu_transcoder)); in intel_enable_transcoder()
[all …]
Dintel_alpm.c313 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in lnl_alpm_configure() local
359 intel_de_write(display, ALPM_CTL(display, cpu_transcoder), alpm_ctl); in lnl_alpm_configure()
374 enum transcoder cpu_transcoder; in i915_edp_lobf_info_show() local
389 cpu_transcoder = crtc_state->cpu_transcoder; in i915_edp_lobf_info_show()
390 alpm_ctl = intel_de_read(display, ALPM_CTL(display, cpu_transcoder)); in i915_edp_lobf_info_show()
Dintel_ddi.c392 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in intel_ddi_set_dp_msa() local
398 drm_WARN_ON(&dev_priv->drm, transcoder_is_dsi(cpu_transcoder)); in intel_ddi_set_dp_msa()
444 intel_de_write(dev_priv, TRANS_MSA_MISC(dev_priv, cpu_transcoder), in intel_ddi_set_dp_msa()
461 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in intel_ddi_config_transcoder_dp2() local
467 intel_de_write(i915, TRANS_DP2_CTL(cpu_transcoder), val); in intel_ddi_config_transcoder_dp2()
483 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in intel_ddi_transcoder_func_reg_val_get() local
517 if (cpu_transcoder == TRANSCODER_EDP) { in intel_ddi_transcoder_func_reg_val_get()
593 enum transcoder cpu_transcoder = crtc_state->cpu_transcoder; in intel_ddi_enable_transcoder_func() local
608 TRANS_DDI_FUNC_CTL2(dev_priv, cpu_transcoder), in intel_ddi_enable_transcoder_func()
612 intel_de_write(dev_priv, TRANS_DDI_FUNC_CTL(dev_priv, cpu_transcoder), in intel_ddi_enable_transcoder_func()
[all …]
Dintel_dp_hdcp.c23 static u32 transcoder_to_stream_enc_status(enum transcoder cpu_transcoder) in transcoder_to_stream_enc_status() argument
25 switch (cpu_transcoder) { in transcoder_to_stream_enc_status()
247 enum transcoder cpu_transcoder, in intel_dp_hdcp_toggle_signalling() argument
769 enum transcoder cpu_transcoder = hdcp->stream_transcoder; in intel_dp_mst_hdcp_stream_encryption() local
777 stream_enc_status = transcoder_to_stream_enc_status(cpu_transcoder); in intel_dp_mst_hdcp_stream_encryption()
782 if (intel_de_wait(i915, HDCP_STATUS(i915, cpu_transcoder, port), in intel_dp_mst_hdcp_stream_encryption()
786 transcoder_name(cpu_transcoder), enable ? "enabled" : "disabled"); in intel_dp_mst_hdcp_stream_encryption()
801 enum transcoder cpu_transcoder = hdcp->stream_transcoder; in intel_dp_mst_hdcp2_stream_encryption() local
802 enum pipe pipe = (enum pipe)cpu_transcoder; in intel_dp_mst_hdcp2_stream_encryption()
807 !!(intel_de_read(i915, HDCP2_AUTH_STREAM(i915, cpu_transcoder, port)) in intel_dp_mst_hdcp2_stream_encryption()
[all …]
Dintel_lpe_audio.h20 enum transcoder cpu_transcoder, enum port port,
34 enum transcoder cpu_transcoder, enum port port, in intel_lpe_audio_notify() argument
Dintel_hdmi.c78 enum transcoder cpu_transcoder) in assert_hdmi_transcoder_func_disabled() argument
81 intel_de_read(display, TRANS_DDI_FUNC_CTL(display, cpu_transcoder)) & in assert_hdmi_transcoder_func_disabled()
157 enum transcoder cpu_transcoder, in hsw_dip_data_reg() argument
163 return HSW_TVIDEO_DIP_GMP_DATA(display, cpu_transcoder, i); in hsw_dip_data_reg()
165 return HSW_TVIDEO_DIP_VSC_DATA(display, cpu_transcoder, i); in hsw_dip_data_reg()
167 return ADL_TVIDEO_DIP_AS_SDP_DATA(display, cpu_transcoder, i); in hsw_dip_data_reg()
169 return ICL_VIDEO_DIP_PPS_DATA(display, cpu_transcoder, i); in hsw_dip_data_reg()
171 return HSW_TVIDEO_DIP_AVI_DATA(display, cpu_transcoder, i); in hsw_dip_data_reg()
173 return HSW_TVIDEO_DIP_SPD_DATA(display, cpu_transcoder, i); in hsw_dip_data_reg()
175 return HSW_TVIDEO_DIP_VS_DATA(display, cpu_transcoder, i); in hsw_dip_data_reg()
[all …]
Dintel_crt.c699 enum transcoder cpu_transcoder = (enum transcoder)pipe; in intel_crt_load_detect() local
712 BCLRPAT(dev_priv, cpu_transcoder)); in intel_crt_load_detect()
714 TRANS_VTOTAL(dev_priv, cpu_transcoder)); in intel_crt_load_detect()
716 TRANS_VBLANK(dev_priv, cpu_transcoder)); in intel_crt_load_detect()
725 intel_de_write(dev_priv, BCLRPAT(dev_priv, cpu_transcoder), 0x500050); in intel_crt_load_detect()
729 TRANSCONF(dev_priv, cpu_transcoder)); in intel_crt_load_detect()
731 intel_de_write(dev_priv, TRANSCONF(dev_priv, cpu_transcoder), in intel_crt_load_detect()
734 TRANSCONF(dev_priv, cpu_transcoder)); in intel_crt_load_detect()
743 intel_de_write(dev_priv, TRANSCONF(dev_priv, cpu_transcoder), in intel_crt_load_detect()
755 TRANS_VSYNC(dev_priv, cpu_transcoder)); in intel_crt_load_detect()
[all …]
Dintel_ddi.h32 enum transcoder cpu_transcoder);
76 enum transcoder cpu_transcoder,
Dintel_drrs.h20 enum transcoder cpu_transcoder);
Dintel_display.h498 enum transcoder cpu_transcoder,
501 enum transcoder cpu_transcoder,
504 enum transcoder cpu_transcoder,
507 enum transcoder cpu_transcoder,
566 enum transcoder cpu_transcoder, bool state);
Dintel_vdsc.h25 intel_dsc_power_domain(struct intel_crtc *crtc, enum transcoder cpu_transcoder);
Dintel_dp_mst.c720 transcoders |= BIT(crtc_state->cpu_transcoder); in intel_dp_mst_transcoder_mask()
1046 TRANS_DDI_FUNC_CTL(dev_priv, old_crtc_state->cpu_transcoder), in intel_mst_post_disable_dp()
1242 set |= DP_MST_FEC_BS_JITTER_WA(crtc_state->cpu_transcoder); in enable_bs_jitter_was()
1247 set |= DP_MST_SHORT_HBLANK_WA(crtc_state->cpu_transcoder); in enable_bs_jitter_was()
1249 clear |= DP_MST_SHORT_HBLANK_WA(crtc_state->cpu_transcoder); in enable_bs_jitter_was()
1252 set |= DP_MST_DPT_DPTP_ALIGN_WA(crtc_state->cpu_transcoder); in enable_bs_jitter_was()
1273 enum transcoder trans = pipe_config->cpu_transcoder; in intel_mst_enable_dp()
1285 intel_de_write(dev_priv, TRANS_DP2_VFREQHIGH(pipe_config->cpu_transcoder), in intel_mst_enable_dp()
1287 intel_de_write(dev_priv, TRANS_DP2_VFREQLOW(pipe_config->cpu_transcoder), in intel_mst_enable_dp()
1898 return crtc_state->mst_master_transcoder == crtc_state->cpu_transcoder; in intel_dp_mst_is_master_trans()
[all …]
Dintel_lpe_audio.c327 enum transcoder cpu_transcoder, enum port port, in intel_lpe_audio_notify() argument
347 ppdata->pipe = cpu_transcoder; in intel_lpe_audio_notify()
Dintel_display_types.h504 enum transcoder cpu_transcoder,
611 enum transcoder cpu_transcoder; member
1127 enum transcoder cpu_transcoder; member
1512 enum transcoder cpu_transcoder; member
Dg4x_dp.c201 assert_transcoder_disabled(dev_priv, pipe_config->cpu_transcoder); in ilk_edp_pll_on()
242 assert_transcoder_disabled(dev_priv, old_crtc_state->cpu_transcoder); in ilk_edp_pll_off()
333 intel_cpu_transcoder_get_m1_n1(crtc, crtc_state->cpu_transcoder, in g4x_dp_get_m_n()
335 intel_cpu_transcoder_get_m2_n2(crtc, crtc_state->cpu_transcoder, in g4x_dp_get_m_n()
Dintel_modeset_setup.c204 if (temp_crtc_state->cpu_transcoder == INVALID_TRANSCODER) in get_transcoder_pipes()
210 if (transcoder_mask & BIT(temp_crtc_state->cpu_transcoder)) in get_transcoder_pipes()
239 master_transcoder = crtc_state->cpu_transcoder; in get_portsync_pipes()
Dintel_fdi.c38 enum transcoder cpu_transcoder = (enum transcoder)pipe; in assert_fdi_tx() local
40 TRANS_DDI_FUNC_CTL(dev_priv, cpu_transcoder)) & TRANS_DDI_FUNC_ENABLE; in assert_fdi_tx()
523 assert_transcoder_enabled(dev_priv, crtc_state->cpu_transcoder); in ilk_fdi_link_train()
Dintel_dpll.c1833 assert_transcoder_disabled(dev_priv, crtc_state->cpu_transcoder); in i9xx_enable_pll()
2014 assert_transcoder_disabled(dev_priv, crtc_state->cpu_transcoder); in vlv_enable_pll()
2161 assert_transcoder_disabled(dev_priv, crtc_state->cpu_transcoder); in chv_enable_pll()
2222 crtc_state->cpu_transcoder = (enum transcoder)pipe; in vlv_force_pll_on()
2294 assert_transcoder_disabled(dev_priv, crtc_state->cpu_transcoder); in i9xx_disable_pll()

12