Searched refs:num_crtcs (Results 1 – 6 of 6) sorted by relevance
178 for (i = 0; i < dev->num_crtcs; i++) { in vblank_disable_fn()192 if (dev->num_crtcs == 0) in drm_vblank_cleanup()208 dev->num_crtcs = 0; in drm_vblank_cleanup()212 int drm_vblank_init(struct drm_device *dev, int num_crtcs) in drm_vblank_init() argument221 dev->num_crtcs = num_crtcs; in drm_vblank_init()223 dev->vbl_queue = kmalloc(sizeof(wait_queue_head_t) * num_crtcs, in drm_vblank_init()228 dev->_vblank_count = kmalloc(sizeof(atomic_t) * num_crtcs, GFP_KERNEL); in drm_vblank_init()232 dev->vblank_refcount = kmalloc(sizeof(atomic_t) * num_crtcs, in drm_vblank_init()237 dev->vblank_enabled = kcalloc(num_crtcs, sizeof(int), GFP_KERNEL); in drm_vblank_init()241 dev->last_vblank = kcalloc(num_crtcs, sizeof(u32), GFP_KERNEL); in drm_vblank_init()[all …]
896 group->num_crtcs = 0; in drm_mode_group_init()914 group->id_list[group->num_crtcs++] = crtc->base.id; in drm_mode_group_init_legacy_group()917 group->id_list[group->num_crtcs + group->num_encoders++] = in drm_mode_group_init_legacy_group()921 group->id_list[group->num_crtcs + group->num_encoders + in drm_mode_group_init_legacy_group()1101 crtc_count = mode_group->num_crtcs; in drm_mode_getresources()1141 for (i = 0; i < mode_group->num_crtcs; i++) { in drm_mode_getresources()1171 for (i = mode_group->num_crtcs; i < mode_group->num_crtcs + mode_group->num_encoders; i++) { in drm_mode_getresources()1203 int start = mode_group->num_crtcs + in drm_mode_getresources()
200 for (crtc = 0; crtc < dev->num_crtcs; crtc++) { in drm_vblank_info()
337 if (crtc < 0 || crtc >= dev->num_crtcs) { in radeon_get_vblank_timestamp_kms()
1137 unsigned int num_crtcs; /**< Number of CRTCs on this device */ member1377 extern int drm_vblank_init(struct drm_device *dev, int num_crtcs);
552 uint32_t num_crtcs; member