/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_atomic_trace.h | 12 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 …]
|
D | msm_atomic.c | 36 static void vblank_get(struct msm_kms *kms, unsigned crtc_mask) in vblank_get() argument 40 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in vblank_get() 47 static void vblank_put(struct msm_kms *kms, unsigned crtc_mask) in vblank_put() argument 51 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in vblank_put() 60 unsigned crtc_mask = BIT(crtc_idx); in msm_atomic_async_commit() local 62 trace_msm_atomic_async_commit_start(crtc_mask); in msm_atomic_async_commit() 66 if (!(kms->pending_crtc_mask & crtc_mask)) { in msm_atomic_async_commit() 71 kms->pending_crtc_mask &= ~crtc_mask; in msm_atomic_async_commit() 75 vblank_get(kms, crtc_mask); in msm_atomic_async_commit() 80 trace_msm_atomic_flush_commit(crtc_mask); in msm_atomic_async_commit() [all …]
|
D | msm_kms.h | 81 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); 193 #define for_each_crtc_mask(dev, crtc, crtc_mask) \ argument 195 for_each_if (drm_crtc_mask(crtc) & (crtc_mask))
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 575 int crtc_mask = 0, clone_mask = 0; in psb_setup_outputs() local 580 crtc_mask = (1 << 0); in psb_setup_outputs() 584 crtc_mask = dev_priv->ops->sdvo_mask; in psb_setup_outputs() 588 crtc_mask = dev_priv->ops->lvds_mask; in psb_setup_outputs() 592 crtc_mask = (1 << 0); in psb_setup_outputs() 596 crtc_mask = (1 << 2); in psb_setup_outputs() 600 crtc_mask = dev_priv->ops->hdmi_mask; in psb_setup_outputs() 604 crtc_mask = (1 << 0) | (1 << 1); in psb_setup_outputs() 608 crtc_mask = (1 << 1); in psb_setup_outputs() 611 encoder->possible_crtcs = crtc_mask; in psb_setup_outputs()
|
D | psb_intel_drv.h | 95 int crtc_mask; member
|
D | psb_intel_sdvo.c | 2153 psb_intel_sdvo->base.crtc_mask = (1 << 0) | (1 << 1); in psb_intel_sdvo_output_setup()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramnv40.c | 74 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/ |
D | tidss_kms.c | 125 u32 crtc_mask; in tidss_dispc_modeset_init() local 188 crtc_mask = (1 << num_pipes) - 1; in tidss_dispc_modeset_init() 200 DRM_PLANE_TYPE_PRIMARY, crtc_mask, in tidss_dispc_modeset_init() 239 DRM_PLANE_TYPE_OVERLAY, crtc_mask, in tidss_dispc_modeset_init()
|
D | tidss_plane.h | 22 u32 crtc_mask, const u32 *formats,
|
D | tidss_plane.c | 169 u32 crtc_mask, const u32 *formats, in tidss_plane_create() argument 192 possible_crtcs = crtc_mask; in tidss_plane_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_mode_config.c | 605 u32 crtc_mask = 0; in full_crtc_mask() local 608 crtc_mask |= drm_crtc_mask(crtc); in full_crtc_mask() 610 return crtc_mask; in full_crtc_mask() 615 u32 crtc_mask = full_crtc_mask(encoder->dev); in validate_encoder_possible_crtcs() local 617 WARN((encoder->possible_crtcs & crtc_mask) == 0 || in validate_encoder_possible_crtcs() 618 (encoder->possible_crtcs & ~crtc_mask) != 0, in validate_encoder_possible_crtcs() 622 encoder->possible_crtcs, crtc_mask); in validate_encoder_possible_crtcs()
|
D | drm_atomic_helper.c | 1482 unsigned crtc_mask = 0; in drm_atomic_helper_wait_for_vblanks() local 1499 crtc_mask |= drm_crtc_mask(crtc); in drm_atomic_helper_wait_for_vblanks() 1504 if (!(crtc_mask & drm_crtc_mask(crtc))) in drm_atomic_helper_wait_for_vblanks()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/ |
D | imx-drm-core.c | 124 uint32_t crtc_mask = drm_of_find_possible_crtcs(drm, np); in imx_drm_encoder_parse_of() local 132 if (crtc_mask == 0) in imx_drm_encoder_parse_of() 135 encoder->possible_crtcs = crtc_mask; in imx_drm_encoder_parse_of()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_kms.c | 94 static void mdp4_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp4_flush_commit() argument 99 static void mdp4_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in mdp4_wait_flush() argument 104 for_each_crtc_mask(mdp4_kms->dev, crtc, crtc_mask) in mdp4_wait_flush() 108 static void mdp4_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in mdp4_complete_commit() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_kms.c | 368 static void dpu_kms_flush_commit(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_flush_commit() argument 373 for_each_crtc_mask(dpu_kms->dev, crtc, crtc_mask) { in dpu_kms_flush_commit() 404 static void dpu_kms_complete_commit(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_complete_commit() argument 411 for_each_crtc_mask(dpu_kms->dev, crtc, crtc_mask) in dpu_kms_complete_commit() 458 static void dpu_kms_wait_flush(struct msm_kms *kms, unsigned crtc_mask) in dpu_kms_wait_flush() argument 463 for_each_crtc_mask(dpu_kms->dev, crtc, crtc_mask) in dpu_kms_wait_flush()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dpll_mgr.c | 179 drm_WARN_ON(&dev_priv->drm, !pll->state.crtc_mask); in intel_prepare_shared_dpll() 201 unsigned int crtc_mask = drm_crtc_mask(&crtc->base); in intel_enable_shared_dpll() local 210 if (drm_WARN_ON(&dev_priv->drm, !(pll->state.crtc_mask & crtc_mask)) || in intel_enable_shared_dpll() 211 drm_WARN_ON(&dev_priv->drm, pll->active_mask & crtc_mask)) in intel_enable_shared_dpll() 214 pll->active_mask |= crtc_mask; in intel_enable_shared_dpll() 247 unsigned int crtc_mask = drm_crtc_mask(&crtc->base); in intel_disable_shared_dpll() local 257 if (drm_WARN_ON(&dev_priv->drm, !(pll->active_mask & crtc_mask))) in intel_disable_shared_dpll() 268 pll->active_mask &= ~crtc_mask; in intel_disable_shared_dpll() 299 if (shared_dpll[i].crtc_mask == 0) { in intel_find_shared_dpll() 312 shared_dpll[i].crtc_mask, in intel_find_shared_dpll() [all …]
|
D | intel_dpll_mgr.h | 229 unsigned crtc_mask; member
|
D | intel_display.h | 385 #define for_each_intel_crtc_mask(dev, intel_crtc, crtc_mask) \ argument 389 for_each_if((crtc_mask) & drm_crtc_mask(&intel_crtc->base))
|
D | intel_dp.c | 5779 u32 *crtc_mask) in intel_dp_prep_link_retrain() argument 5786 *crtc_mask = 0; in intel_dp_prep_link_retrain() 5820 *crtc_mask |= drm_crtc_mask(&crtc->base); in intel_dp_prep_link_retrain() 5825 *crtc_mask = 0; in intel_dp_prep_link_retrain() 5844 u32 crtc_mask; in intel_dp_retrain_link() local 5855 ret = intel_dp_prep_link_retrain(intel_dp, ctx, &crtc_mask); in intel_dp_retrain_link() 5859 if (crtc_mask == 0) in intel_dp_retrain_link() 5865 for_each_intel_crtc_mask(&dev_priv->drm, crtc, crtc_mask) { in intel_dp_retrain_link() 5879 for_each_intel_crtc_mask(&dev_priv->drm, crtc, crtc_mask) { in intel_dp_retrain_link()
|
D | intel_display.c | 14393 unsigned int crtc_mask; in verify_single_dpll_state() local 14413 I915_STATE_WARN(pll->active_mask & ~pll->state.crtc_mask, in verify_single_dpll_state() 14415 pll->active_mask, pll->state.crtc_mask); in verify_single_dpll_state() 14420 crtc_mask = drm_crtc_mask(&crtc->base); in verify_single_dpll_state() 14423 I915_STATE_WARN(!(pll->active_mask & crtc_mask), in verify_single_dpll_state() 14427 I915_STATE_WARN(pll->active_mask & crtc_mask, in verify_single_dpll_state() 14431 I915_STATE_WARN(!(pll->state.crtc_mask & crtc_mask), in verify_single_dpll_state() 14433 crtc_mask, pll->state.crtc_mask); in verify_single_dpll_state() 14453 unsigned int crtc_mask = drm_crtc_mask(&crtc->base); in verify_shared_dpll_state() local 14456 I915_STATE_WARN(pll->active_mask & crtc_mask, in verify_shared_dpll_state() [all …]
|
D | intel_display_debugfs.c | 934 pll->state.crtc_mask, pll->active_mask, yesno(pll->on)); in i915_shared_dplls_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_kms.c | 168 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
|
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/ |
D | dw_drm_dsi.c | 704 u32 crtc_mask = drm_of_find_possible_crtcs(drm_dev, dev->of_node); in dw_drm_encoder_init() local 706 if (!crtc_mask) { in dw_drm_encoder_init() 711 encoder->possible_crtcs = crtc_mask; in dw_drm_encoder_init()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0020_linux_drivers_gpu.patch | 7438 + uint32_t crtc_mask; 7444 + crtc_mask = drm_of_find_possible_crtcs(drm, dev->of_node); 7451 + if (crtc_mask == 0) 7454 + dsi->encoder.possible_crtcs = crtc_mask; 19669 + u32 crtc_mask, 19678 + if ((crtc_mask & drm_crtc_mask(crtc)) == 0) {
|