Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/vkms/
Dvkms_crtc.c145 kfree(vkms_state->active_planes); in vkms_atomic_crtc_destroy_state()
186 if (vkms_state->active_planes) in vkms_crtc_atomic_check()
204 vkms_state->active_planes = kcalloc(i, sizeof(plane), GFP_KERNEL); in vkms_crtc_atomic_check()
205 if (!vkms_state->active_planes) in vkms_crtc_atomic_check()
217 vkms_state->active_planes[i++] = in vkms_crtc_atomic_check()
Dvkms_composer.c178 struct vkms_plane_state **plane = crtc_state->active_planes; in blend()
213 struct vkms_plane_state **planes = crtc_state->active_planes; in check_format_funcs()
228 struct vkms_plane_state **plane_state = crtc_state->active_planes; in check_iosys_map()
Dvkms_drv.h88 struct vkms_plane_state **active_planes; member
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crtc.c256 state->active_planes = cur->active_planes; in dm_crtc_duplicate_state()
361 dm_new_crtc_state->active_planes = 0; in dm_update_crtc_active_planes()
366 dm_new_crtc_state->active_planes = in dm_update_crtc_active_planes()
Damdgpu_dm_irq_params.h35 int active_planes; member
Damdgpu_dm.h734 int active_planes; member
Damdgpu_dm.c586 vrr_active, acrtc->dm_irq_params.active_planes); in dm_crtc_high_irq()
633 acrtc->dm_irq_params.active_planes == 0) { in dm_crtc_high_irq()
7979 acrtc->dm_irq_params.active_planes = new_crtc_state->active_planes; in update_stream_irq_parameters()
8079 if (acrtc_state->active_planes == 0) in amdgpu_dm_commit_planes()
8273 acrtc_state->active_planes > 0) { in amdgpu_dm_commit_planes()
8289 } else if (cursor_update && acrtc_state->active_planes > 0 && in amdgpu_dm_commit_planes()
8302 if ((planes_count || acrtc_state->active_planes == 0) && in amdgpu_dm_commit_planes()
8373 if (dm_old_crtc_state->active_planes != acrtc_state->active_planes) in amdgpu_dm_commit_planes()
8423 if (acrtc_state->active_planes) in amdgpu_dm_commit_planes()
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_sprite.c176 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_plane_ratio() local
186 if (hweight8(active_planes) == 3) { in vlv_plane_ratio()
201 } else if (hweight8(active_planes) == 2) { in vlv_plane_ratio()
469 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in ivb_plane_ratio() local
473 if (hweight8(active_planes) == 2) { in ivb_plane_ratio()
583 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in hsw_plane_ratio() local
587 if (hweight8(active_planes) == 2) { in hsw_plane_ratio()
Dintel_bw.h21 u8 active_planes[I915_MAX_DBUF_SLICES]; member
Dhsw_ips.c28 !(crtc_state->active_planes & ~BIT(PLANE_CURSOR))); in hsw_ips_enable()
237 if (!(crtc_state->active_planes & ~BIT(PLANE_CURSOR))) in hsw_ips_compute_config()
Dintel_bw.c688 return hweight8(crtc_state->active_planes & ~BIT(PLANE_CURSOR)); in intel_bw_crtc_num_active_planes()
1025 old_crtc_bw->active_planes[slice] != new_crtc_bw->active_planes[slice]) in intel_bw_state_changed()
1053 crtc_bw->active_planes[slice] |= BIT(plane_id); in skl_plane_calc_dbuf_bw()
1110 num_active_planes += hweight8(crtc_bw->active_planes[slice]); in intel_bw_dbuf_min_cdclk()
Di9xx_wm.c1109 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in _g4x_compute_pipe_wm() local
1131 wm_state->cxsr = active_planes == BIT(PLANE_PRIMARY); in _g4x_compute_pipe_wm()
1437 static bool vlv_need_sprite0_fifo_workaround(unsigned int active_planes) in vlv_need_sprite0_fifo_workaround() argument
1439 return (active_planes & (BIT(PLANE_SPRITE0) | in vlv_need_sprite0_fifo_workaround()
1450 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_compute_fifo() local
1451 int num_active_planes = hweight8(active_planes); in vlv_compute_fifo()
1466 if (vlv_need_sprite0_fifo_workaround(active_planes)) in vlv_compute_fifo()
1483 if ((active_planes & BIT(plane_id)) == 0) { in vlv_compute_fifo()
1507 if ((active_planes & BIT(plane_id)) == 0) in vlv_compute_fifo()
1515 drm_WARN_ON(&dev_priv->drm, active_planes != 0 && fifo_left != 0); in vlv_compute_fifo()
[all …]
Dintel_display.c186 return (crtc_state->active_planes & in is_hdr_mode()
624 crtc_state->active_planes = 0; in intel_plane_fixup_bitmasks()
629 crtc_state->active_planes |= BIT(to_intel_plane(plane)->id); in intel_plane_fixup_bitmasks()
655 if ((crtc_state->active_planes & ~BIT(PLANE_CURSOR)) == 0 && in intel_plane_disable_noatomic()
678 if (DISPLAY_VER(dev_priv) == 2 && !crtc_state->active_planes) in intel_plane_disable_noatomic()
863 crtc_state->active_planes & BIT(PLANE_CURSOR) && in needs_cursorclk_wa()
907 return is_enabling(active_planes, old_crtc_state, new_crtc_state); in planes_enabling()
913 return is_disabling(active_planes, old_crtc_state, new_crtc_state); in planes_disabling()
4088 crtc_state->active_planes &= ~BIT(plane->id); in icl_check_nv12_planes()
4111 if (crtc_state->active_planes & BIT(linked->id)) in icl_check_nv12_planes()
[all …]
Dintel_cursor.c714 crtc_state->active_planes = new_crtc_state->active_planes; in intel_legacy_cursor_update()
Dintel_atomic_plane.c367 crtc_state->active_planes &= ~BIT(plane->id); in intel_plane_set_invisible()
623 new_crtc_state->active_planes |= BIT(plane->id); in intel_plane_atomic_check_with_state()
Dintel_psr.c2182 needs_to_disable |= !new_crtc_state->active_planes; in intel_psr_pre_plane_update()
2214 drm_WARN_ON(&dev_priv->drm, psr->enabled && !crtc_state->active_planes); in _intel_psr_post_plane_update()
2217 keep_disabled |= !crtc_state->active_planes; in _intel_psr_post_plane_update()
Dintel_display_types.h1296 u8 active_planes; member
Dintel_color.c1928 return crtc_state->active_planes & BIT(plane->id) || in need_plane_update()
Dskl_watermark.c3123 drm_WARN_ON(&i915->drm, crtc_state->active_planes != 0); in skl_wm_sanitize()