Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/vkms/
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()
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()
Dvkms_drv.h80 struct vkms_plane_state **active_planes; member
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crtc.c239 state->active_planes = cur->active_planes; in dm_crtc_duplicate_state()
344 dm_new_crtc_state->active_planes = 0; in dm_update_crtc_active_planes()
349 dm_new_crtc_state->active_planes = in dm_update_crtc_active_planes()
Damdgpu_dm_irq_params.h35 int active_planes; member
Damdgpu_dm.h674 int active_planes; member
Damdgpu_dm.c544 vrr_active, acrtc->dm_irq_params.active_planes); in dm_crtc_high_irq()
591 acrtc->dm_irq_params.active_planes == 0) { in dm_crtc_high_irq()
7513 acrtc->dm_irq_params.active_planes = new_crtc_state->active_planes; in update_stream_irq_parameters()
7606 if (acrtc_state->active_planes == 0) in amdgpu_dm_commit_planes()
7764 acrtc_state->active_planes > 0) { in amdgpu_dm_commit_planes()
7780 } else if (cursor_update && acrtc_state->active_planes > 0 && in amdgpu_dm_commit_planes()
7793 if ((planes_count || acrtc_state->active_planes == 0) && in amdgpu_dm_commit_planes()
7862 if (dm_old_crtc_state->active_planes != acrtc_state->active_planes) in amdgpu_dm_commit_planes()
7906 if (acrtc_state->active_planes) in amdgpu_dm_commit_planes()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dhsw_ips.c27 !(crtc_state->active_planes & ~BIT(PLANE_CURSOR))); in hsw_ips_enable()
233 if (!(crtc_state->active_planes & ~BIT(PLANE_CURSOR))) in hsw_ips_compute_config()
Dintel_bw.h21 u8 active_planes[I915_MAX_DBUF_SLICES]; member
Dintel_sprite.c240 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_plane_ratio() local
250 if (hweight8(active_planes) == 3) { in vlv_plane_ratio()
265 } else if (hweight8(active_planes) == 2) { in vlv_plane_ratio()
533 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in ivb_plane_ratio() local
537 if (hweight8(active_planes) == 2) { in ivb_plane_ratio()
647 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in hsw_plane_ratio() local
651 if (hweight8(active_planes) == 2) { in hsw_plane_ratio()
Dintel_bw.c651 return hweight8(crtc_state->active_planes & ~BIT(PLANE_CURSOR)); in intel_bw_crtc_num_active_planes()
784 old_crtc_bw->active_planes[slice] != new_crtc_bw->active_planes[slice]) in intel_bw_state_changed()
812 crtc_bw->active_planes[slice] |= BIT(plane_id); in skl_plane_calc_dbuf_bw()
869 num_active_planes += hweight8(crtc_bw->active_planes[slice]); in intel_bw_dbuf_min_cdclk()
Dintel_display.c287 return (crtc_state->active_planes & in is_hdr_mode()
761 crtc_state->active_planes = 0; in intel_plane_fixup_bitmasks()
766 crtc_state->active_planes |= BIT(to_intel_plane(plane)->id); in intel_plane_fixup_bitmasks()
792 if ((crtc_state->active_planes & ~BIT(PLANE_CURSOR)) == 0 && in intel_plane_disable_noatomic()
815 if (DISPLAY_VER(dev_priv) == 2 && !crtc_state->active_planes) in intel_plane_disable_noatomic()
1174 crtc_state->active_planes & BIT(PLANE_CURSOR) && in needs_cursorclk_wa()
1211 return (!old_crtc_state->active_planes || intel_crtc_needs_modeset(new_crtc_state)) && in planes_enabling()
1212 new_crtc_state->active_planes; in planes_enabling()
1218 return old_crtc_state->active_planes && in planes_disabling()
1219 (!new_crtc_state->active_planes || intel_crtc_needs_modeset(new_crtc_state)); in planes_disabling()
[all …]
Dintel_cursor.c711 crtc_state->active_planes = new_crtc_state->active_planes; in intel_legacy_cursor_update()
Dintel_atomic_plane.c361 crtc_state->active_planes &= ~BIT(plane->id); in intel_plane_set_invisible()
577 new_crtc_state->active_planes |= BIT(plane->id); in intel_plane_atomic_check_with_state()
Dintel_psr.c1902 needs_to_disable |= !new_crtc_state->active_planes; in intel_psr_pre_plane_update()
1931 drm_WARN_ON(&dev_priv->drm, psr->enabled && !crtc_state->active_planes); in _intel_psr_post_plane_update()
1934 if (!psr->enabled && crtc_state->active_planes) in _intel_psr_post_plane_update()
Dintel_display_types.h1230 u8 active_planes; member
Dintel_color.c1263 return crtc_state->active_planes & BIT(plane->id) || in need_plane_update()
Dskl_watermark.c3009 drm_WARN_ON(&i915->drm, crtc_state->active_planes != 0); in skl_wm_sanitize()
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_pm.c1346 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in g4x_compute_pipe_wm() local
1386 wm_state->cxsr = active_planes == BIT(PLANE_PRIMARY); in g4x_compute_pipe_wm()
1664 static bool vlv_need_sprite0_fifo_workaround(unsigned int active_planes) in vlv_need_sprite0_fifo_workaround() argument
1666 return (active_planes & (BIT(PLANE_SPRITE0) | in vlv_need_sprite0_fifo_workaround()
1677 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_compute_fifo() local
1678 int num_active_planes = hweight8(active_planes); in vlv_compute_fifo()
1693 if (vlv_need_sprite0_fifo_workaround(active_planes)) in vlv_compute_fifo()
1710 if ((active_planes & BIT(plane_id)) == 0) { in vlv_compute_fifo()
1734 if ((active_planes & BIT(plane_id)) == 0) in vlv_compute_fifo()
1742 drm_WARN_ON(&dev_priv->drm, active_planes != 0 && fifo_left != 0); in vlv_compute_fifo()
[all …]