Searched refs:vc4_crtc (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/vc4/ |
D | vc4_crtc.c | 53 #define CRTC_WRITE(offset, val) writel(val, vc4_crtc->regs + (offset)) 54 #define CRTC_READ(offset) readl(vc4_crtc->regs + (offset)) 96 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_crtc_get_scanout_position() local 184 *stime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position() 186 *etime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position() 210 static u32 vc4_get_fifo_full_level(struct vc4_crtc *vc4_crtc, u32 format) in vc4_get_fifo_full_level() argument 212 const struct vc4_crtc_data *crtc_data = vc4_crtc_to_vc4_crtc_data(vc4_crtc); in vc4_get_fifo_full_level() 213 const struct vc4_pv_data *pv_data = vc4_crtc_to_vc4_pv_data(vc4_crtc); in vc4_get_fifo_full_level() 214 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level() 263 static u32 vc4_crtc_get_fifo_full_level_bits(struct vc4_crtc *vc4_crtc, in vc4_crtc_get_fifo_full_level_bits() argument [all …]
|
D | vc4_hvs.c | 212 struct vc4_crtc *vc4_crtc) in vc4_hvs_lut_load() argument 215 struct drm_crtc *crtc = &vc4_crtc->base; in vc4_hvs_lut_load() 232 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_r[i]); in vc4_hvs_lut_load() 234 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_g[i]); in vc4_hvs_lut_load() 236 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_b[i]); in vc4_hvs_lut_load() 242 struct vc4_crtc *vc4_crtc) in vc4_hvs_update_gamma_lut() argument 244 struct drm_crtc_state *crtc_state = vc4_crtc->base.state; in vc4_hvs_update_gamma_lut() 250 vc4_crtc->lut_r[i] = drm_color_lut_extract(lut[i].red, 8); in vc4_hvs_update_gamma_lut() 251 vc4_crtc->lut_g[i] = drm_color_lut_extract(lut[i].green, 8); in vc4_hvs_update_gamma_lut() 252 vc4_crtc->lut_b[i] = drm_color_lut_extract(lut[i].blue, 8); in vc4_hvs_update_gamma_lut() [all …]
|
D | vc4_txp.c | 152 struct vc4_crtc base; 462 struct vc4_crtc *vc4_crtc = &txp->base; in vc4_txp_interrupt() local 475 vc4_crtc_handle_vblank(vc4_crtc); in vc4_txp_interrupt() 491 struct vc4_crtc *vc4_crtc; in vc4_txp_bind() local 504 vc4_crtc = &txp->base; in vc4_txp_bind() 505 crtc = &vc4_crtc->base; in vc4_txp_bind() 507 vc4_crtc->pdev = pdev; in vc4_txp_bind() 508 vc4_crtc->data = &vc4_txp_crtc_data; in vc4_txp_bind() 509 vc4_crtc->feeds_txp = true; in vc4_txp_bind() 516 vc4_crtc->regset.base = txp->regs; in vc4_txp_bind() [all …]
|
D | vc4_drv.h | 480 struct vc4_crtc { struct 525 static inline struct vc4_crtc * argument 528 return container_of(crtc, struct vc4_crtc, base); in to_vc4_crtc() 532 vc4_crtc_to_vc4_crtc_data(const struct vc4_crtc *crtc) in vc4_crtc_to_vc4_crtc_data() 538 vc4_crtc_to_vc4_pv_data(const struct vc4_crtc *crtc) in vc4_crtc_to_vc4_pv_data() 849 int vc4_crtc_init(struct drm_device *drm, struct vc4_crtc *vc4_crtc, 861 void vc4_crtc_handle_vblank(struct vc4_crtc *crtc);
|
D | vc4_kms.c | 241 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_hvs_pv_muxing_commit() local 262 if (vc4_crtc->feeds_txp) in vc4_hvs_pv_muxing_commit() 285 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc5_hvs_pv_muxing_commit() local 291 switch (vc4_crtc->data->hvs_output) { in vc5_hvs_pv_muxing_commit() 828 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_pv_muxing_atomic_check() local 884 matching_channels = unassigned_channels & vc4_crtc->data->hvs_available_channels; in vc4_pv_muxing_atomic_check()
|
D | Makefile | 7 vc4_crtc.o \
|
/Linux-v6.1/Documentation/gpu/ |
D | vc4.rst | 18 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_crtc.c
|