Searched refs:rcrtc (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_du_crtc.c | 33 static u32 rcar_du_crtc_read(struct rcar_du_crtc *rcrtc, u32 reg) in rcar_du_crtc_read() argument 35 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_read() 37 return rcar_du_read(rcdu, rcrtc->mmio_offset + reg); in rcar_du_crtc_read() 40 static void rcar_du_crtc_write(struct rcar_du_crtc *rcrtc, u32 reg, u32 data) in rcar_du_crtc_write() argument 42 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_write() 44 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, data); in rcar_du_crtc_write() 47 static void rcar_du_crtc_clr(struct rcar_du_crtc *rcrtc, u32 reg, u32 clr) in rcar_du_crtc_clr() argument 49 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_clr() 51 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, in rcar_du_crtc_clr() 52 rcar_du_read(rcdu, rcrtc->mmio_offset + reg) & ~clr); in rcar_du_crtc_clr() [all …]
|
D | rcar_du_writeback.c | 53 struct rcar_du_crtc *rcrtc = wb_to_rcar_crtc(connector); in rcar_du_wb_prepare_job() local 65 ret = rcar_du_vsp_map_fb(rcrtc->vsp, job->fb, rjob->sg_tables); in rcar_du_wb_prepare_job() 78 struct rcar_du_crtc *rcrtc = wb_to_rcar_crtc(connector); in rcar_du_wb_cleanup_job() local 84 rcar_du_vsp_unmap_fb(rcrtc->vsp, job->fb, rjob->sg_tables); in rcar_du_wb_cleanup_job() 201 struct rcar_du_crtc *rcrtc) in rcar_du_writeback_init() argument 203 struct drm_writeback_connector *wb_conn = &rcrtc->writeback; in rcar_du_writeback_init() 213 1 << drm_crtc_index(&rcrtc->crtc)); in rcar_du_writeback_init() 216 void rcar_du_writeback_setup(struct rcar_du_crtc *rcrtc, in rcar_du_writeback_setup() argument 225 state = rcrtc->writeback.base.state; in rcar_du_writeback_setup() 240 drm_writeback_queue_job(&rcrtc->writeback, state); in rcar_du_writeback_setup() [all …]
|
D | rcar_du_writeback.h | 19 struct rcar_du_crtc *rcrtc); 20 void rcar_du_writeback_setup(struct rcar_du_crtc *rcrtc, 22 void rcar_du_writeback_complete(struct rcar_du_crtc *rcrtc); 25 struct rcar_du_crtc *rcrtc) in rcar_du_writeback_init() argument 30 rcar_du_writeback_setup(struct rcar_du_crtc *rcrtc, in rcar_du_writeback_setup() argument 34 static inline void rcar_du_writeback_complete(struct rcar_du_crtc *rcrtc) in rcar_du_writeback_complete() argument
|
D | rcar_du_group.c | 90 struct rcar_du_crtc *rcrtc; in rcar_du_group_setup_didsr() local 108 rcrtc = rcdu->crtcs; in rcar_du_group_setup_didsr() 115 rcrtc = &rcdu->crtcs[rgrp->index * 2]; in rcar_du_group_setup_didsr() 123 for (i = 0; i < num_crtcs; ++i, ++rcrtc) { in rcar_du_group_setup_didsr() 124 if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index)) in rcar_du_group_setup_didsr() 127 else if (rcdu->info->dsi_clk_mask & BIT(rcrtc->index)) in rcar_du_group_setup_didsr() 240 struct rcar_du_crtc *rcrtc = &rgrp->dev->crtcs[rgrp->index * 2]; in __rcar_du_group_start_stop() local 242 rcar_du_crtc_dsysr_clr_set(rcrtc, DSYSR_DRES | DSYSR_DEN, in __rcar_du_group_start_stop() 343 struct rcar_du_crtc *rcrtc; in rcar_du_group_set_dpad_levels() local 345 rcrtc = &rcdu->crtcs[rgrp->index * 2 + i]; in rcar_du_group_set_dpad_levels() [all …]
|
D | rcar_du_crtc.h | 99 void rcar_du_crtc_finish_page_flip(struct rcar_du_crtc *rcrtc); 101 void rcar_du_crtc_dsysr_clr_set(struct rcar_du_crtc *rcrtc, u32 clr, u32 set);
|
D | rcar_du_kms.c | 533 struct rcar_du_crtc *rcrtc = to_rcar_crtc(crtc); in rcar_du_atomic_commit_tail() local 536 rcdu->dpad0_source = rcrtc->index; in rcar_du_atomic_commit_tail() 539 rcdu->dpad1_source = rcrtc->index; in rcar_du_atomic_commit_tail() 986 struct rcar_du_crtc *rcrtc = &rcdu->crtcs[i]; in rcar_du_modeset_init() local 988 ret = rcar_du_writeback_init(rcdu, rcrtc); in rcar_du_modeset_init()
|