Home
last modified time | relevance | path

Searched refs:crtc_mask (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_atomic_trace.h12 TP_PROTO(bool async, unsigned crtc_mask),
13 TP_ARGS(async, crtc_mask),
16 __field(u32, crtc_mask)
20 __entry->crtc_mask = crtc_mask;
23 __entry->async, __entry->crtc_mask)
27 TP_PROTO(bool async, unsigned crtc_mask),
28 TP_ARGS(async, crtc_mask),
31 __field(u32, crtc_mask)
35 __entry->crtc_mask = crtc_mask;
38 __entry->async, __entry->crtc_mask)
[all …]
Dmsm_atomic.c21 static void vblank_get(struct msm_kms *kms, unsigned crtc_mask) in vblank_get() argument
25 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in vblank_get()
32 static void vblank_put(struct msm_kms *kms, unsigned crtc_mask) in vblank_put() argument
36 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in vblank_put()
43 static void lock_crtcs(struct msm_kms *kms, unsigned int crtc_mask) in lock_crtcs() argument
48 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in lock_crtcs()
54 static void unlock_crtcs(struct msm_kms *kms, unsigned int crtc_mask) in unlock_crtcs() argument
58 for_each_crtc_mask_reverse(kms->dev, crtc, crtc_mask) in unlock_crtcs()
64 unsigned crtc_mask = BIT(crtc_idx); in msm_atomic_async_commit() local
66 trace_msm_atomic_async_commit_start(crtc_mask); in msm_atomic_async_commit()
[all …]
Dmsm_kms.h81 void (*flush_commit)(struct msm_kms *kms, unsigned crtc_mask);
90 void (*wait_flush)(struct msm_kms *kms, unsigned crtc_mask);
97 void (*complete_commit)(struct msm_kms *kms, unsigned crtc_mask);
198 #define for_each_crtc_mask(dev, crtc, crtc_mask) \ argument
200 for_each_if (drm_crtc_mask(crtc) & (crtc_mask))
202 #define for_each_crtc_mask_reverse(dev, crtc, crtc_mask) \ argument
204 for_each_if (drm_crtc_mask(crtc) & (crtc_mask))
/linux-6.1.9/drivers/gpu/drm/gma500/
Dframebuffer.c470 int crtc_mask = 0, clone_mask = 0; in psb_setup_outputs() local
475 crtc_mask = (1 << 0); in psb_setup_outputs()
479 crtc_mask = dev_priv->ops->sdvo_mask; in psb_setup_outputs()
483 crtc_mask = dev_priv->ops->lvds_mask; in psb_setup_outputs()
487 crtc_mask = (1 << 0); in psb_setup_outputs()
491 crtc_mask = (1 << 2); in psb_setup_outputs()
495 crtc_mask = dev_priv->ops->hdmi_mask; in psb_setup_outputs()
499 crtc_mask = (1 << 0) | (1 << 1); in psb_setup_outputs()
503 crtc_mask = (1 << 1); in psb_setup_outputs()
506 encoder->possible_crtcs = crtc_mask; in psb_setup_outputs()
Dpsb_intel_drv.h96 int crtc_mask; member
Dpsb_intel_sdvo.c2173 psb_intel_sdvo->base.crtc_mask = (1 << 0) | (1 << 1); in psb_intel_sdvo_output_setup()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv40.c74 u32 crtc_mask = 0; in nv40_ram_prog() local
87 crtc_mask |= (1 << i); in nv40_ram_prog()
96 if (!(crtc_mask & (1 << i))) in nv40_ram_prog()
162 if (!(crtc_mask & (1 << i))) in nv40_ram_prog()
/linux-6.1.9/drivers/gpu/drm/tidss/
Dtidss_kms.c128 u32 crtc_mask; in tidss_dispc_modeset_init() local
191 crtc_mask = (1 << num_pipes) - 1; in tidss_dispc_modeset_init()
203 DRM_PLANE_TYPE_PRIMARY, crtc_mask, in tidss_dispc_modeset_init()
240 DRM_PLANE_TYPE_OVERLAY, crtc_mask, in tidss_dispc_modeset_init()
Dtidss_plane.h22 u32 crtc_mask, const u32 *formats,
Dtidss_plane.c178 u32 crtc_mask, const u32 *formats, in tidss_plane_create() argument
201 possible_crtcs = crtc_mask; in tidss_plane_create()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_mode_config.c606 u32 crtc_mask = 0; in full_crtc_mask() local
609 crtc_mask |= drm_crtc_mask(crtc); in full_crtc_mask()
611 return crtc_mask; in full_crtc_mask()
616 u32 crtc_mask = full_crtc_mask(encoder->dev); in validate_encoder_possible_crtcs() local
618 WARN((encoder->possible_crtcs & crtc_mask) == 0 || in validate_encoder_possible_crtcs()
619 (encoder->possible_crtcs & ~crtc_mask) != 0, in validate_encoder_possible_crtcs()
623 encoder->possible_crtcs, crtc_mask); in validate_encoder_possible_crtcs()
Ddrm_atomic_helper.c1604 unsigned int crtc_mask = 0; in drm_atomic_helper_wait_for_vblanks() local
1621 crtc_mask |= drm_crtc_mask(crtc); in drm_atomic_helper_wait_for_vblanks()
1626 if (!(crtc_mask & drm_crtc_mask(crtc))) in drm_atomic_helper_wait_for_vblanks()
/linux-6.1.9/drivers/gpu/drm/imx/
Dimx-drm-core.c122 uint32_t crtc_mask = drm_of_find_possible_crtcs(drm, np); in imx_drm_encoder_parse_of() local
130 if (crtc_mask == 0) in imx_drm_encoder_parse_of()
133 encoder->possible_crtcs = crtc_mask; in imx_drm_encoder_parse_of()
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c91 static void mdp4_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp4_flush_commit() argument
96 static void mdp4_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in mdp4_wait_flush() argument
101 for_each_crtc_mask(mdp4_kms->dev, crtc, crtc_mask) in mdp4_wait_flush()
105 static void mdp4_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp4_complete_commit() argument
/linux-6.1.9/drivers/gpu/drm/sprd/
Dsprd_dsi.c862 u32 crtc_mask; in sprd_dsi_encoder_init() local
865 crtc_mask = drm_of_find_possible_crtcs(dsi->drm, dev->of_node); in sprd_dsi_encoder_init()
866 if (!crtc_mask) { in sprd_dsi_encoder_init()
871 drm_dbg(dsi->drm, "find possible crtcs: 0x%08x\n", crtc_mask); in sprd_dsi_encoder_init()
873 encoder->possible_crtcs = crtc_mask; in sprd_dsi_encoder_init()
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c460 static void dpu_kms_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_flush_commit() argument
465 for_each_crtc_mask(dpu_kms->dev, crtc, crtc_mask) { in dpu_kms_flush_commit()
474 static void dpu_kms_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_complete_commit() argument
481 for_each_crtc_mask(dpu_kms->dev, crtc, crtc_mask) in dpu_kms_complete_commit()
528 static void dpu_kms_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_wait_flush() argument
533 for_each_crtc_mask(dpu_kms->dev, crtc, crtc_mask) in dpu_kms_wait_flush()
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c168 static void mdp5_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp5_flush_commit() argument
173 static void mdp5_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in mdp5_wait_flush() argument
178 for_each_crtc_mask(mdp5_kms->dev, crtc, crtc_mask) in mdp5_wait_flush()
182 static void mdp5_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp5_complete_commit() argument
/linux-6.1.9/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c705 u32 crtc_mask = drm_of_find_possible_crtcs(drm_dev, dev->of_node); in dw_drm_encoder_init() local
707 if (!crtc_mask) { in dw_drm_encoder_init()
712 encoder->possible_crtcs = crtc_mask; in dw_drm_encoder_init()