Home
last modified time | relevance | path

Searched refs:num_crtcs (Results 1 – 20 of 20) sorted by relevance

/drivers/gpu/drm/
Ddrm_irq.c274 if (dev->num_crtcs == 0) in drm_vblank_cleanup()
277 for (crtc = 0; crtc < dev->num_crtcs; crtc++) { in drm_vblank_cleanup()
289 dev->num_crtcs = 0; in drm_vblank_cleanup()
303 int drm_vblank_init(struct drm_device *dev, int num_crtcs) in drm_vblank_init() argument
310 dev->num_crtcs = num_crtcs; in drm_vblank_init()
312 dev->vblank = kcalloc(num_crtcs, sizeof(*dev->vblank), GFP_KERNEL); in drm_vblank_init()
316 for (i = 0; i < num_crtcs; i++) { in drm_vblank_init()
339 dev->num_crtcs = 0; in drm_vblank_init()
472 if (dev->num_crtcs) { in drm_irq_uninstall()
474 for (i = 0; i < dev->num_crtcs; i++) { in drm_irq_uninstall()
[all …]
Ddrm_info.c165 for (crtc = 0; crtc < dev->num_crtcs; crtc++) { in drm_vblank_info()
Ddrm_crtc.c1541 group->num_crtcs = 0; in drm_mode_group_init()
1571 group->id_list[group->num_crtcs++] = crtc->base.id; in drm_mode_group_init_legacy_group()
1574 group->id_list[group->num_crtcs + group->num_encoders++] = in drm_mode_group_init_legacy_group()
1578 group->id_list[group->num_crtcs + group->num_encoders + in drm_mode_group_init_legacy_group()
1582 group->id_list[group->num_crtcs + group->num_encoders + in drm_mode_group_init_legacy_group()
1753 crtc_count = mode_group->num_crtcs; in drm_mode_getresources()
1778 for (i = 0; i < mode_group->num_crtcs; i++) { in drm_mode_getresources()
1808 for (i = mode_group->num_crtcs; i < mode_group->num_crtcs + mode_group->num_encoders; i++) { in drm_mode_getresources()
1840 int start = mode_group->num_crtcs + in drm_mode_getresources()
/drivers/gpu/drm/omapdrm/
Domap_drv.c80 for (i = 0; i < priv->num_crtcs; i++) { in channel_used()
137 int num_crtcs; in omap_modeset_init() local
150 num_crtcs = min3(num_crtc, num_mgrs, num_ovls); in omap_modeset_init()
195 if (id == num_crtcs) in omap_modeset_init()
218 BUG_ON(priv->num_crtcs >= ARRAY_SIZE(priv->crtcs)); in omap_modeset_init()
220 priv->num_crtcs++; in omap_modeset_init()
233 for (; id < num_crtcs; id++) { in omap_modeset_init()
244 BUG_ON(priv->num_crtcs >= in omap_modeset_init()
248 priv->num_crtcs++; in omap_modeset_init()
286 for (id = 0; id < priv->num_crtcs; id++) { in omap_modeset_init()
[all …]
Domap_irq.c205 for (id = 0; id < priv->num_crtcs; id++) { in omap_irq_handler()
322 if (dev->num_crtcs) { in omap_drm_irq_uninstall()
324 for (i = 0; i < dev->num_crtcs; i++) { in omap_drm_irq_uninstall()
Domap_drv.h92 unsigned int num_crtcs; member
Domap_fbdev.c331 priv->num_crtcs, priv->num_connectors); in omap_fbdev_init()
Domap_plane.c421 drm_plane_init(dev, plane, (1 << priv->num_crtcs) - 1, &omap_plane_funcs, in omap_plane_init()
/drivers/gpu/drm/rcar-du/
Drcar_du_drv.c39 .num_crtcs = 2,
61 .num_crtcs = 3,
87 .num_crtcs = 2,
186 ret = drm_vblank_init(dev, (1 << rcdu->num_crtcs) - 1); in rcar_du_load()
208 for (i = 0; i < rcdu->num_crtcs; ++i) in rcar_du_preclose()
Drcar_du_drv.h63 unsigned int num_crtcs; member
79 unsigned int num_crtcs; member
Drcar_du_kms.c414 rcdu->num_crtcs = rcdu->info->num_crtcs; in rcar_du_modeset_init()
417 num_groups = DIV_ROUND_UP(rcdu->num_crtcs, 2); in rcar_du_modeset_init()
432 for (i = 0; i < rcdu->num_crtcs; ++i) { in rcar_du_modeset_init()
Drcar_du_plane.c488 crtcs = ((1 << rcdu->num_crtcs) - 1) & (3 << (2 * rgrp->index)); in rcar_du_planes_register()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c141 for (i = 0; i < priv->num_crtcs; i++) in mdp4_preclose()
269 crtc = mdp4_crtc_init(dev, plane, priv->num_crtcs, 0, DMA_P); in modeset_init()
284 encoder->possible_crtcs = 1 << priv->num_crtcs; in modeset_init()
286 priv->crtcs[priv->num_crtcs++] = crtc; in modeset_init()
309 crtc = mdp4_crtc_init(dev, plane, priv->num_crtcs, 1, DMA_E); in modeset_init()
324 encoder->possible_crtcs = 1 << priv->num_crtcs; in modeset_init()
326 priv->crtcs[priv->num_crtcs++] = crtc; in modeset_init()
Dmdp4_irq.c75 for (id = 0; id < priv->num_crtcs; id++) in mdp4_irq()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_irq.c76 for (id = 0; id < priv->num_crtcs; id++) in mdp5_irq_mdp()
Dmdp5_kms.c215 for (i = 0; i < priv->num_crtcs; i++) in mdp5_preclose()
302 priv->crtcs[priv->num_crtcs++] = crtc; in modeset_init()
/drivers/gpu/drm/msm/
Dmsm_drv.h107 unsigned int num_crtcs; member
Dmsm_fbdev.c242 priv->num_crtcs, priv->num_connectors); in msm_fbdev_init()
Dmsm_drv.c283 ret = drm_vblank_init(dev, priv->num_crtcs); in msm_load()
/drivers/gpu/drm/radeon/
Dradeon_kms.c794 if (crtc < 0 || crtc >= dev->num_crtcs) { in radeon_get_vblank_timestamp_kms()