Lines Matching refs:lbm
278 memset(&vc4_state->lbm, 0, sizeof(vc4_state->lbm)); in vc4_plane_duplicate_state()
303 if (drm_mm_node_allocated(&vc4_state->lbm)) { in vc4_plane_destroy_state()
307 drm_mm_remove_node(&vc4_state->lbm); in vc4_plane_destroy_state()
555 u32 lbm; in vc4_lbm_size() local
576 lbm = pix_per_line * 8; in vc4_lbm_size()
579 lbm = pix_per_line * 16; in vc4_lbm_size()
586 lbm = pix_per_line * 16; in vc4_lbm_size()
590 lbm = roundup(lbm, vc4->is_vc5 ? 128 : 64); in vc4_lbm_size()
593 lbm /= vc4->is_vc5 ? 4 : 2; in vc4_lbm_size()
595 return lbm; in vc4_lbm_size()
702 if (!drm_mm_node_allocated(&vc4_state->lbm)) { in vc4_plane_allocate_lbm()
707 &vc4_state->lbm, in vc4_plane_allocate_lbm()
716 WARN_ON_ONCE(lbm_size != vc4_state->lbm.size); in vc4_plane_allocate_lbm()
719 vc4_state->dlist[vc4_state->lbm_offset] = vc4_state->lbm.start; in vc4_plane_allocate_lbm()