Lines Matching refs:active_planes
1387 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in g4x_compute_pipe_wm() local
1427 wm_state->cxsr = active_planes == BIT(PLANE_PRIMARY); in g4x_compute_pipe_wm()
1705 static bool vlv_need_sprite0_fifo_workaround(unsigned int active_planes) in vlv_need_sprite0_fifo_workaround() argument
1707 return (active_planes & (BIT(PLANE_SPRITE0) | in vlv_need_sprite0_fifo_workaround()
1718 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_compute_fifo() local
1719 int num_active_planes = hweight8(active_planes); in vlv_compute_fifo()
1734 if (vlv_need_sprite0_fifo_workaround(active_planes)) in vlv_compute_fifo()
1751 if ((active_planes & BIT(plane_id)) == 0) { in vlv_compute_fifo()
1775 if ((active_planes & BIT(plane_id)) == 0) in vlv_compute_fifo()
1783 drm_WARN_ON(&dev_priv->drm, active_planes != 0 && fifo_left != 0); in vlv_compute_fifo()
1786 if (active_planes == 0) { in vlv_compute_fifo()
1910 u8 active_planes = crtc_state->active_planes & ~BIT(PLANE_CURSOR); in vlv_compute_pipe_wm() local
1911 int num_active_planes = hweight8(active_planes); in vlv_compute_pipe_wm()