Home
last modified time | relevance | path

Searched refs:possible_crtcs (Results 1 – 25 of 44) sorted by relevance

12

/linux/drivers/gpu/drm/vkms/
H A Dvkms_config.c202 if (xa_empty(&plane_cfg->possible_crtcs)) { in valid_plane_possible_crtcs()
246 if (xa_empty(&encoder_cfg->possible_crtcs)) { in valid_encoder_possible_crtcs()
398 xa_init_flags(&plane_cfg->possible_crtcs, XA_FLAGS_ALLOC); in vkms_config_create_plane()
408 xa_destroy(&plane_cfg->possible_crtcs); in vkms_config_destroy_plane()
429 return xa_alloc(&plane_cfg->possible_crtcs, &crtc_idx, crtc_cfg, in vkms_config_plane_attach_crtc()
442 xa_erase(&plane_cfg->possible_crtcs, idx); in vkms_config_plane_detach_crtc()
535 xa_init_flags(&encoder_cfg->possible_crtcs, XA_FLAGS_ALLOC); in vkms_config_create_encoder()
551 xa_destroy(&encoder_cfg->possible_crtcs); in vkms_config_destroy_encoder()
572 return xa_alloc(&encoder_cfg->possible_crtcs, &crtc_idx, crtc_cfg, in vkms_config_encoder_attach_crtc()
585 xa_erase(&encoder_cfg->possible_crtcs, idx); in vkms_config_encoder_detach_crtc()
H A Dvkms_config.h51 struct xarray possible_crtcs; member
94 struct xarray possible_crtcs; member
163 xa_for_each(&(plane_cfg)->possible_crtcs, idx, (possible_crtc))
173 xa_for_each(&(encoder_cfg)->possible_crtcs, idx, (possible_crtc))
H A Dvkms_output.c56 plane_cfg->plane->base.possible_crtcs |= in vkms_output_init()
81 encoder_cfg->encoder->possible_crtcs |= in vkms_output_init()
/linux/drivers/gpu/drm/
H A Ddrm_plane.c362 uint32_t possible_crtcs, in __drm_universal_plane_init() argument
455 plane->possible_crtcs = possible_crtcs; in __drm_universal_plane_init()
533 uint32_t possible_crtcs, in drm_universal_plane_init() argument
546 ret = __drm_universal_plane_init(dev, plane, possible_crtcs, funcs, in drm_universal_plane_init()
565 size_t offset, uint32_t possible_crtcs, in __drmm_universal_plane_alloc() argument
587 ret = __drm_universal_plane_init(dev, plane, possible_crtcs, funcs, in __drmm_universal_plane_alloc()
604 size_t offset, uint32_t possible_crtcs, in __drm_universal_plane_alloc() argument
626 ret = __drm_universal_plane_init(dev, plane, possible_crtcs, funcs, in __drm_universal_plane_alloc()
884 plane_resp->possible_crtcs = drm_lease_filter_crtcs(file_priv, in drm_mode_getplane()
885 plane->possible_crtcs); in drm_mode_getplane()
[all …]
H A Ddrm_mode_config.c852 WARN((encoder->possible_crtcs & crtc_mask) == 0 || in validate_encoder_possible_crtcs()
853 (encoder->possible_crtcs & ~crtc_mask) != 0, in validate_encoder_possible_crtcs()
857 encoder->possible_crtcs, crtc_mask); in validate_encoder_possible_crtcs()
914 WARN(!(crtc->primary->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate()
924 WARN(!(crtc->cursor->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate()
/linux/drivers/gpu/drm/rockchip/
H A Dinno_hdmi-rockchip.c111 encoder->possible_crtcs = drm_of_find_possible_crtcs(drm, dev->of_node); in inno_hdmi_rockchip_bind()
119 if (encoder->possible_crtcs == 0) in inno_hdmi_rockchip_bind()
H A Danalogix_dp-rockchip.c365 encoder->possible_crtcs = drm_of_find_possible_crtcs(drm_dev, in rockchip_dp_drm_create_encoder()
367 DRM_DEBUG_KMS("possible_crtcs = 0x%x\n", encoder->possible_crtcs); in rockchip_dp_drm_create_encoder()
/linux/drivers/gpu/drm/tidss/
H A Dtidss_encoder.h16 u32 encoder_type, u32 possible_crtcs);
/linux/drivers/gpu/drm/sti/
H A Dsti_cursor.h16 unsigned int possible_crtcs);
H A Dsti_gdp.h22 unsigned int possible_crtcs,
/linux/drivers/gpu/drm/omapdrm/
H A Domap_plane.h22 u32 possible_crtcs);
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-kms.h41 unsigned int possible_crtcs,
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_plane.h50 unsigned long possible_crtcs, enum drm_plane_type type,
/linux/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-plane.h33 int dma, int dp, unsigned int possible_crtcs,
/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_kms.c220 encoder->possible_crtcs = 1 << DMA_P; in mdp4_modeset_init_intf()
244 encoder->possible_crtcs = 1 << 1; in mdp4_modeset_init_intf()
272 encoder->possible_crtcs = 1 << DMA_P; in mdp4_modeset_init_intf()
/linux/drivers/gpu/drm/ast/
H A Dast_sil164.c103 encoder->possible_crtcs = drm_crtc_mask(crtc); in ast_sil164_output_init()
H A Dast_vga.c103 encoder->possible_crtcs = drm_crtc_mask(crtc); in ast_vga_output_init()
/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_mode.c508 unsigned int possible_crtcs, in vbox_create_plane() argument
536 err = drm_universal_plane_init(&vbox->ddev, plane, possible_crtcs, in vbox_create_plane()
636 vbox_encoder->base.possible_crtcs = 1 << i; in vbox_encoder_init()
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv04.c232 encoder->possible_crtcs = entry->heads; in nv04_tv_create()
/linux/drivers/gpu/drm/tegra/
H A Dhub.c766 unsigned int possible_crtcs; in tegra_shared_plane_create() local
786 possible_crtcs = BIT(tegra->num_crtcs) - 1; in tegra_shared_plane_create()
792 err = drm_universal_plane_init(drm, p, possible_crtcs, in tegra_shared_plane_create()
H A Ddc.c906 unsigned long possible_crtcs = tegra_plane_get_possible_crtcs(drm); in tegra_primary_plane_create() local
934 err = drm_universal_plane_init(drm, &plane->base, possible_crtcs, in tegra_primary_plane_create()
1213 unsigned long possible_crtcs = tegra_plane_get_possible_crtcs(drm); in tegra_dc_cursor_plane_create() local
1248 err = drm_universal_plane_init(drm, &plane->base, possible_crtcs, in tegra_dc_cursor_plane_create()
1362 unsigned long possible_crtcs = tegra_plane_get_possible_crtcs(drm); in tegra_dc_overlay_plane_create() local
1392 err = drm_universal_plane_init(drm, &plane->base, possible_crtcs, in tegra_dc_overlay_plane_create()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c470 encoder->possible_crtcs = route->possible_outputs; in rzg2l_du_modeset_init()
/linux/drivers/gpu/drm/sysfb/
H A Defidrm.c331 encoder->possible_crtcs = drm_crtc_mask(crtc); in efidrm_device_create()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_display.c311 encoder->possible_crtcs = 1 << index; in vgdev_output_init()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_display.c961 unsigned int possible_crtcs, in qxl_create_plane() argument
989 err = drm_universal_plane_init(&qdev->ddev, plane, possible_crtcs, in qxl_create_plane()
1190 encoder->possible_crtcs = 1 << num_output; in qdev_output_init()

12