Lines Matching refs:plane_config
58 struct intel_initial_plane_config *plane_config) in initial_plane_bo() argument
66 if (plane_config->size == 0) in initial_plane_bo()
71 base = round_down(plane_config->base, page_size); in initial_plane_bo()
119 plane_config->size * 2 >> PAGE_SHIFT >= stolen->size) in initial_plane_bo()
123 size = round_up(plane_config->base + plane_config->size, in initial_plane_bo()
141 struct intel_initial_plane_config *plane_config) in intel_alloc_initial_plane_obj() argument
145 struct drm_framebuffer *fb = &plane_config->fb->base; in intel_alloc_initial_plane_obj()
168 bo = initial_plane_bo(xe, plane_config); in intel_alloc_initial_plane_obj()
191 struct intel_initial_plane_config *plane_config = in intel_find_initial_plane_obj() local
207 if (!plane_config->fb) in intel_find_initial_plane_obj()
210 if (intel_alloc_initial_plane_obj(crtc, plane_config)) in intel_find_initial_plane_obj()
211 fb = &plane_config->fb->base; in intel_find_initial_plane_obj()
215 plane_state->uapi.rotation = plane_config->rotation; in intel_find_initial_plane_obj()
243 plane_config->vma = vma; in intel_find_initial_plane_obj()
265 static void plane_config_fini(struct intel_initial_plane_config *plane_config) in plane_config_fini() argument
267 if (plane_config->fb) { in plane_config_fini()
268 struct drm_framebuffer *fb = &plane_config->fb->base; in plane_config_fini()
284 struct intel_initial_plane_config *plane_config = in intel_initial_plane_config() local
297 i915->display.funcs.display->get_initial_plane_config(crtc, plane_config); in intel_initial_plane_config()
305 if (i915->display.funcs.display->fixup_initial_plane_config(crtc, plane_config)) in intel_initial_plane_config()
308 plane_config_fini(plane_config); in intel_initial_plane_config()