Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/vkms/
A Dvkms_crtc.c145 kfree(vkms_state->active_planes); in vkms_atomic_crtc_destroy_state()
187 if (vkms_state->active_planes) in vkms_crtc_atomic_check()
205 vkms_state->active_planes = kcalloc(i, sizeof(plane), GFP_KERNEL); in vkms_crtc_atomic_check()
206 if (!vkms_state->active_planes) in vkms_crtc_atomic_check()
218 vkms_state->active_planes[i++] = in vkms_crtc_atomic_check()
A Dvkms_composer.c87 struct vkms_plane_state **plane = crtc_state->active_planes; in blend()
117 struct vkms_plane_state **planes = crtc_state->active_planes; in check_format_funcs()
132 struct vkms_plane_state **plane_state = crtc_state->active_planes; in check_iosys_map()
A Dvkms_drv.h80 struct vkms_plane_state **active_planes; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_crtc.c248 state->active_planes = cur->active_planes; in dm_crtc_duplicate_state()
353 dm_new_crtc_state->active_planes = 0; in dm_update_crtc_active_planes()
358 dm_new_crtc_state->active_planes = in dm_update_crtc_active_planes()
A Damdgpu_dm_irq_params.h35 int active_planes; member
A Damdgpu_dm.h718 int active_planes; member
A Damdgpu_dm.c538 vrr_active, acrtc->dm_irq_params.active_planes); in dm_crtc_high_irq()
585 acrtc->dm_irq_params.active_planes == 0) { in dm_crtc_high_irq()
7829 acrtc->dm_irq_params.active_planes = new_crtc_state->active_planes; in update_stream_irq_parameters()
7923 if (acrtc_state->active_planes == 0) in amdgpu_dm_commit_planes()
8103 acrtc_state->active_planes > 0) { in amdgpu_dm_commit_planes()
8119 } else if (cursor_update && acrtc_state->active_planes > 0 && in amdgpu_dm_commit_planes()
8132 if ((planes_count || acrtc_state->active_planes == 0) && in amdgpu_dm_commit_planes()
8201 if (dm_old_crtc_state->active_planes != acrtc_state->active_planes) in amdgpu_dm_commit_planes()
8251 if (acrtc_state->active_planes) in amdgpu_dm_commit_planes()
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dhsw_ips.c27 !(crtc_state->active_planes & ~BIT(PLANE_CURSOR))); in hsw_ips_enable()
231 if (!(crtc_state->active_planes & ~BIT(PLANE_CURSOR))) in hsw_ips_compute_config()
A Dintel_bw.h21 u8 active_planes[I915_MAX_DBUF_SLICES]; member
A Dintel_sprite.c241 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_plane_ratio() local
251 if (hweight8(active_planes) == 3) { in vlv_plane_ratio()
266 } else if (hweight8(active_planes) == 2) { in vlv_plane_ratio()
534 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in ivb_plane_ratio() local
538 if (hweight8(active_planes) == 2) { in ivb_plane_ratio()
648 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in hsw_plane_ratio() local
652 if (hweight8(active_planes) == 2) { in hsw_plane_ratio()
A Dintel_bw.c652 return hweight8(crtc_state->active_planes & ~BIT(PLANE_CURSOR)); in intel_bw_crtc_num_active_planes()
785 old_crtc_bw->active_planes[slice] != new_crtc_bw->active_planes[slice]) in intel_bw_state_changed()
813 crtc_bw->active_planes[slice] |= BIT(plane_id); in skl_plane_calc_dbuf_bw()
870 num_active_planes += hweight8(crtc_bw->active_planes[slice]); in intel_bw_dbuf_min_cdclk()
A Dintel_display.c287 return (crtc_state->active_planes & in is_hdr_mode()
726 crtc_state->active_planes = 0; in intel_plane_fixup_bitmasks()
1132 crtc_state->active_planes & BIT(PLANE_CURSOR) && in needs_cursorclk_wa()
1170 new_crtc_state->active_planes; in planes_enabling()
1176 return old_crtc_state->active_planes && in planes_disabling()
4612 crtc_state->active_planes &= ~BIT(plane->id); in icl_check_nv12_planes()
4635 if (crtc_state->active_planes & BIT(linked->id)) in icl_check_nv12_planes()
4658 crtc_state->active_planes |= BIT(linked->id); in icl_check_nv12_planes()
5784 if (current_config->active_planes) { in intel_pipe_config_compare()
5945 crtc_state->update_planes |= crtc_state->active_planes; in intel_modeset_all_pipes()
[all …]
A Dintel_cursor.c714 crtc_state->active_planes = new_crtc_state->active_planes; in intel_legacy_cursor_update()
A Dintel_atomic_plane.c362 crtc_state->active_planes &= ~BIT(plane->id); in intel_plane_set_invisible()
615 new_crtc_state->active_planes |= BIT(plane->id); in intel_plane_atomic_check_with_state()
A Dintel_psr.c1937 needs_to_disable |= !new_crtc_state->active_planes; in intel_psr_pre_plane_update()
1966 drm_WARN_ON(&dev_priv->drm, psr->enabled && !crtc_state->active_planes); in _intel_psr_post_plane_update()
1969 if (!psr->enabled && crtc_state->active_planes) in _intel_psr_post_plane_update()
A Dintel_display_types.h1244 u8 active_planes; member
A Dintel_color.c1468 return crtc_state->active_planes & BIT(plane->id) || in need_plane_update()
A Dskl_watermark.c2989 drm_WARN_ON(&i915->drm, crtc_state->active_planes != 0); in skl_wm_sanitize()
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Dintel_pm.c1332 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in _g4x_compute_pipe_wm() local
1354 wm_state->cxsr = active_planes == BIT(PLANE_PRIMARY); in _g4x_compute_pipe_wm()
1662 return (active_planes & (BIT(PLANE_SPRITE0) | in vlv_need_sprite0_fifo_workaround()
1673 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_compute_fifo() local
1674 int num_active_planes = hweight8(active_planes); in vlv_compute_fifo()
1689 if (vlv_need_sprite0_fifo_workaround(active_planes)) in vlv_compute_fifo()
1706 if ((active_planes & BIT(plane_id)) == 0) { in vlv_compute_fifo()
1730 if ((active_planes & BIT(plane_id)) == 0) in vlv_compute_fifo()
1741 if (active_planes == 0) { in vlv_compute_fifo()
1863 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in _vlv_compute_pipe_wm() local
[all …]

Completed in 88 milliseconds