Lines Matching refs:plane_state
27 struct intel_plane_state *plane_state = in intel_reuse_initial_plane_obj() local
33 if (!plane_state->ggtt_vma) in intel_reuse_initial_plane_obj()
36 if (intel_plane_ggtt_offset(plane_state) == plane_config->base) { in intel_reuse_initial_plane_obj()
37 *fb = plane_state->hw.fb; in intel_reuse_initial_plane_obj()
38 *vma = plane_state->ggtt_vma; in intel_reuse_initial_plane_obj()
216 struct intel_plane_state *plane_state = in intel_find_initial_plane_obj() local
254 plane_state->uapi.rotation = plane_config->rotation; in intel_find_initial_plane_obj()
256 plane_state->uapi.rotation, &plane_state->view); in intel_find_initial_plane_obj()
259 plane_state->ggtt_vma = i915_vma_get(vma); in intel_find_initial_plane_obj()
260 if (intel_plane_uses_fence(plane_state) && in intel_find_initial_plane_obj()
262 plane_state->flags |= PLANE_HAS_FENCE; in intel_find_initial_plane_obj()
264 plane_state->uapi.src_x = 0; in intel_find_initial_plane_obj()
265 plane_state->uapi.src_y = 0; in intel_find_initial_plane_obj()
266 plane_state->uapi.src_w = fb->width << 16; in intel_find_initial_plane_obj()
267 plane_state->uapi.src_h = fb->height << 16; in intel_find_initial_plane_obj()
269 plane_state->uapi.crtc_x = 0; in intel_find_initial_plane_obj()
270 plane_state->uapi.crtc_y = 0; in intel_find_initial_plane_obj()
271 plane_state->uapi.crtc_w = fb->width; in intel_find_initial_plane_obj()
272 plane_state->uapi.crtc_h = fb->height; in intel_find_initial_plane_obj()
277 plane_state->uapi.fb = fb; in intel_find_initial_plane_obj()
280 plane_state->uapi.crtc = &crtc->base; in intel_find_initial_plane_obj()
281 intel_plane_copy_uapi_to_hw_state(plane_state, plane_state, crtc); in intel_find_initial_plane_obj()