Home
last modified time | relevance | path

Searched refs:active_planes (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
H A Dintel_sprite.c182 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_plane_ratio() local
192 if (hweight8(active_planes) == 3) { in vlv_plane_ratio()
207 } else if (hweight8(active_planes) == 2) { in vlv_plane_ratio()
495 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in ivb_plane_ratio() local
499 if (hweight8(active_planes) == 2) { in ivb_plane_ratio()
609 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in hsw_plane_ratio() local
613 if (hweight8(active_planes) == 2) { in hsw_plane_ratio()
H A Dintel_bw.h21 u8 active_planes[I915_MAX_DBUF_SLICES]; member
H A Di9xx_wm.c1196 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in _g4x_compute_pipe_wm() local
1218 wm_state->cxsr = active_planes == BIT(PLANE_PRIMARY); in _g4x_compute_pipe_wm()
1540 static bool vlv_need_sprite0_fifo_workaround(unsigned int active_planes) in vlv_need_sprite0_fifo_workaround() argument
1542 return (active_planes & (BIT(PLANE_SPRITE0) | in vlv_need_sprite0_fifo_workaround()
1553 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_compute_fifo() local
1554 int num_active_planes = hweight8(active_planes); in vlv_compute_fifo()
1569 if (vlv_need_sprite0_fifo_workaround(active_planes)) in vlv_compute_fifo()
1586 if ((active_planes & BIT(plane_id)) == 0) { in vlv_compute_fifo()
1610 if ((active_planes & BIT(plane_id)) == 0) in vlv_compute_fifo()
1618 drm_WARN_ON(&dev_priv->drm, active_planes != 0 && fifo_left != 0); in vlv_compute_fifo()
[all …]
H A Dintel_display.c199 return (crtc_state->active_planes & in is_hdr_mode()
764 crtc_state->active_planes = 0; in intel_plane_fixup_bitmasks()
769 crtc_state->active_planes |= BIT(to_intel_plane(plane)->id); in intel_plane_fixup_bitmasks()
795 if ((crtc_state->active_planes & ~BIT(PLANE_CURSOR)) == 0 && in intel_plane_disable_noatomic()
818 if (DISPLAY_VER(dev_priv) == 2 && !crtc_state->active_planes) in intel_plane_disable_noatomic()
1003 crtc_state->active_planes & BIT(PLANE_CURSOR) && in needs_cursorclk_wa()
1092 return is_enabling(active_planes, old_crtc_state, new_crtc_state); in planes_enabling()
1101 return is_disabling(active_planes, old_crtc_state, new_crtc_state); in planes_disabling()
4384 crtc_state->active_planes &= ~BIT(plane->id); in icl_check_nv12_planes()
4407 if (crtc_state->active_planes & BIT(linked->id)) in icl_check_nv12_planes()
[all …]
H A Dintel_psr.c2809 needs_to_disable |= !new_crtc_state->active_planes; in intel_psr_pre_plane_update()
2846 psr->enabled && !crtc_state->active_planes); in intel_psr_post_plane_update()
2849 keep_disabled |= !crtc_state->active_planes; in intel_psr_post_plane_update()
H A Dintel_display_types.h1178 u8 active_planes; member
H A Dskl_watermark.c3113 drm_WARN_ON(&i915->drm, crtc_state->active_planes != 0); in skl_wm_sanitize()
H A Dintel_color.c2115 return crtc_state->active_planes & BIT(plane->id) || in need_plane_update()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_irq_params.h35 int active_planes; member
H A Damdgpu_dm_crtc.c428 state->active_planes = cur->active_planes; in amdgpu_dm_crtc_duplicate_state()
603 dm_new_crtc_state->active_planes = 0; in amdgpu_dm_crtc_update_crtc_active_planes()
608 dm_new_crtc_state->active_planes = in amdgpu_dm_crtc_update_crtc_active_planes()
H A Damdgpu_dm.h875 int active_planes; member
H A Damdgpu_dm.c641 vrr_active, acrtc->dm_irq_params.active_planes); in dm_crtc_high_irq()
688 acrtc->dm_irq_params.active_planes == 0) { in dm_crtc_high_irq()
8762 acrtc->dm_irq_params.active_planes = new_crtc_state->active_planes; in update_stream_irq_parameters()
9000 if (acrtc_state->active_planes == 0 && in amdgpu_dm_commit_planes()
9205 acrtc_state->active_planes > 0) { in amdgpu_dm_commit_planes()
9221 } else if (cursor_update && acrtc_state->active_planes > 0) { in amdgpu_dm_commit_planes()
9232 if ((planes_count || acrtc_state->active_planes == 0) && in amdgpu_dm_commit_planes()
9311 if (dm_old_crtc_state->active_planes != acrtc_state->active_planes) in amdgpu_dm_commit_planes()
9324 if (acrtc_state->active_planes && in amdgpu_dm_commit_planes()
/linux/drivers/gpu/drm/vkms/
H A Dvkms_drv.h112 struct vkms_plane_state **active_planes; member