Lines Matching defs:bw_state
338 void intel_bw_crtc_update(struct intel_bw_state *bw_state,
343 bw_state->data_rate[crtc->pipe] =
345 bw_state->num_active_planes[crtc->pipe] =
350 bw_state->data_rate[crtc->pipe],
351 bw_state->num_active_planes[crtc->pipe]);
355 const struct intel_bw_state *bw_state)
361 num_active_planes += bw_state->num_active_planes[pipe];
367 const struct intel_bw_state *bw_state)
373 data_rate += bw_state->data_rate[pipe];
382 struct drm_private_state *bw_state;
384 bw_state = drm_atomic_get_private_obj_state(&state->base,
386 if (IS_ERR(bw_state))
387 return ERR_CAST(bw_state);
389 return to_intel_bw_state(bw_state);
396 struct intel_bw_state *bw_state = NULL;
425 bw_state = intel_atomic_get_bw_state(state);
426 if (IS_ERR(bw_state))
427 return PTR_ERR(bw_state);
429 bw_state->data_rate[crtc->pipe] = new_data_rate;
430 bw_state->num_active_planes[crtc->pipe] = new_active_planes;
434 bw_state->data_rate[crtc->pipe],
435 bw_state->num_active_planes[crtc->pipe]);
438 if (!bw_state)
441 data_rate = intel_bw_data_rate(dev_priv, bw_state);
442 num_active_planes = intel_bw_num_active_planes(dev_priv, bw_state);