Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/vboxvideo/
A Dvbox_main.c39 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 Dvbox_irq.c73 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 Dvbox_drv.h57 u32 num_crtcs; member
/linux/drivers/gpu/drm/rcar-du/
A Drcar_du_group.c91 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 Drcar_du_kms.c666 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 Drcar_du_group.h42 unsigned int num_crtcs; member
A Drcar_du_drv.h102 unsigned int num_crtcs; member
A Drcar_du_plane.c769 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 Drcar_du_vsp.c398 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 Ddrm_vblank.c375 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 Ddrm_irq.c133 for (i = 0; i < dev->num_crtcs; i++) { in drm_legacy_irq_uninstall()
/linux/drivers/gpu/drm/tidss/
A Dtidss_irq.c65 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 Dtidss_drv.h24 unsigned int num_crtcs; member
A Dtidss_kms.c220 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 Dmdp5_kms.c455 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 Dmdp5_irq.c97 for (id = 0; id < priv->num_crtcs; id++) in mdp5_irq()
/linux/drivers/gpu/drm/msm/
A Dmsm_atomic.c161 int i, num_crtcs = 0; in can_do_async() local
173 if (++num_crtcs > 1) in can_do_async()
A Dmsm_drv.c368 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 Ddrm_device.h266 unsigned int num_crtcs; member
A Ddrm_vblank.h228 int drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs);
/linux/drivers/gpu/drm/msm/disp/mdp4/
A Dmdp4_irq.c84 for (id = 0; id < priv->num_crtcs; id++) in mdp4_irq()
A Dmdp4_kms.c339 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 Dpsb_irq.c323 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 Ddrm.h62 unsigned int num_crtcs; member
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_kms.c624 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()

Completed in 47 milliseconds

12