Home
last modified time | relevance | path

Searched refs:intel_crtc (Results 1 - 25 of 148) sorted by relevance

123456

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_pch_display.h14 struct intel_crtc;
20 enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc);
23 struct intel_crtc *crtc);
25 struct intel_crtc *crtc);
27 struct intel_crtc *crtc);
29 struct intel_crtc *crtc);
33 struct intel_crtc *crtc);
35 struct intel_crtc *crtc);
38 void intel_pch_transcoder_get_m1_n1(struct intel_crtc *crtc,
40 void intel_pch_transcoder_get_m2_n2(struct intel_crtc *crt
[all...]
H A Dintel_fdi.h11 struct intel_crtc;
17 int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,
19 void intel_fdi_normal_train(struct intel_crtc *crtc);
20 void ilk_fdi_disable(struct intel_crtc *crtc);
21 void ilk_fdi_pll_disable(struct intel_crtc *intel_crtc);
29 void intel_fdi_link_train(struct intel_crtc *crtc,
H A Dintel_pipe_crc.h13 struct intel_crtc;
16 void intel_crtc_crc_init(struct intel_crtc *crtc);
22 void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc);
23 void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc);
25 static inline void intel_crtc_crc_init(struct intel_crtc *crtc) {} in intel_crtc_crc_init()
29 static inline void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc) in intel_crtc_disable_pipe_crc()
33 static inline void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc) in intel_crtc_enable_pipe_crc()
H A Dintel_crtc.h16 struct intel_crtc;
33 struct intel_crtc_state *intel_crtc_state_alloc(struct intel_crtc *crtc);
35 struct intel_crtc *crtc);
36 u32 intel_crtc_get_vblank_counter(struct intel_crtc *crtc);
42 struct intel_crtc *intel_first_crtc(struct drm_i915_private *i915);
43 struct intel_crtc *intel_crtc_for_pipe(struct drm_i915_private *i915,
47 void intel_crtc_wait_for_next_vblank(struct intel_crtc *crtc);
H A Dhsw_ips.h12 struct intel_crtc;
17 struct intel_crtc *crtc);
19 struct intel_crtc *crtc);
20 bool hsw_crtc_supports_ips(struct intel_crtc *crtc);
23 struct intel_crtc *crtc);
25 void hsw_ips_crtc_debugfs_add(struct intel_crtc *crtc);
H A Dhsw_ips.c15 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_ips_enable()
62 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_ips_disable()
92 struct intel_crtc *crtc) in hsw_ips_need_disable()
121 struct intel_crtc *crtc) in hsw_ips_pre_update()
133 struct intel_crtc *crtc) in hsw_ips_need_enable()
169 struct intel_crtc *crtc) in hsw_ips_post_update()
181 bool hsw_crtc_supports_ips(struct intel_crtc *crtc) in hsw_crtc_supports_ips()
188 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_crtc_state_ips_capable()
216 struct intel_crtc *crtc) in hsw_ips_compute_config()
259 struct intel_crtc *crt in hsw_ips_get_config()
[all...]
H A Dintel_wm.h13 struct intel_crtc;
19 struct intel_crtc *crtc);
21 struct intel_crtc *crtc);
23 struct intel_crtc *crtc);
25 struct intel_crtc *crtc);
27 struct intel_crtc *crtc);
H A Dintel_fbc.h14 struct intel_crtc;
29 struct intel_crtc *crtc);
31 struct intel_crtc *crtc);
36 struct intel_crtc *crtc);
37 void intel_fbc_disable(struct intel_crtc *crtc);
46 void intel_fbc_crtc_debugfs_add(struct intel_crtc *crtc);
H A Dintel_drrs.c66 intel_drrs_set_refresh_rate_pipeconf(struct intel_crtc *crtc, in intel_drrs_set_refresh_rate_pipeconf()
83 intel_drrs_set_refresh_rate_m_n(struct intel_crtc *crtc, in intel_drrs_set_refresh_rate_m_n()
91 bool intel_drrs_is_active(struct intel_crtc *crtc) in intel_drrs_is_active()
96 static void intel_drrs_set_state(struct intel_crtc *crtc, in intel_drrs_set_state()
112 static void intel_drrs_schedule_work(struct intel_crtc *crtc) in intel_drrs_schedule_work()
121 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_drrs_frontbuffer_bits()
142 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_drrs_activate()
174 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_drrs_deactivate()
201 struct intel_crtc *crtc = container_of(work, typeof(*crtc), drrs.work.work); in intel_drrs_downclock_work()
215 struct intel_crtc *crt in intel_drrs_frontbuffer_update()
[all...]
H A Dintel_display_core.h40 struct intel_crtc;
62 bool (*get_pipe_config)(struct intel_crtc *,
64 void (*get_initial_plane_config)(struct intel_crtc *,
67 struct intel_crtc *crtc);
69 struct intel_crtc *crtc);
78 struct intel_crtc *crtc);
80 struct intel_crtc *crtc);
82 struct intel_crtc *crtc);
84 struct intel_crtc *crtc);
86 struct intel_crtc *crt
[all...]
H A Dintel_crtc.c20 #include "intel_crtc.h"
46 struct intel_crtc *intel_first_crtc(struct drm_i915_private *i915) in intel_first_crtc()
51 struct intel_crtc *intel_crtc_for_pipe(struct drm_i915_private *i915, in intel_crtc_for_pipe()
54 struct intel_crtc *crtc; in intel_crtc_for_pipe()
64 void intel_crtc_wait_for_next_vblank(struct intel_crtc *crtc) in intel_crtc_wait_for_next_vblank()
72 struct intel_crtc *crtc = intel_crtc_for_pipe(i915, pipe); in intel_wait_for_vblank_if_active()
78 u32 intel_crtc_get_vblank_counter(struct intel_crtc *crtc) in intel_crtc_get_vblank_counter()
124 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_crtc_vblank_on()
141 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_crtc_vblank_off()
154 struct intel_crtc_state *intel_crtc_state_alloc(struct intel_crtc *crt
[all...]
H A Dintel_dpll_mgr.h35 struct intel_crtc;
330 struct intel_crtc *crtc,
333 struct intel_crtc *crtc,
336 struct intel_crtc *crtc);
337 void intel_unreference_shared_dpll_crtc(const struct intel_crtc *crtc,
343 struct intel_crtc *crtc,
364 void intel_shared_dpll_state_verify(struct intel_crtc *crtc,
H A Dintel_drrs.h14 struct intel_crtc;
19 bool intel_drrs_is_active(struct intel_crtc *crtc);
26 void intel_drrs_crtc_init(struct intel_crtc *crtc);
27 void intel_drrs_crtc_debugfs_add(struct intel_crtc *crtc);
H A Dintel_vblank.h13 struct intel_crtc;
20 int intel_get_crtc_scanline(struct intel_crtc *crtc);
21 void intel_wait_for_pipe_scanline_stopped(struct intel_crtc *crtc);
22 void intel_wait_for_pipe_scanline_moving(struct intel_crtc *crtc);
H A Dintel_vdsc.h12 struct intel_crtc;
23 intel_dsc_power_domain(struct intel_crtc *crtc, enum transcoder cpu_transcoder);
24 struct intel_crtc *intel_dsc_get_bigjoiner_secondary(const struct intel_crtc *primary_crtc);
H A Dintel_fifo_underrun.c61 struct intel_crtc *crtc; in ivb_can_enable_err_int()
80 struct intel_crtc *crtc; in cpt_can_enable_serr_int()
94 static void i9xx_check_fifo_underruns(struct intel_crtc *crtc) in i9xx_check_fifo_underruns()
148 static void ivb_check_fifo_underruns(struct intel_crtc *crtc) in ivb_check_fifo_underruns()
235 static void cpt_check_pch_fifo_underruns(struct intel_crtc *crtc) in cpt_check_pch_fifo_underruns()
285 struct intel_crtc *crtc = intel_crtc_for_pipe(dev_priv, pipe); in __intel_set_cpu_fifo_underrun_reporting()
353 struct intel_crtc *crtc = in intel_set_pch_fifo_underrun_reporting()
397 struct intel_crtc *crtc = intel_crtc_for_pipe(dev_priv, pipe); in intel_cpu_fifo_underrun_irq_handler()
474 struct intel_crtc *crtc; in intel_check_cpu_fifo_underruns()
501 struct intel_crtc *crt in intel_check_pch_fifo_underruns()
[all...]
H A Dintel_display.h52 struct intel_crtc;
269 #define for_each_intel_plane_on_crtc(dev, intel_crtc, intel_plane) \
273 for_each_if((intel_plane)->pipe == (intel_crtc)->pipe)
275 #define for_each_intel_crtc(dev, intel_crtc) \
276 list_for_each_entry(intel_crtc, \
280 #define for_each_intel_crtc_in_pipe_mask(dev, intel_crtc, pipe_mask) \
281 list_for_each_entry(intel_crtc, \
284 for_each_if((pipe_mask) & BIT(intel_crtc->pipe))
395 struct intel_crtc *crtc);
417 struct intel_crtc *intel_master_crt
[all...]
H A Dskl_scaler.c110 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in skl_update_scaler()
352 int num_scalers_need, struct intel_crtc *intel_crtc, in intel_atomic_setup_scaler()
357 struct drm_i915_private *dev_priv = to_i915(intel_crtc->base.dev); in intel_atomic_setup_scaler()
363 for (j = 0; j < intel_crtc->num_scalers; j++) { in intel_atomic_setup_scaler()
403 } else if (num_scalers_need == 1 && intel_crtc->num_scalers > 1) { in intel_atomic_setup_scaler()
478 intel_crtc->pipe, *scaler_id, name, idx); in intel_atomic_setup_scaler()
487 * @intel_crtc: intel crtc
502 struct intel_crtc *intel_crtc, in intel_atomic_setup_scalers()
351 intel_atomic_setup_scaler(struct intel_crtc_scaler_state *scaler_state, int num_scalers_need, struct intel_crtc *intel_crtc, const char *name, int idx, struct intel_plane_state *plane_state, int *scaler_id) intel_atomic_setup_scaler() argument
501 intel_atomic_setup_scalers(struct drm_i915_private *dev_priv, struct intel_crtc *intel_crtc, struct intel_crtc_state *crtc_state) intel_atomic_setup_scalers() argument
[all...]
H A Dintel_modeset_setup.c18 #include "intel_crtc.h"
35 static void intel_crtc_disable_noatomic_begin(struct intel_crtc *crtc, in intel_crtc_disable_noatomic_begin()
43 struct intel_crtc *temp_crtc; in intel_crtc_disable_noatomic_begin()
141 static void reset_crtc_encoder_state(struct intel_crtc *crtc) in reset_crtc_encoder_state()
152 static void intel_crtc_disable_noatomic_complete(struct intel_crtc *crtc) in intel_crtc_disable_noatomic_complete()
197 struct intel_crtc *temp_crtc; in get_transcoder_pipes()
221 static void get_portsync_pipes(struct intel_crtc *crtc, in get_portsync_pipes()
227 struct intel_crtc *master_crtc; in get_portsync_pipes()
253 struct intel_crtc *master_crtc; in get_bigjoiner_slave_pipes()
266 static void intel_crtc_disable_noatomic(struct intel_crtc *crt
[all...]
H A Dintel_pch_display.c27 enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc) in intel_crtc_pch_transcoder()
174 static void intel_pch_transcoder_set_m1_n1(struct intel_crtc *crtc, in intel_pch_transcoder_set_m1_n1()
185 static void intel_pch_transcoder_set_m2_n2(struct intel_crtc *crtc, in intel_pch_transcoder_set_m2_n2()
196 void intel_pch_transcoder_get_m1_n1(struct intel_crtc *crtc, in intel_pch_transcoder_get_m1_n1()
207 void intel_pch_transcoder_get_m2_n2(struct intel_crtc *crtc, in intel_pch_transcoder_get_m2_n2()
221 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_pch_transcoder_set_timings()
244 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_enable_pch_transcoder()
309 static void ilk_disable_pch_transcoder(struct intel_crtc *crtc) in ilk_disable_pch_transcoder()
336 struct intel_crtc *crtc) in ilk_pch_pre_enable()
358 struct intel_crtc *crt in ilk_pch_enable()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_pipe_crc.h13 struct intel_crtc;
16 void intel_crtc_crc_init(struct intel_crtc *crtc);
22 void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc);
23 void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc);
25 static inline void intel_crtc_crc_init(struct intel_crtc *crtc) {} in intel_crtc_crc_init()
29 static inline void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc) in intel_crtc_disable_pipe_crc()
33 static inline void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc) in intel_crtc_enable_pipe_crc()
H A Dintel_fbc.h15 struct intel_crtc;
23 struct intel_crtc *crtc);
25 struct intel_crtc *crtc);
28 struct intel_crtc *crtc);
29 void intel_fbc_disable(struct intel_crtc *crtc);
H A Dintel_color.c152 static void ilk_update_pipe_csc(struct intel_crtc *crtc, in ilk_update_pipe_csc()
186 static void icl_update_output_csc(struct intel_crtc *crtc, in icl_update_output_csc()
285 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_load_csc_matrix()
326 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in icl_load_csc_matrix()
351 static void chv_load_cgm_csc(struct intel_crtc *crtc, in chv_load_cgm_csc()
475 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in i9xx_color_commit()
488 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_color_commit()
503 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_color_commit()
514 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in skl_color_commit()
539 static void i9xx_load_lut_8(struct intel_crtc *crt
[all...]
H A Dintel_fifo_underrun.c57 struct intel_crtc *crtc; in ivb_can_enable_err_int()
76 struct intel_crtc *crtc; in cpt_can_enable_serr_int()
90 static void i9xx_check_fifo_underruns(struct intel_crtc *crtc) in i9xx_check_fifo_underruns()
144 static void ivb_check_fifo_underruns(struct intel_crtc *crtc) in ivb_check_fifo_underruns()
212 static void cpt_check_pch_fifo_underruns(struct intel_crtc *crtc) in cpt_check_pch_fifo_underruns()
262 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in __intel_set_cpu_fifo_underrun_reporting()
330 struct intel_crtc *crtc = in intel_set_pch_fifo_underrun_reporting()
374 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in intel_cpu_fifo_underrun_irq_handler()
425 struct intel_crtc *crtc; in intel_check_cpu_fifo_underruns()
452 struct intel_crtc *crt in intel_check_pch_fifo_underruns()
[all...]
H A Dintel_atomic.c305 int num_scalers_need, struct intel_crtc *intel_crtc, in intel_atomic_setup_scaler()
310 struct drm_i915_private *dev_priv = to_i915(intel_crtc->base.dev); in intel_atomic_setup_scaler()
316 for (j = 0; j < intel_crtc->num_scalers; j++) { in intel_atomic_setup_scaler()
356 } else if (num_scalers_need == 1 && intel_crtc->num_scalers > 1) { in intel_atomic_setup_scaler()
371 intel_crtc->pipe, *scaler_id, name, idx); in intel_atomic_setup_scaler()
378 * @intel_crtc: intel crtc
393 struct intel_crtc *intel_crtc, in intel_atomic_setup_scalers()
421 if (num_scalers_need > intel_crtc in intel_atomic_setup_scalers()
304 intel_atomic_setup_scaler(struct intel_crtc_scaler_state *scaler_state, int num_scalers_need, struct intel_crtc *intel_crtc, const char *name, int idx, struct intel_plane_state *plane_state, int *scaler_id) intel_atomic_setup_scaler() argument
392 intel_atomic_setup_scalers(struct drm_i915_private *dev_priv, struct intel_crtc *intel_crtc, struct intel_crtc_state *crtc_state) intel_atomic_setup_scalers() argument
[all...]

Completed in 12 milliseconds

123456