/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_crtc.c | 98 drm_for_each_encoder_mask(drm_enc, crtc->dev, crtc->state->encoder_mask) in dpu_crtc_verify_crc_source() 125 drm_for_each_encoder_mask(drm_enc, crtc->dev, crtc->state->encoder_mask) in dpu_crtc_setup_encoder_misr() 236 drm_for_each_encoder_mask(drm_enc, crtc->dev, crtc->state->encoder_mask) { in dpu_crtc_get_encoder_crc() 591 drm_for_each_encoder_mask(encoder, crtc->dev, crtc->state->encoder_mask) in dpu_crtc_get_intf_mode() 809 drm_for_each_encoder_mask(encoder, crtc->dev, crtc->state->encoder_mask) in dpu_crtc_atomic_begin() 949 crtc->state->encoder_mask) { in dpu_crtc_commit_kickoff() 960 crtc->state->encoder_mask) in dpu_crtc_commit_kickoff() 973 drm_for_each_encoder_mask(encoder, crtc->dev, crtc->state->encoder_mask) in dpu_crtc_commit_kickoff() 1048 old_crtc_state->encoder_mask) { in dpu_crtc_disable() 1058 old_crtc_state->encoder_mask) { in dpu_crtc_disable() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_mode_config.c | 573 u32 encoder_mask = 0; in full_encoder_mask() 576 encoder_mask |= drm_encoder_mask(encoder); in full_encoder_mask() 578 return encoder_mask; 595 u32 encoder_mask = full_encoder_mask(dev); in validate_encoder_possible_clones() 611 (encoder->possible_clones & ~encoder_mask) != 0, in validate_encoder_possible_clones() 615 encoder->possible_clones, encoder_mask); 571 u32 encoder_mask = 0; full_encoder_mask() local 593 u32 encoder_mask = full_encoder_mask(dev); validate_encoder_possible_clones() local
|
H A D | drm_atomic_helper.c | 112 unsigned int encoder_mask = 0; in handle_conflicting_encoders() local 136 if (encoder_mask & drm_encoder_mask(new_encoder)) { in handle_conflicting_encoders() 145 encoder_mask |= drm_encoder_mask(new_encoder); in handle_conflicting_encoders() 149 if (!encoder_mask) in handle_conflicting_encoders() 171 if (!encoder || !(encoder_mask & drm_encoder_mask(encoder))) in handle_conflicting_encoders() 227 /* Unset the encoder_mask in the old crtc state. */ in set_best_encoder() 240 crtc_state->encoder_mask &= in set_best_encoder() 251 crtc_state->encoder_mask |= in set_best_encoder()
|
H A D | drm_atomic.c | 454 drm_printf(p, "\tencoder_mask=%x\n", state->encoder_mask); in drm_atomic_crtc_print_state()
|
/linux/include/drm/ |
H A D | drm_encoder.h | 332 #define drm_for_each_encoder_mask(encoder, dev, encoder_mask) \ argument 334 for_each_if ((encoder_mask) & drm_encoder_mask(encoder))
|
H A D | drm_crtc.h | 207 u32 encoder_mask; member
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display.h | 294 #define for_each_intel_encoder_mask(dev, intel_encoder, encoder_mask) \ argument 298 for_each_if((encoder_mask) & \ 301 #define for_each_intel_encoder_mask_with_psr(dev, intel_encoder, encoder_mask) \ argument 303 for_each_if(((encoder_mask) & drm_encoder_mask(&(intel_encoder)->base)) && \
|
H A D | intel_psr.c | 2280 crtc_state->uapi.encoder_mask) { in psr2_man_trk_ctl_calc() 2673 old_crtc_state->uapi.encoder_mask) { in intel_psr_post_plane_update() 2719 crtc_state->uapi.encoder_mask) { in _psr2_ready_for_pipe_update_locked() 2810 new_crtc_state->uapi.encoder_mask) { in __psr_wait_for_idle_locked() 3442 crtc_state->uapi.encoder_mask) { in psr_source_status() 3465 crtc_state->uapi.encoder_mask) { in psr_source_status()
|
H A D | intel_modeset_setup.c | 814 crtc_state->uapi.encoder_mask |= in intel_modeset_readout_hw_state()
|
H A D | intel_hdmi.c | 2272 return crtc_state->uapi.encoder_mask && in source_supports_scrambling() 2273 !is_power_of_2(crtc_state->uapi.encoder_mask); in source_supports_scrambling()
|
H A D | intel_display_debugfs.c | 589 crtc_state->uapi.encoder_mask) in intel_crtc_info()
|
H A D | intel_display.c | 2046 crtc_state->uapi.encoder_mask) { in get_crtc_power_domains() 8229 crtc_state->uapi.encoder_mask) { in intel_initial_commit()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_trace.h | 183 __field(u32, encoder_mask) 205 __entry->encoder_mask = state->encoder_mask; 221 __entry->encoder_mask)
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_crtc.c | 667 unsigned int encoder_mask = crtc_state->encoder_mask; in mtk_crtc_disable_vblank() 679 crtc_state->connectors_changed, encoder_mask, crtc_index); in mtk_crtc_update_output() 686 (encoder_mask & BIT(comp->encoder_index))) { in mtk_crtc_update_output() 678 unsigned int encoder_mask = crtc_state->encoder_mask; mtk_crtc_update_output() local
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | atom.h | 167 atom->state.encoder_mask) in nv50_head_atom_get_encoder()
|
H A D | disp.c | 461 if (crtc_state->encoder_mask & mask) in nv50_outp_get_new_crtc() 2690 const u32 encoder_mask = drm_encoder_mask(&outp->base.base); in nv50_display_read_hw_or_state() 2744 armh->state.encoder_mask = encoder_mask; in nv50_display_read_hw_or_state() 2695 const u32 encoder_mask = drm_encoder_mask(&outp->base.base); nv50_display_read_hw_or_state() local
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_crtc.c | 298 WARN_ON(hweight32(state->encoder_mask) > 1); in vc4_get_crtc_encoder() 300 drm_for_each_encoder_mask(encoder, crtc->dev, state->encoder_mask) in vc4_get_crtc_encoder()
|
/linux/drivers/gpu/drm/sprd/ |
H A D | sprd_dpu.c | 626 crtc->state->encoder_mask) { in sprd_crtc_mode_set_nofb()
|
/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_crtc.c | 707 crtc_state->encoder_mask) { in rcar_du_crtc_atomic_check()
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 1979 drm_for_each_encoder_mask(encoder, crtc->dev, crtc_state->encoder_mask) { in vop2_crtc_atomic_enable()
|