Home
last modified time | relevance | path

Searched refs:vc4_crtc (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_crtc.c57 writel(val, vc4_crtc->regs + (offset)); \
63 readl(vc4_crtc->regs + (offset)); \
106 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_crtc_get_scanout_position() local
194 *stime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position()
196 *etime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position()
220 static u32 vc4_get_fifo_full_level(struct vc4_crtc *vc4_crtc, u32 format) in vc4_get_fifo_full_level() argument
222 const struct vc4_crtc_data *crtc_data = vc4_crtc_to_vc4_crtc_data(vc4_crtc); in vc4_get_fifo_full_level()
223 const struct vc4_pv_data *pv_data = vc4_crtc_to_vc4_pv_data(vc4_crtc); in vc4_get_fifo_full_level()
224 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level()
273 static u32 vc4_crtc_get_fifo_full_level_bits(struct vc4_crtc *vc4_crtc, in vc4_crtc_get_fifo_full_level_bits() argument
[all …]
Dvc4_hvs.c214 struct vc4_crtc *vc4_crtc) in vc4_hvs_lut_load() argument
217 struct drm_crtc *crtc = &vc4_crtc->base; in vc4_hvs_lut_load()
234 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_r[i]); in vc4_hvs_lut_load()
236 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_g[i]); in vc4_hvs_lut_load()
238 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_b[i]); in vc4_hvs_lut_load()
244 struct vc4_crtc *vc4_crtc) in vc4_hvs_update_gamma_lut() argument
246 struct drm_crtc_state *crtc_state = vc4_crtc->base.state; in vc4_hvs_update_gamma_lut()
252 vc4_crtc->lut_r[i] = drm_color_lut_extract(lut[i].red, 8); in vc4_hvs_update_gamma_lut()
253 vc4_crtc->lut_g[i] = drm_color_lut_extract(lut[i].green, 8); in vc4_hvs_update_gamma_lut()
254 vc4_crtc->lut_b[i] = drm_color_lut_extract(lut[i].blue, 8); in vc4_hvs_update_gamma_lut()
[all …]
Dvc4_txp.c161 struct vc4_crtc base;
468 struct vc4_crtc *vc4_crtc = &txp->base; in vc4_txp_interrupt() local
481 vc4_crtc_handle_vblank(vc4_crtc); in vc4_txp_interrupt()
500 struct vc4_crtc *vc4_crtc; in vc4_txp_bind() local
517 vc4_crtc = &txp->base; in vc4_txp_bind()
518 vc4_crtc->regset.base = txp->regs; in vc4_txp_bind()
519 vc4_crtc->regset.regs = txp_regs; in vc4_txp_bind()
520 vc4_crtc->regset.nregs = ARRAY_SIZE(txp_regs); in vc4_txp_bind()
522 ret = vc4_crtc_init(drm, pdev, vc4_crtc, &vc4_txp_crtc_data, in vc4_txp_bind()
531 encoder->possible_crtcs = drm_crtc_mask(&vc4_crtc->base); in vc4_txp_bind()
Dvc4_kms.c217 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_hvs_pv_muxing_commit() local
238 if (vc4_crtc->feeds_txp) in vc4_hvs_pv_muxing_commit()
261 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc5_hvs_pv_muxing_commit() local
267 switch (vc4_crtc->data->hvs_output) { in vc5_hvs_pv_muxing_commit()
757 const struct vc4_crtc *crtc_a = in cmp_vc4_crtc_hvs_output()
761 const struct vc4_crtc *crtc_b = in cmp_vc4_crtc_hvs_output()
851 struct vc4_crtc *vc4_crtc; in vc4_pv_muxing_atomic_check() local
858 vc4_crtc = to_vc4_crtc(crtc); in vc4_pv_muxing_atomic_check()
898 matching_channels = unassigned_channels & vc4_crtc->data->hvs_available_channels; in vc4_pv_muxing_atomic_check()
Dvc4_drv.h528 struct vc4_crtc { struct
574 container_of_const(_crtc, struct vc4_crtc, base) argument
577 vc4_crtc_to_vc4_crtc_data(const struct vc4_crtc *crtc) in vc4_crtc_to_vc4_crtc_data()
583 vc4_crtc_to_vc4_pv_data(const struct vc4_crtc *crtc) in vc4_crtc_to_vc4_pv_data()
911 struct vc4_crtc *vc4_crtc, const struct vc4_crtc_data *data,
917 struct vc4_crtc *vc4_crtc, const struct vc4_crtc_data *data,
932 void vc4_crtc_handle_vblank(struct vc4_crtc *crtc);
DMakefile7 vc4_crtc.o \
/linux-6.6.21/drivers/gpu/drm/vc4/tests/
Dvc4_mock_crtc.c26 struct vc4_crtc *vc4_crtc; in vc4_mock_pv() local
32 vc4_crtc = &dummy_crtc->crtc; in vc4_mock_pv()
34 vc4_crtc, data, plane, in vc4_mock_pv()
Dvc4_mock.h33 struct vc4_crtc crtc;
/linux-6.6.21/Documentation/gpu/
Dvc4.rst18 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_crtc.c