/drivers/gpu/drm/ |
D | drm_crtc_helper.c | 119 bool drm_helper_crtc_in_use(struct drm_crtc *crtc) in drm_helper_crtc_in_use() argument 122 struct drm_device *dev = crtc->dev; in drm_helper_crtc_in_use() 132 if (encoder->crtc == crtc && drm_helper_encoder_in_use(encoder)) in drm_helper_crtc_in_use() 158 struct drm_crtc *crtc; in __drm_helper_disable_unused_functions() local 166 encoder->crtc = NULL; in __drm_helper_disable_unused_functions() 170 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in __drm_helper_disable_unused_functions() 171 struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in __drm_helper_disable_unused_functions() 172 crtc->enabled = drm_helper_crtc_in_use(crtc); in __drm_helper_disable_unused_functions() 173 if (!crtc->enabled) { in __drm_helper_disable_unused_functions() 175 (*crtc_funcs->disable)(crtc); in __drm_helper_disable_unused_functions() [all …]
|
D | drm_irq.c | 46 #define vblanktimestamp(dev, crtc, count) \ argument 47 ((dev)->vblank[crtc].time[(count) % DRM_VBLANKTIME_RBSIZE]) 60 drm_get_last_vbltimestamp(struct drm_device *dev, int crtc, 93 static void drm_update_vblank_count(struct drm_device *dev, int crtc) in drm_update_vblank_count() argument 95 struct drm_vblank_crtc *vblank = &dev->vblank[crtc]; in drm_update_vblank_count() 113 cur_vblank = dev->driver->get_vblank_counter(dev, crtc); in drm_update_vblank_count() 114 rc = drm_get_last_vbltimestamp(dev, crtc, &t_vblank, 0); in drm_update_vblank_count() 115 } while (cur_vblank != dev->driver->get_vblank_counter(dev, crtc)); in drm_update_vblank_count() 123 crtc, vblank->last, cur_vblank, diff); in drm_update_vblank_count() 127 crtc, diff); in drm_update_vblank_count() [all …]
|
D | drm_trace.h | 14 TP_PROTO(int crtc, unsigned int seq), 15 TP_ARGS(crtc, seq), 17 __field(int, crtc) 21 __entry->crtc = crtc; 24 TP_printk("crtc=%d, seq=%u", __entry->crtc, __entry->seq) 28 TP_PROTO(pid_t pid, int crtc, unsigned int seq), 29 TP_ARGS(pid, crtc, seq), 32 __field(int, crtc) 37 __entry->crtc = crtc; 40 TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \ [all …]
|
D | drm_plane_helper.c | 51 static int get_connectors_for_crtc(struct drm_crtc *crtc, in get_connectors_for_crtc() argument 55 struct drm_device *dev = crtc->dev; in get_connectors_for_crtc() 67 if (connector->encoder && connector->encoder->crtc == crtc) { in get_connectors_for_crtc() 104 struct drm_crtc *crtc, in drm_plane_helper_check_update() argument 117 if (!crtc->enabled && !can_update_disabled) { in drm_plane_helper_check_update() 184 int drm_primary_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, in drm_primary_helper_update() argument 192 .crtc = crtc, in drm_primary_helper_update() 194 .mode = &crtc->mode, in drm_primary_helper_update() 211 .x2 = crtc->mode.hdisplay, in drm_primary_helper_update() 212 .y2 = crtc->mode.vdisplay, in drm_primary_helper_update() [all …]
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_crtc.c | 62 static struct mdp5_kms *get_kms(struct drm_crtc *crtc) in get_kms() argument 64 struct msm_drm_private *priv = crtc->dev->dev_private; in get_kms() 68 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() argument 70 struct mdp5_crtc *mdp5_crtc = to_mdp5_crtc(crtc); in request_pending() 73 mdp_irq_register(&get_kms(crtc)->base, &mdp5_crtc->vblank); in request_pending() 76 static void crtc_flush(struct drm_crtc *crtc) in crtc_flush() argument 78 struct mdp5_crtc *mdp5_crtc = to_mdp5_crtc(crtc); in crtc_flush() 79 struct mdp5_kms *mdp5_kms = get_kms(crtc); in crtc_flush() 98 static void update_fb(struct drm_crtc *crtc, struct drm_framebuffer *new_fb) in update_fb() argument 100 struct mdp5_crtc *mdp5_crtc = to_mdp5_crtc(crtc); in update_fb() [all …]
|
/drivers/gpu/drm/sti/ |
D | sti_drm_crtc.c | 19 static void sti_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in sti_drm_crtc_dpms() argument 24 static void sti_drm_crtc_prepare(struct drm_crtc *crtc) in sti_drm_crtc_prepare() argument 26 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_drm_crtc_prepare() 42 static void sti_drm_crtc_commit(struct drm_crtc *crtc) in sti_drm_crtc_commit() argument 44 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_drm_crtc_commit() 55 layer = to_sti_layer(crtc->primary); in sti_drm_crtc_commit() 66 static bool sti_drm_crtc_mode_fixup(struct drm_crtc *crtc, in sti_drm_crtc_mode_fixup() argument 75 sti_drm_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, in sti_drm_crtc_mode_set() argument 79 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_drm_crtc_mode_set() 89 crtc->base.id, sti_mixer_to_str(mixer), in sti_drm_crtc_mode_set() [all …]
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_crtc.c | 56 static void exynos_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in exynos_drm_crtc_dpms() argument 58 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_dpms() 61 DRM_DEBUG_KMS("crtc[%d] mode[%d]\n", crtc->base.id, mode); in exynos_drm_crtc_dpms() 74 drm_crtc_vblank_off(crtc); in exynos_drm_crtc_dpms() 83 drm_crtc_vblank_on(crtc); in exynos_drm_crtc_dpms() 86 static void exynos_drm_crtc_prepare(struct drm_crtc *crtc) in exynos_drm_crtc_prepare() argument 91 static void exynos_drm_crtc_commit(struct drm_crtc *crtc) in exynos_drm_crtc_commit() argument 93 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_commit() 96 exynos_drm_crtc_dpms(crtc, DRM_MODE_DPMS_ON); in exynos_drm_crtc_commit() 98 exynos_plane_commit(crtc->primary); in exynos_drm_crtc_commit() [all …]
|
/drivers/gpu/drm/omapdrm/ |
D | omap_crtc.c | 78 uint32_t pipe2vbl(struct drm_crtc *crtc) in pipe2vbl() argument 80 struct omap_crtc *omap_crtc = to_omap_crtc(crtc); in pipe2vbl() 124 static void set_enabled(struct drm_crtc *crtc, bool enable); 191 static void omap_crtc_destroy(struct drm_crtc *crtc) in omap_crtc_destroy() argument 193 struct omap_crtc *omap_crtc = to_omap_crtc(crtc); in omap_crtc_destroy() 198 omap_irq_unregister(crtc->dev, &omap_crtc->error_irq); in omap_crtc_destroy() 200 drm_crtc_cleanup(crtc); in omap_crtc_destroy() 205 static void omap_crtc_dpms(struct drm_crtc *crtc, int mode) in omap_crtc_dpms() argument 207 struct omap_drm_private *priv = crtc->dev->dev_private; in omap_crtc_dpms() 208 struct omap_crtc *omap_crtc = to_omap_crtc(crtc); in omap_crtc_dpms() [all …]
|
/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_crtc.c | 82 static struct mdp4_kms *get_kms(struct drm_crtc *crtc) in get_kms() argument 84 struct msm_drm_private *priv = crtc->dev->dev_private; in get_kms() 88 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() argument 90 struct mdp4_crtc *mdp4_crtc = to_mdp4_crtc(crtc); in request_pending() 93 mdp_irq_register(&get_kms(crtc)->base, &mdp4_crtc->vblank); in request_pending() 96 static void crtc_flush(struct drm_crtc *crtc) in crtc_flush() argument 98 struct mdp4_crtc *mdp4_crtc = to_mdp4_crtc(crtc); in crtc_flush() 99 struct mdp4_kms *mdp4_kms = get_kms(crtc); in crtc_flush() 116 static void update_fb(struct drm_crtc *crtc, struct drm_framebuffer *new_fb) in update_fb() argument 118 struct mdp4_crtc *mdp4_crtc = to_mdp4_crtc(crtc); in update_fb() [all …]
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_crtc.c | 53 static void set_scanout(struct drm_crtc *crtc, int n) in set_scanout() argument 66 struct tilcdc_crtc *tilcdc_crtc = to_tilcdc_crtc(crtc); in set_scanout() 67 struct drm_device *dev = crtc->dev; in set_scanout() 77 tilcdc_crtc->scanout[n] = crtc->primary->fb; in set_scanout() 83 static void update_scanout(struct drm_crtc *crtc) in update_scanout() argument 85 struct tilcdc_crtc *tilcdc_crtc = to_tilcdc_crtc(crtc); in update_scanout() 86 struct drm_device *dev = crtc->dev; in update_scanout() 87 struct drm_framebuffer *fb = crtc->primary->fb; in update_scanout() 95 (crtc->y * fb->pitches[0]) + (crtc->x * bpp/8); in update_scanout() 98 (crtc->mode.vdisplay * fb->pitches[0]); in update_scanout() [all …]
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | crtc.c | 46 nv04_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, 50 crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index) in crtc_wr_cio_state() argument 52 NVWriteVgaCrtc(crtc->dev, nouveau_crtc(crtc)->index, index, in crtc_wr_cio_state() 56 static void nv_crtc_set_digital_vibrance(struct drm_crtc *crtc, int level) in nv_crtc_set_digital_vibrance() argument 58 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); in nv_crtc_set_digital_vibrance() 59 struct drm_device *dev = crtc->dev; in nv_crtc_set_digital_vibrance() 63 if (nv_crtc->saturation && nv_gf4_disp_arch(crtc->dev)) { in nv_crtc_set_digital_vibrance() 66 crtc_wr_cio_state(crtc, regp, NV_CIO_CRE_5B); in nv_crtc_set_digital_vibrance() 68 crtc_wr_cio_state(crtc, regp, NV_CIO_CRE_CSB); in nv_crtc_set_digital_vibrance() 71 static void nv_crtc_set_image_sharpening(struct drm_crtc *crtc, int level) in nv_crtc_set_image_sharpening() argument [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_display.c | 78 static void intel_crtc_update_cursor(struct drm_crtc *crtc, bool on); 80 static void i9xx_crtc_clock_get(struct intel_crtc *crtc, 82 static void ironlake_pch_clock_get(struct intel_crtc *crtc, 85 static int intel_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode, 93 static void intel_cpu_transcoder_set_m_n(struct intel_crtc *crtc, 96 static void ironlake_set_pipeconf(struct drm_crtc *crtc); 97 static void haswell_set_pipeconf(struct drm_crtc *crtc); 98 static void intel_set_pipe_csc(struct drm_crtc *crtc); 99 static void vlv_prepare_pll(struct intel_crtc *crtc); 100 static void chv_prepare_pll(struct intel_crtc *crtc); [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_cursor.c | 30 static void radeon_lock_cursor(struct drm_crtc *crtc, bool lock) in radeon_lock_cursor() argument 32 struct radeon_device *rdev = crtc->dev->dev_private; in radeon_lock_cursor() 33 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_lock_cursor() 60 static void radeon_hide_cursor(struct drm_crtc *crtc) in radeon_hide_cursor() argument 62 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_hide_cursor() 63 struct radeon_device *rdev = crtc->dev->dev_private; in radeon_hide_cursor() 88 static void radeon_show_cursor(struct drm_crtc *crtc) in radeon_show_cursor() argument 90 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_show_cursor() 91 struct radeon_device *rdev = crtc->dev->dev_private; in radeon_show_cursor() 120 static void radeon_set_cursor(struct drm_crtc *crtc, struct drm_gem_object *obj, in radeon_set_cursor() argument [all …]
|
D | atombios_crtc.c | 34 static void atombios_overscan_setup(struct drm_crtc *crtc, in atombios_overscan_setup() argument 38 struct drm_device *dev = crtc->dev; in atombios_overscan_setup() 40 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_overscan_setup() 79 static void atombios_scaler_setup(struct drm_crtc *crtc) in atombios_scaler_setup() argument 81 struct drm_device *dev = crtc->dev; in atombios_scaler_setup() 83 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_scaler_setup() 163 static void atombios_lock_crtc(struct drm_crtc *crtc, int lock) in atombios_lock_crtc() argument 165 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_lock_crtc() 166 struct drm_device *dev = crtc->dev; in atombios_lock_crtc() 180 static void atombios_enable_crtc(struct drm_crtc *crtc, int state) in atombios_enable_crtc() argument [all …]
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ldu.c | 32 container_of(x, struct vmw_legacy_display_unit, base.crtc) 68 static void vmw_ldu_crtc_destroy(struct drm_crtc *crtc) in vmw_ldu_crtc_destroy() argument 70 vmw_ldu_destroy(vmw_crtc_to_ldu(crtc)); in vmw_ldu_crtc_destroy() 79 struct drm_crtc *crtc = NULL; in vmw_ldu_commit_list() local 88 crtc = &entry->base.crtc; in vmw_ldu_commit_list() 89 w = max(w, crtc->x + crtc->mode.hdisplay); in vmw_ldu_commit_list() 90 h = max(h, crtc->y + crtc->mode.vdisplay); in vmw_ldu_commit_list() 94 if (crtc == NULL) in vmw_ldu_commit_list() 96 fb = entry->base.crtc.primary->fb; in vmw_ldu_commit_list() 104 fb = entry->base.crtc.primary->fb; in vmw_ldu_commit_list() [all …]
|
D | vmwgfx_scrn.c | 32 container_of(x, struct vmw_screen_object_unit, base.crtc) 68 static void vmw_sou_crtc_destroy(struct drm_crtc *crtc) in vmw_sou_crtc_destroy() argument 70 vmw_sou_destroy(vmw_crtc_to_sou(crtc)); in vmw_sou_crtc_destroy() 260 struct drm_crtc *crtc; in vmw_sou_crtc_set_config() local 266 if (!set->crtc) in vmw_sou_crtc_set_config() 270 crtc = set->crtc; in vmw_sou_crtc_set_config() 271 sou = vmw_crtc_to_sou(crtc); in vmw_sou_crtc_set_config() 273 dev_priv = vmw_priv(crtc->dev); in vmw_sou_crtc_set_config() 309 encoder->crtc = NULL; in vmw_sou_crtc_set_config() 310 crtc->primary->fb = NULL; in vmw_sou_crtc_set_config() [all …]
|
/drivers/gpu/drm/gma500/ |
D | gma_display.h | 58 const struct gma_limit_t *(*limit)(struct drm_crtc *crtc, int refclk); 59 bool (*pll_is_valid)(struct drm_crtc *crtc, 65 extern bool gma_pipe_has_type(struct drm_crtc *crtc, int type); 67 extern int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y, 69 extern int gma_crtc_cursor_set(struct drm_crtc *crtc, 73 extern int gma_crtc_cursor_move(struct drm_crtc *crtc, int x, int y); 74 extern void gma_crtc_load_lut(struct drm_crtc *crtc); 75 extern void gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, 77 extern void gma_crtc_dpms(struct drm_crtc *crtc, int mode); 78 extern bool gma_crtc_mode_fixup(struct drm_crtc *crtc, [all …]
|
D | gma_display.c | 32 bool gma_pipe_has_type(struct drm_crtc *crtc, int type) in gma_pipe_has_type() argument 34 struct drm_device *dev = crtc->dev; in gma_pipe_has_type() 39 if (l_entry->encoder && l_entry->encoder->crtc == crtc) { in gma_pipe_has_type() 56 int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y, in gma_pipe_set_base() argument 59 struct drm_device *dev = crtc->dev; in gma_pipe_set_base() 61 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_pipe_set_base() 62 struct psb_framebuffer *psbfb = to_psb_fb(crtc->primary->fb); in gma_pipe_set_base() 73 if (!crtc->primary->fb) { in gma_pipe_set_base() 84 offset = y * crtc->primary->fb->pitches[0] + x * (crtc->primary->fb->bits_per_pixel / 8); in gma_pipe_set_base() 86 REG_WRITE(map->stride, crtc->primary->fb->pitches[0]); in gma_pipe_set_base() [all …]
|
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_crtc.c | 91 const struct drm_display_mode *mode = &rcrtc->crtc.mode; in rcar_du_crtc_set_display_timing() 130 void rcar_du_crtc_route_output(struct drm_crtc *crtc, in rcar_du_crtc_route_output() argument 133 struct rcar_du_crtc *rcrtc = to_rcar_crtc(crtc); in rcar_du_crtc_route_output() 147 void rcar_du_crtc_update_planes(struct drm_crtc *crtc) in rcar_du_crtc_update_planes() argument 149 struct rcar_du_crtc *rcrtc = to_rcar_crtc(crtc); in rcar_du_crtc_update_planes() 161 if (plane->crtc != &rcrtc->crtc || !plane->enabled) in rcar_du_crtc_update_planes() 218 struct drm_crtc *crtc = &rcrtc->crtc; in rcar_du_crtc_start() local 237 rcar_du_crtc_update_planes(crtc); in rcar_du_crtc_start() 244 if (plane->crtc != crtc || !plane->enabled) in rcar_du_crtc_start() 263 struct drm_crtc *crtc = &rcrtc->crtc; in rcar_du_crtc_stop() local [all …]
|
/drivers/gpu/drm/ast/ |
D | ast_mode.c | 40 static int ast_cursor_set(struct drm_crtc *crtc, 45 static int ast_cursor_move(struct drm_crtc *crtc, 62 static void ast_crtc_load_lut(struct drm_crtc *crtc) in ast_crtc_load_lut() argument 64 struct ast_private *ast = crtc->dev->dev_private; in ast_crtc_load_lut() 65 struct ast_crtc *ast_crtc = to_ast_crtc(crtc); in ast_crtc_load_lut() 68 if (!crtc->enabled) in ast_crtc_load_lut() 76 static bool ast_get_vbios_mode_info(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_get_vbios_mode_info() argument 80 struct ast_private *ast = crtc->dev->dev_private; in ast_get_vbios_mode_info() 86 switch (crtc->primary->fb->bits_per_pixel) { in ast_get_vbios_mode_info() 104 switch (crtc->mode.crtc_hdisplay) { in ast_get_vbios_mode_info() [all …]
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 73 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry() local 74 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_setup_geometry() 76 const struct drm_display_mode *mode = &crtc->mode; in shmob_drm_crtc_setup_geometry() 131 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop() 164 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_start() local 165 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_start() 176 format = shmob_drm_format_info(crtc->primary->fb->pixel_format); in shmob_drm_crtc_start() 251 if (plane->crtc == crtc) in shmob_drm_crtc_start() 265 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_stop() local 266 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_stop() [all …]
|
/drivers/gpu/drm/armada/ |
D | armada_crtc.c | 135 if (dcrtc->crtc.mode.flags & DRM_MODE_FLAG_NCSYNC) in armada_drm_crtc_update() 137 if (dcrtc->crtc.mode.flags & DRM_MODE_FLAG_NHSYNC) in armada_drm_crtc_update() 139 if (dcrtc->crtc.mode.flags & DRM_MODE_FLAG_NVSYNC) in armada_drm_crtc_update() 178 struct drm_device *dev = dcrtc->crtc.dev; in armada_drm_crtc_queue_frame_work() 203 struct drm_device *dev = dcrtc->crtc.dev; in armada_drm_crtc_complete_frame_work() 216 __armada_drm_queue_unref_work(dcrtc->crtc.dev, work->old_fb); in armada_drm_crtc_complete_frame_work() 257 struct drm_device *dev = dcrtc->crtc.dev; in armada_drm_vblank_off() 263 drm_crtc_vblank_off(&dcrtc->crtc); in armada_drm_vblank_off() 272 void armada_drm_crtc_gamma_set(struct drm_crtc *crtc, u16 r, u16 g, u16 b, in armada_drm_crtc_gamma_set() argument 277 void armada_drm_crtc_gamma_get(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, in armada_drm_crtc_gamma_get() argument [all …]
|
/drivers/staging/imx-drm/ |
D | imx-drm-core.c | 41 struct imx_drm_crtc *crtc[MAX_CRTC]; member 47 struct drm_crtc *crtc; member 56 int imx_drm_crtc_id(struct imx_drm_crtc *crtc) in imx_drm_crtc_id() argument 58 return crtc->pipe; in imx_drm_crtc_id() 95 static struct imx_drm_crtc *imx_drm_find_crtc(struct drm_crtc *crtc) in imx_drm_find_crtc() argument 97 struct imx_drm_device *imxdrm = crtc->dev->dev_private; in imx_drm_find_crtc() 101 if (imxdrm->crtc[i] && imxdrm->crtc[i]->crtc == crtc) in imx_drm_find_crtc() 102 return imxdrm->crtc[i]; in imx_drm_find_crtc() 113 imx_crtc = imx_drm_find_crtc(encoder->crtc); in imx_drm_panel_format_pins() 119 return helper->set_interface_pix_fmt(encoder->crtc, in imx_drm_panel_format_pins() [all …]
|
/drivers/gpu/drm/udl/ |
D | udl_modeset.c | 229 static int udl_crtc_write_mode_to_hw(struct drm_crtc *crtc) in udl_crtc_write_mode_to_hw() argument 231 struct drm_device *dev = crtc->dev; in udl_crtc_write_mode_to_hw() 250 static void udl_crtc_dpms(struct drm_crtc *crtc, int mode) in udl_crtc_dpms() argument 252 struct drm_device *dev = crtc->dev; in udl_crtc_dpms() 276 udl_crtc_write_mode_to_hw(crtc); in udl_crtc_dpms() 281 static bool udl_crtc_mode_fixup(struct drm_crtc *crtc, in udl_crtc_mode_fixup() argument 291 udl_pipe_set_base_atomic(struct drm_crtc *crtc, struct drm_framebuffer *fb, 298 udl_pipe_set_base(struct drm_crtc *crtc, int x, int y, 305 static int udl_crtc_mode_set(struct drm_crtc *crtc, in udl_crtc_mode_set() argument 312 struct drm_device *dev = crtc->dev; in udl_crtc_mode_set() [all …]
|
/drivers/gpu/drm/cirrus/ |
D | cirrus_mode.c | 33 static void cirrus_crtc_load_lut(struct drm_crtc *crtc) in cirrus_crtc_load_lut() argument 35 struct cirrus_crtc *cirrus_crtc = to_cirrus_crtc(crtc); in cirrus_crtc_load_lut() 36 struct drm_device *dev = crtc->dev; in cirrus_crtc_load_lut() 40 if (!crtc->enabled) in cirrus_crtc_load_lut() 57 static void cirrus_crtc_dpms(struct drm_crtc *crtc, int mode) in cirrus_crtc_dpms() argument 59 struct drm_device *dev = crtc->dev; in cirrus_crtc_dpms() 98 static bool cirrus_crtc_mode_fixup(struct drm_crtc *crtc, in cirrus_crtc_mode_fixup() argument 105 static void cirrus_set_start_address(struct drm_crtc *crtc, unsigned offset) in cirrus_set_start_address() argument 107 struct cirrus_device *cdev = crtc->dev->dev_private; in cirrus_set_start_address() 129 static int cirrus_crtc_do_set_base(struct drm_crtc *crtc, in cirrus_crtc_do_set_base() argument [all …]
|