Home
last modified time | relevance | path

Searched refs:num_crtc (Results 1 – 25 of 80) sorted by relevance

1234

/drivers/video/
Dvgastate.c238 for (i = 0; i < state->num_crtc; i++) in save_vga_mode()
287 for (i = 0; i < state->num_crtc; i++) in restore_vga_mode()
375 if (state->num_crtc < 25) in save_vga()
376 state->num_crtc = 25; in save_vga()
381 total = state->num_attr + state->num_crtc + in save_vga()
390 saved->gfx = saved->crtc + state->num_crtc; in save_vga()
/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c149 if (crtc >= adev->mode_info.num_crtc) in dce_v8_0_vblank_get_counter()
160 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v8_0_pageflip_interrupt_init()
169 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v8_0_pageflip_interrupt_fini()
209 if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) in dce_v8_0_crtc_get_scanoutpos()
354 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v8_0_is_display_hung()
362 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v8_0_is_display_hung()
401 int num_crtc = 0; in dce_v8_0_get_num_crtc() local
406 num_crtc = 6; in dce_v8_0_get_num_crtc()
409 num_crtc = 4; in dce_v8_0_get_num_crtc()
413 num_crtc = 2; in dce_v8_0_get_num_crtc()
[all …]
Ddce_v11_0.c219 if (crtc < 0 || crtc >= adev->mode_info.num_crtc) in dce_v11_0_vblank_get_counter()
230 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v11_0_pageflip_interrupt_init()
239 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v11_0_pageflip_interrupt_fini()
282 if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) in dce_v11_0_crtc_get_scanoutpos()
436 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v11_0_is_display_hung()
445 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v11_0_is_display_hung()
484 int num_crtc = 0; in dce_v11_0_get_num_crtc() local
488 num_crtc = 3; in dce_v11_0_get_num_crtc()
491 num_crtc = 2; in dce_v11_0_get_num_crtc()
495 num_crtc = 6; in dce_v11_0_get_num_crtc()
[all …]
Ddce_v10_0.c201 if (crtc >= adev->mode_info.num_crtc) in dce_v10_0_vblank_get_counter()
212 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v10_0_pageflip_interrupt_init()
221 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v10_0_pageflip_interrupt_fini()
264 if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) in dce_v10_0_crtc_get_scanoutpos()
420 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v10_0_is_display_hung()
429 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v10_0_is_display_hung()
468 int num_crtc = 0; in dce_v10_0_get_num_crtc() local
473 num_crtc = 6; in dce_v10_0_get_num_crtc()
476 num_crtc = 0; in dce_v10_0_get_num_crtc()
478 return num_crtc; in dce_v10_0_get_num_crtc()
[all …]
Ddce_v6_0.c153 if (crtc >= adev->mode_info.num_crtc) in dce_v6_0_vblank_get_counter()
164 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v6_0_pageflip_interrupt_init()
173 for (i = 0; i < adev->mode_info.num_crtc; i++) in dce_v6_0_pageflip_interrupt_fini()
216 if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) in dce_v6_0_crtc_get_scanoutpos()
1070 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v6_0_bandwidth_update()
1074 for (i = 0; i < adev->mode_info.num_crtc; i += 2) { in dce_v6_0_bandwidth_update()
2472 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v6_0_crtc_disable()
2624 adev->mode_info.num_crtc = dce_v6_0_get_num_crtc(adev); in dce_v6_0_early_init()
2652 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v6_0_sw_init()
2687 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce_v6_0_sw_init()
[all …]
Damdgpu_vkms.c502 …adev->amdgpu_vkms_output = kcalloc(adev->mode_info.num_crtc, sizeof(struct amdgpu_vkms_output), GF… in amdgpu_vkms_sw_init()
507 for (i = 0; i < adev->mode_info.num_crtc; i++) { in amdgpu_vkms_sw_init()
524 for (i = 0; i < adev->mode_info.num_crtc; i++) in amdgpu_vkms_sw_fini()
/drivers/gpu/drm/
Ddrm_client_modeset.c36 unsigned int num_crtc = dev->mode_config.num_crtc; in drm_client_modeset_create() local
43 client->modesets = kcalloc(num_crtc + 1, sizeof(*client->modesets), GFP_KERNEL); in drm_client_modeset_create()
53 if (num_crtc == 1) in drm_client_modeset_create()
268 if (dev->mode_config.num_crtc > 1) in drm_client_target_cloned()
542 if (dev->mode_config.num_crtc > 1) in drm_client_pick_crtcs()
737 num_connectors_enabled < dev->mode_config.num_crtc) { in drm_client_firmware_config()
863 (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) { in drm_client_modeset_probe()
Ddrm_crtc.c258 if (WARN_ON(config->num_crtc >= 32)) in __drm_crtc_init_with_planes()
295 crtc->index = config->num_crtc++; in __drm_crtc_init_with_planes()
442 dev->mode_config.num_crtc--; in drm_crtc_cleanup()
Ddrm_mode_config.c433 dev->mode_config.num_crtc = 0; in drmm_mode_config_init()
691 WARN(num_primary != dev->mode_config.num_crtc, in drm_mode_config_validate()
693 num_primary, dev->mode_config.num_crtc); in drm_mode_config_validate()
/drivers/gpu/drm/radeon/
Dradeon_asic.c2325 rdev->num_crtc = 1; in radeon_asic_init()
2327 rdev->num_crtc = 2; in radeon_asic_init()
2427 rdev->num_crtc = 4; in radeon_asic_init()
2429 rdev->num_crtc = 6; in radeon_asic_init()
2444 rdev->num_crtc = 4; in radeon_asic_init()
2446 rdev->num_crtc = 6; in radeon_asic_init()
2453 rdev->num_crtc = 6; in radeon_asic_init()
2459 rdev->num_crtc = 4; in radeon_asic_init()
2473 rdev->num_crtc = 0; in radeon_asic_init()
2475 rdev->num_crtc = 2; in radeon_asic_init()
[all …]
Dradeon_irq_kms.c326 r = drm_vblank_init(rdev->ddev, rdev->num_crtc); in radeon_irq_kms_init()
452 if (crtc < 0 || crtc >= rdev->num_crtc) in radeon_irq_kms_pflip_irq_get()
478 if (crtc < 0 || crtc >= rdev->num_crtc) in radeon_irq_kms_pflip_irq_put()
Dradeon_kms.c274 for (i = 0, found = 0; i < rdev->num_crtc; i++) { in radeon_info_ioctl()
784 if (pipe >= rdev->num_crtc) { in radeon_get_vblank_counter_kms()
854 if (pipe >= rdev->num_crtc) { in radeon_enable_vblank_kms()
880 if (pipe >= rdev->num_crtc) { in radeon_disable_vblank_kms()
Devergreen.c1379 if (crtc >= rdev->num_crtc) in dce4_wait_for_vblank()
2334 for (i = 0; i < rdev->num_crtc; i++) { in evergreen_bandwidth_update()
2338 for (i = 0; i < rdev->num_crtc; i += 2) { in evergreen_bandwidth_update()
2679 for (i = 0; i < rdev->num_crtc; i++) { in evergreen_mc_stop()
2747 for (i = 0; i < rdev->num_crtc; i++) { in evergreen_mc_stop()
2769 for (i = 0; i < rdev->num_crtc; i++) { in evergreen_mc_resume()
2786 for (i = 0; i < rdev->num_crtc; i++) { in evergreen_mc_resume()
2819 for (i = 0; i < rdev->num_crtc; i++) { in evergreen_mc_resume()
3804 for (i = 0; i < rdev->num_crtc; i++) { in evergreen_is_display_hung()
3812 for (i = 0; i < rdev->num_crtc; i++) { in evergreen_is_display_hung()
[all …]
Drv515.c279 for (i = 0; i < rdev->num_crtc; i++) { in rv515_mc_stop()
334 for (i = 0; i < rdev->num_crtc; i++) { in rv515_mc_stop()
356 for (i = 0; i < rdev->num_crtc; i++) { in rv515_mc_resume()
378 for (i = 0; i < rdev->num_crtc; i++) { in rv515_mc_resume()
420 for (i = 0; i < rdev->num_crtc; i++) { in rv515_mc_resume()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_irq.c847 adev->crtc_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs()
850 adev->vline0_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs()
856 adev->vupdate_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs()
862 adev->pageflip_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs()
Damdgpu_dm.c239 if (crtc >= adev->mode_info.num_crtc) in dm_vblank_get_counter()
259 if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) in dm_crtc_get_scanoutpos()
3414 for (i = 0; i < adev->mode_info.num_crtc; i++) { in dce60_register_irq_handlers()
3613 i <= DCN_1_0__SRCID__DC_D1_OTG_VSTARTUP + adev->mode_info.num_crtc - 1; in dcn10_register_irq_handlers()
3637 for (i = 0; i <= adev->mode_info.num_crtc - 1; i++) { in dcn10_register_irq_handlers()
3672 i <= DCN_1_0__SRCID__OTG0_IHC_V_UPDATE_NO_LOCK_INTERRUPT + adev->mode_info.num_crtc - 1; in dcn10_register_irq_handlers()
4202 adev->mode_info.num_crtc = adev->dm.display_indexes_num; in amdgpu_dm_initialize_drm_device()
4489 adev->mode_info.num_crtc = 6; in dm_early_init()
4494 adev->mode_info.num_crtc = 2; in dm_early_init()
4501 adev->mode_info.num_crtc = 6; in dm_early_init()
[all …]
/drivers/gpu/drm/tegra/
Dfb.c321 unsigned int num_crtc, in tegra_fbdev_init() argument
397 err = tegra_fbdev_init(tegra->fbdev, 32, drm->mode_config.num_crtc, in tegra_drm_fb_init()
/drivers/gpu/drm/nouveau/
Dnouveau_drm.c597 if (dev->mode_config.num_crtc) { in nouveau_drm_device_init()
657 if (dev->mode_config.num_crtc) in nouveau_drm_device_fini()
860 if (dev->mode_config.num_crtc) { in nouveau_do_suspend()
907 if (dev->mode_config.num_crtc) { in nouveau_do_suspend()
933 if (dev->mode_config.num_crtc) { in nouveau_do_resume()
/drivers/gpu/drm/i915/display/
Dintel_display.h466 (__i) < (__state)->base.dev->mode_config.num_crtc && \
483 (__i) < (__state)->base.dev->mode_config.num_crtc && \
491 for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
/drivers/gpu/drm/zte/
Dzx_drm_drv.c72 ret = drm_vblank_init(drm, drm->mode_config.num_crtc); in zx_drm_bind()
/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c120 if (!dev->mode_config.num_crtc || !dev->mode_config.num_connector) in rockchip_drm_fbdev_init()
/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c170 if (!dev->mode_config.num_crtc) in exynos_drm_fbdev_init()
/drivers/gpu/drm/armada/
Darmada_drv.c128 ret = drm_vblank_init(&priv->drm, priv->drm.mode_config.num_crtc); in armada_drm_bind()
/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_drv.c183 ret = drm_vblank_init(dev, dev->mode_config.num_crtc); in kirin_drm_kms_init()
/drivers/gpu/drm/sun4i/
Dsun4i_drv.c95 ret = drm_vblank_init(drm, drm->mode_config.num_crtc); in sun4i_drv_bind()

1234