/linux/drivers/gpu/drm/vboxvideo/ |
A D | vbox_main.c | 39 vbox->vbva_info = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_accel_init() 45 vbox->available_vram_size -= vbox->num_crtcs * VBVA_MIN_BUFFER_SIZE; in vbox_accel_init() 49 vbox->num_crtcs * in vbox_accel_init() 54 for (i = 0; i < vbox->num_crtcs; ++i) { in vbox_accel_init() 75 for (i = 0; i < vbox->num_crtcs; ++i) in vbox_accel_fini() 150 &vbox->num_crtcs); in vbox_hw_init() 151 vbox->num_crtcs = clamp_t(u32, vbox->num_crtcs, 1, VBOX_MAX_SCREENS); in vbox_hw_init() 158 vbox->last_mode_hints = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_hw_init()
|
A D | vbox_irq.c | 73 for (i = 0; i < vbox->num_crtcs; ++i) { in validate_or_set_position_hints() 96 for (i = 0; i < vbox->num_crtcs; ++i) { in validate_or_set_position_hints() 119 ret = hgsmi_get_mode_hints(vbox->guest_pool, vbox->num_crtcs, in vbox_update_mode_hints()
|
A D | vbox_drv.h | 57 u32 num_crtcs; member
|
/linux/drivers/gpu/drm/rcar-du/ |
A D | rcar_du_group.c | 91 unsigned int num_crtcs = 0; in rcar_du_group_setup_didsr() local 109 num_crtcs = rcdu->num_crtcs; in rcar_du_group_setup_didsr() 110 } else if (rcdu->info->gen == 3 && rgrp->num_crtcs > 1) { in rcar_du_group_setup_didsr() 116 num_crtcs = rgrp->num_crtcs; in rcar_du_group_setup_didsr() 119 if (!num_crtcs) in rcar_du_group_setup_didsr() 123 for (i = 0; i < num_crtcs; ++i, ++rcrtc) { in rcar_du_group_setup_didsr() 287 index = rcdu->info->gen < 3 ? 0 : DIV_ROUND_UP(rcdu->num_crtcs, 2) - 1; in rcar_du_set_dpad0_vsp1_routing() 329 for (i = 0; i < rgrp->num_crtcs; ++i) { in rcar_du_group_set_dpad_levels()
|
A D | rcar_du_kms.c | 666 cells = ret / rcdu->num_crtcs - 1; in rcar_du_vsps_init() 670 for (i = 0; i < rcdu->num_crtcs; ++i) { in rcar_du_vsps_init() 737 if (cells > rcdu->num_crtcs) { in rcar_du_cmm_init() 849 rcdu->num_crtcs = hweight8(rcdu->info->channels_mask); in rcar_du_modeset_init() 859 ret = drm_vblank_init(dev, rcdu->num_crtcs); in rcar_du_modeset_init() 864 num_groups = DIV_ROUND_UP(rcdu->num_crtcs, 2); in rcar_du_modeset_init() 877 rgrp->num_crtcs = hweight8(rgrp->channels_mask); in rcar_du_modeset_init() 885 rgrp->dptsr_planes = rgrp->num_crtcs > 1 in rcar_du_modeset_init() 909 for (swindex = 0, hwindex = 0; swindex < rcdu->num_crtcs; ++hwindex) { in rcar_du_modeset_init() 951 for (i = 0; i < rcdu->num_crtcs; ++i) { in rcar_du_modeset_init()
|
A D | rcar_du_group.h | 42 unsigned int num_crtcs; member
|
A D | rcar_du_drv.h | 102 unsigned int num_crtcs; member
|
A D | rcar_du_plane.c | 769 rgrp->num_planes = rgrp->num_crtcs + 7; in rcar_du_planes_init() 771 crtcs = ((1 << rcdu->num_crtcs) - 1) & (3 << (2 * rgrp->index)); in rcar_du_planes_init() 774 enum drm_plane_type type = i < rgrp->num_crtcs in rcar_du_planes_init()
|
A D | rcar_du_vsp.c | 398 unsigned int num_crtcs = hweight32(crtcs); in rcar_du_vsp_init() local 429 enum drm_plane_type type = i < num_crtcs in rcar_du_vsp_init()
|
/linux/drivers/gpu/drm/ |
A D | drm_vblank.c | 375 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_count() 535 dev->num_crtcs = num_crtcs; in drm_vblank_init() 537 for (i = 0; i < num_crtcs; i++) { in drm_vblank_init() 578 return dev->num_crtcs != 0; in drm_dev_has_vblank() 620 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_calc_timestamping_constants() 706 if (pipe >= dev->num_crtcs) { in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 1169 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_get() 1207 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_put() 1255 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_wait_one_vblank() 1601 if (pipe >= dev->num_crtcs) in drm_legacy_modeset_ctl_ioctl() [all …]
|
A D | drm_irq.c | 133 for (i = 0; i < dev->num_crtcs; i++) { in drm_legacy_irq_uninstall()
|
/linux/drivers/gpu/drm/tidss/ |
A D | tidss_irq.c | 65 for (id = 0; id < tidss->num_crtcs; id++) { in tidss_irq_handler() 122 for (i = 0; i < tidss->num_crtcs; ++i) { in tidss_irq_postinstall()
|
A D | tidss_drv.h | 24 unsigned int num_crtcs; member
|
A D | tidss_kms.c | 220 tidss->crtcs[tidss->num_crtcs++] = &tcrtc->crtc; in tidss_dispc_modeset_init() 278 ret = drm_vblank_init(ddev, tidss->num_crtcs); in tidss_modeset_init()
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_kms.c | 455 unsigned int num_crtcs; in modeset_init() local 475 num_crtcs = min(priv->num_encoders, mdp5_kms->num_hwmixers); in modeset_init() 487 if (i < num_crtcs) in modeset_init() 508 for (i = 0; i < num_crtcs; i++) { in modeset_init() 517 priv->crtcs[priv->num_crtcs++] = crtc; in modeset_init() 527 encoder->possible_crtcs = (1 << priv->num_crtcs) - 1; in modeset_init()
|
A D | mdp5_irq.c | 97 for (id = 0; id < priv->num_crtcs; id++) in mdp5_irq()
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_atomic.c | 161 int i, num_crtcs = 0; in can_do_async() local 173 if (++num_crtcs > 1) in can_do_async()
|
A D | msm_drv.c | 368 for (i = 0; i < priv->num_crtcs; i++) { in msm_drm_uninit() 626 for (i = 0; i < priv->num_crtcs; i++) { in msm_drm_init() 642 ret = drm_vblank_init(ddev, priv->num_crtcs); in msm_drm_init()
|
/linux/include/drm/ |
A D | drm_device.h | 266 unsigned int num_crtcs; member
|
A D | drm_vblank.h | 228 int drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs);
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
A D | mdp4_irq.c | 84 for (id = 0; id < priv->num_crtcs; id++) in mdp4_irq()
|
A D | mdp4_kms.c | 339 crtc = mdp4_crtc_init(dev, plane, priv->num_crtcs, i, in modeset_init() 348 priv->crtcs[priv->num_crtcs++] = crtc; in modeset_init()
|
/linux/drivers/gpu/drm/gma500/ |
A D | psb_irq.c | 323 for (i = 0; i < dev->num_crtcs; ++i) { in psb_irq_postinstall() 369 for (i = 0; i < dev->num_crtcs; ++i) { in psb_irq_uninstall()
|
/linux/drivers/gpu/drm/tegra/ |
A D | drm.h | 62 unsigned int num_crtcs; member
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_kms.c | 624 for (i = 0; i < priv->num_crtcs; i++) in _dpu_kms_drm_obj_destroy() 626 priv->num_crtcs = 0; in _dpu_kms_drm_obj_destroy() 707 priv->crtcs[priv->num_crtcs++] = crtc; in _dpu_kms_drm_obj_init() 712 priv->encoders[i]->possible_crtcs = (1 << priv->num_crtcs) - 1; in _dpu_kms_drm_obj_init()
|