Searched refs:vc4_crtc (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_crtc.c | 57 writel(val, vc4_crtc->regs + (offset)); \ 63 readl(vc4_crtc->regs + (offset)); \ 115 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_crtc_get_scanout_position() local 212 *stime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position() 214 *etime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position() 238 static u32 vc4_get_fifo_full_level(struct vc4_crtc *vc4_crtc, u32 format) in vc4_get_fifo_full_level() argument 240 const struct vc4_crtc_data *crtc_data = vc4_crtc_to_vc4_crtc_data(vc4_crtc); in vc4_get_fifo_full_level() 241 const struct vc4_pv_data *pv_data = vc4_crtc_to_vc4_pv_data(vc4_crtc); in vc4_get_fifo_full_level() 242 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level() 296 static u32 vc4_crtc_get_fifo_full_level_bits(struct vc4_crtc *vc4_crtc, in vc4_crtc_get_fifo_full_level_bits() argument [all …]
|
| H A D | vc4_txp.c | 165 struct vc4_crtc base; 495 struct vc4_crtc *vc4_crtc = &txp->base; in vc4_txp_interrupt() local 508 vc4_crtc_handle_vblank(vc4_crtc); in vc4_txp_interrupt() 559 struct vc4_crtc *vc4_crtc; in vc4_txp_bind() local 581 vc4_crtc = &txp->base; in vc4_txp_bind() 582 vc4_crtc->regset.base = txp->regs; in vc4_txp_bind() 583 vc4_crtc->regset.regs = txp_regs; in vc4_txp_bind() 584 vc4_crtc->regset.nregs = ARRAY_SIZE(txp_regs); in vc4_txp_bind() 586 ret = vc4_crtc_init(drm, pdev, vc4_crtc, &txp_data->base, in vc4_txp_bind() 595 encoder->possible_crtcs = drm_crtc_mask(&vc4_crtc->base); in vc4_txp_bind()
|
| H A D | vc4_hvs.c | 421 struct vc4_crtc *vc4_crtc) in vc4_hvs_lut_load() argument 425 struct drm_crtc *crtc = &vc4_crtc->base; in vc4_hvs_lut_load() 447 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_r[i]); in vc4_hvs_lut_load() 449 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_g[i]); in vc4_hvs_lut_load() 451 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_b[i]); in vc4_hvs_lut_load() 458 struct vc4_crtc *vc4_crtc) in vc4_hvs_update_gamma_lut() argument 460 struct drm_crtc_state *crtc_state = vc4_crtc->base.state; in vc4_hvs_update_gamma_lut() 466 vc4_crtc->lut_r[i] = drm_color_lut_extract(lut[i].red, 8); in vc4_hvs_update_gamma_lut() 467 vc4_crtc->lut_g[i] = drm_color_lut_extract(lut[i].green, 8); in vc4_hvs_update_gamma_lut() 468 vc4_crtc->lut_b[i] = drm_color_lut_extract(lut[i].blue, 8); in vc4_hvs_update_gamma_lut() [all …]
|
| H A D | Makefile | 7 vc4_crtc.o \
|
| /linux/drivers/gpu/drm/vc4/tests/ |
| H A D | vc4_mock_crtc.c | 26 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()
|
| H A D | vc4_mock.h | 28 struct vc4_crtc crtc;
|
| /linux/Documentation/gpu/ |
| H A D | vc4.rst | 18 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_crtc.c
|