Searched refs:new_dbuf_state (Results 1 – 2 of 2) sorted by relevance
270 const struct intel_dbuf_state *new_dbuf_state, *old_dbuf_state; in intel_pmdemand_needs_update() local280 new_dbuf_state = intel_atomic_get_new_dbuf_state(state); in intel_pmdemand_needs_update()282 if (new_dbuf_state && in intel_pmdemand_needs_update()283 (new_dbuf_state->active_pipes != in intel_pmdemand_needs_update()285 new_dbuf_state->enabled_slices != in intel_pmdemand_needs_update()311 const struct intel_dbuf_state *new_dbuf_state; in intel_pmdemand_atomic_check() local332 new_dbuf_state = intel_atomic_get_dbuf_state(state); in intel_pmdemand_atomic_check()333 if (IS_ERR(new_dbuf_state)) in intel_pmdemand_atomic_check()334 return PTR_ERR(new_dbuf_state); in intel_pmdemand_atomic_check()337 min_t(u8, hweight8(new_dbuf_state->active_pipes), 3); in intel_pmdemand_atomic_check()[all …]
634 struct intel_dbuf_state *new_dbuf_state = in skl_crtc_allocate_ddb() local645 if (new_dbuf_state->weight[pipe] == 0) { in skl_crtc_allocate_ddb()646 skl_ddb_entry_init(&new_dbuf_state->ddb[pipe], 0, 0); in skl_crtc_allocate_ddb()650 dbuf_slice_mask = new_dbuf_state->slices[pipe]; in skl_crtc_allocate_ddb()656 intel_crtc_dbuf_weights(new_dbuf_state, pipe, in skl_crtc_allocate_ddb()662 skl_ddb_entry_init(&new_dbuf_state->ddb[pipe], in skl_crtc_allocate_ddb()667 if (old_dbuf_state->slices[pipe] == new_dbuf_state->slices[pipe] && in skl_crtc_allocate_ddb()669 &new_dbuf_state->ddb[pipe])) in skl_crtc_allocate_ddb()672 ret = intel_atomic_lock_global_state(&new_dbuf_state->base); in skl_crtc_allocate_ddb()684 crtc_state->wm.skl.ddb.start = mbus_offset + new_dbuf_state->ddb[pipe].start; in skl_crtc_allocate_ddb()[all …]