Searched refs:active_planes (Results 1 – 19 of 19) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/vkms/ |
D | vkms_crtc.c | 145 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()
|
D | vkms_composer.c | 178 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()
|
D | vkms_drv.h | 88 struct vkms_plane_state **active_planes; member
|
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_crtc.c | 256 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()
|
D | amdgpu_dm_irq_params.h | 35 int active_planes; member
|
D | amdgpu_dm.h | 734 int active_planes; member
|
D | amdgpu_dm.c | 586 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/ |
D | intel_sprite.c | 176 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()
|
D | intel_bw.h | 21 u8 active_planes[I915_MAX_DBUF_SLICES]; member
|
D | hsw_ips.c | 28 !(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()
|
D | intel_bw.c | 688 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()
|
D | i9xx_wm.c | 1109 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 …]
|
D | intel_display.c | 186 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 …]
|
D | intel_cursor.c | 714 crtc_state->active_planes = new_crtc_state->active_planes; in intel_legacy_cursor_update()
|
D | intel_atomic_plane.c | 367 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()
|
D | intel_psr.c | 2182 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()
|
D | intel_display_types.h | 1296 u8 active_planes; member
|
D | intel_color.c | 1928 return crtc_state->active_planes & BIT(plane->id) || in need_plane_update()
|
D | skl_watermark.c | 3123 drm_WARN_ON(&i915->drm, crtc_state->active_planes != 0); in skl_wm_sanitize()
|