Lines Matching defs:ddb
3131 /* LP0 watermarks always use 1/2 DDB partitioning */
3880 struct skl_ddb_allocation *ddb)
3903 ddb
3905 ddb->enabled_slices = 1;
3916 struct skl_ddb_allocation *ddb,
3942 *num_active, ddb);
3957 *alloc = to_intel_crtc_state(for_crtc->state)->wm.skl.ddb;
3962 * Watermark/ddb requirement highly depends upon width of the
3963 * framebuffer, So instead of allocating DDB equally among pipes
3964 * distribute DDB based on resolution/width of the display.
4057 /* No DDB allocated for disabled planes */
4104 struct skl_ddb_allocation *ddb /* out */)
4106 ddb->enabled_slices = intel_enabled_dbuf_slices_num(dev_priv);
4284 struct skl_ddb_allocation *ddb /* out */)
4290 struct skl_ddb_entry *alloc = &crtc_state->wm.skl.ddb;
4326 ddb, alloc, &num_active);
4372 "Requested display configuration exceeds system DDB limitations");
4420 /* Set the actual DDB start/end points for each plane */
4461 * they exceed the ddb allocation of said plane. This
4490 * don't have enough DDB blocks for it.
4789 * Assumption in DDB algorithm optimization for special
4827 * DDB allocation if it turns out we don't actually have enough
4832 /* Bspec says: value >= plane ddb allocation -> invalid, hence the +1 here */
4926 * computing the DDB we'll come back and disable it if that
5137 const struct skl_ddb_entry *ddb =
5146 skl_ddb_entry_write(dev_priv, CUR_BUF_CFG(pipe), ddb);
5196 bool skl_ddb_allocation_overlaps(const struct skl_ddb_entry *ddb,
5204 skl_ddb_entries_overlap(ddb, &entries[i]))
5244 struct skl_ddb_allocation *ddb = &state->wm_results.ddb;
5250 memcpy(ddb, &dev_priv->wm.skl_hw.ddb, sizeof(*ddb));
5254 ret = skl_allocate_pipe_ddb(new_crtc_state, ddb);
5303 "[PLANE:%d:%s] ddb (%4d - %4d) -> (%4d - %4d), size %4d -> %4d\n",
5415 * we can't trust the DDB that the BIOS programmed for us. Let's
5417 * ensure a full DDB recompute.
5439 * recompute the DDB allocation for *all* active pipes, even
5444 * become invalid if its DDB needs exceeds its new allocation.
5446 * Note that if we wind up doing a full DDB recompute, we can't let
5474 * deallocate the cursor ddb until the pipe gets disabled. So we must
5731 struct skl_ddb_allocation *ddb = &dev_priv->wm.skl_hw.ddb;
5735 skl_ddb_get_hw_state(dev_priv, ddb);
5746 /* Fully recompute DDB on first atomic commit */