/drivers/gpu/drm/ |
D | drm_irq.c | 274 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 …]
|
D | drm_info.c | 165 for (crtc = 0; crtc < dev->num_crtcs; crtc++) { in drm_vblank_info()
|
D | drm_crtc.c | 1541 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/ |
D | omap_drv.c | 80 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 …]
|
D | omap_irq.c | 205 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()
|
D | omap_drv.h | 92 unsigned int num_crtcs; member
|
D | omap_fbdev.c | 331 priv->num_crtcs, priv->num_connectors); in omap_fbdev_init()
|
D | omap_plane.c | 421 drm_plane_init(dev, plane, (1 << priv->num_crtcs) - 1, &omap_plane_funcs, in omap_plane_init()
|
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_drv.c | 39 .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()
|
D | rcar_du_drv.h | 63 unsigned int num_crtcs; member 79 unsigned int num_crtcs; member
|
D | rcar_du_kms.c | 414 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()
|
D | rcar_du_plane.c | 488 crtcs = ((1 << rcdu->num_crtcs) - 1) & (3 << (2 * rgrp->index)); in rcar_du_planes_register()
|
/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_kms.c | 141 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()
|
D | mdp4_irq.c | 75 for (id = 0; id < priv->num_crtcs; id++) in mdp4_irq()
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_irq.c | 76 for (id = 0; id < priv->num_crtcs; id++) in mdp5_irq_mdp()
|
D | mdp5_kms.c | 215 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/ |
D | msm_drv.h | 107 unsigned int num_crtcs; member
|
D | msm_fbdev.c | 242 priv->num_crtcs, priv->num_connectors); in msm_fbdev_init()
|
D | msm_drv.c | 283 ret = drm_vblank_init(dev, priv->num_crtcs); in msm_load()
|
/drivers/gpu/drm/radeon/ |
D | radeon_kms.c | 794 if (crtc < 0 || crtc >= dev->num_crtcs) { in radeon_get_vblank_timestamp_kms()
|