Lines Matching refs:plane_state
223 struct drm_plane_state *plane_state) in drm_gem_simple_display_pipe_prepare_fb() argument
225 return drm_gem_plane_helper_prepare_fb(&pipe->plane, plane_state); in drm_gem_simple_display_pipe_prepare_fb()
274 struct drm_plane_state *plane_state = plane->state; in drm_gem_duplicate_shadow_plane_state() local
277 if (!plane_state) in drm_gem_duplicate_shadow_plane_state()
312 struct drm_plane_state *plane_state) in drm_gem_destroy_shadow_plane_state() argument
315 to_drm_shadow_plane_state(plane_state); in drm_gem_destroy_shadow_plane_state()
377 int drm_gem_prepare_shadow_fb(struct drm_plane *plane, struct drm_plane_state *plane_state) in drm_gem_prepare_shadow_fb() argument
379 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in drm_gem_prepare_shadow_fb()
380 struct drm_framebuffer *fb = plane_state->fb; in drm_gem_prepare_shadow_fb()
386 ret = drm_gem_plane_helper_prepare_fb(plane, plane_state); in drm_gem_prepare_shadow_fb()
404 void drm_gem_cleanup_shadow_fb(struct drm_plane *plane, struct drm_plane_state *plane_state) in drm_gem_cleanup_shadow_fb() argument
406 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in drm_gem_cleanup_shadow_fb()
407 struct drm_framebuffer *fb = plane_state->fb; in drm_gem_cleanup_shadow_fb()
432 struct drm_plane_state *plane_state) in drm_gem_simple_kms_prepare_shadow_fb() argument
434 return drm_gem_prepare_shadow_fb(&pipe->plane, plane_state); in drm_gem_simple_kms_prepare_shadow_fb()
449 struct drm_plane_state *plane_state) in drm_gem_simple_kms_cleanup_shadow_fb() argument
451 drm_gem_cleanup_shadow_fb(&pipe->plane, plane_state); in drm_gem_simple_kms_cleanup_shadow_fb()
497 struct drm_plane_state *plane_state) in drm_gem_simple_kms_destroy_shadow_plane_state() argument
499 drm_gem_destroy_shadow_plane_state(&pipe->plane, plane_state); in drm_gem_simple_kms_destroy_shadow_plane_state()