Home
last modified time | relevance | path

Searched refs:new_dbuf_state (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
H A Dskl_watermark.c653 struct intel_dbuf_state *new_dbuf_state = in skl_crtc_allocate_ddb() local
664 if (new_dbuf_state->weight[pipe] == 0) { in skl_crtc_allocate_ddb()
665 skl_ddb_entry_init(&new_dbuf_state->ddb[pipe], 0, 0); in skl_crtc_allocate_ddb()
669 dbuf_slice_mask = new_dbuf_state->slices[pipe]; in skl_crtc_allocate_ddb()
675 intel_crtc_dbuf_weights(new_dbuf_state, pipe, in skl_crtc_allocate_ddb()
681 skl_ddb_entry_init(&new_dbuf_state->ddb[pipe], in skl_crtc_allocate_ddb()
686 if (old_dbuf_state->slices[pipe] == new_dbuf_state->slices[pipe] && in skl_crtc_allocate_ddb()
688 &new_dbuf_state->ddb[pipe])) in skl_crtc_allocate_ddb()
691 ret = intel_atomic_lock_global_state(&new_dbuf_state->base); in skl_crtc_allocate_ddb()
703 crtc_state->wm.skl.ddb.start = mbus_offset + new_dbuf_state->ddb[pipe].start; in skl_crtc_allocate_ddb()
[all …]
H A Dintel_pmdemand.c265 const struct intel_dbuf_state *new_dbuf_state, *old_dbuf_state; in intel_pmdemand_needs_update() local
275 new_dbuf_state = intel_atomic_get_new_dbuf_state(state); in intel_pmdemand_needs_update()
277 if (new_dbuf_state && in intel_pmdemand_needs_update()
278 new_dbuf_state->active_pipes != old_dbuf_state->active_pipes) in intel_pmdemand_needs_update()
282 if (new_dbuf_state && in intel_pmdemand_needs_update()
283 new_dbuf_state->enabled_slices != in intel_pmdemand_needs_update()
310 const struct intel_dbuf_state *new_dbuf_state; in intel_pmdemand_atomic_check() local
331 new_dbuf_state = intel_atomic_get_dbuf_state(state); in intel_pmdemand_atomic_check()
332 if (IS_ERR(new_dbuf_state)) in intel_pmdemand_atomic_check()
333 return PTR_ERR(new_dbuf_state); in intel_pmdemand_atomic_check()
[all …]