Lines Matching full:plane

119 	struct drm_plane *plane;  in drm_simple_kms_crtc_enable()  local
126 plane = &pipe->plane; in drm_simple_kms_crtc_enable()
127 pipe->funcs->enable(pipe, crtc->state, plane->state); in drm_simple_kms_crtc_enable()
215 static int drm_simple_kms_plane_atomic_check(struct drm_plane *plane, in drm_simple_kms_plane_atomic_check() argument
219 plane); in drm_simple_kms_plane_atomic_check()
224 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_check()
244 static void drm_simple_kms_plane_atomic_update(struct drm_plane *plane, in drm_simple_kms_plane_atomic_update() argument
248 plane); in drm_simple_kms_plane_atomic_update()
251 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_update()
258 static int drm_simple_kms_plane_prepare_fb(struct drm_plane *plane, in drm_simple_kms_plane_prepare_fb() argument
263 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_prepare_fb()
265 if (WARN_ON_ONCE(!drm_core_check_feature(plane->dev, DRIVER_GEM))) in drm_simple_kms_plane_prepare_fb()
270 return drm_gem_plane_helper_prepare_fb(plane, state); in drm_simple_kms_plane_prepare_fb()
276 static void drm_simple_kms_plane_cleanup_fb(struct drm_plane *plane, in drm_simple_kms_plane_cleanup_fb() argument
281 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_cleanup_fb()
288 static int drm_simple_kms_plane_begin_fb_access(struct drm_plane *plane, in drm_simple_kms_plane_begin_fb_access() argument
293 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_begin_fb_access()
300 static void drm_simple_kms_plane_end_fb_access(struct drm_plane *plane, in drm_simple_kms_plane_end_fb_access() argument
305 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_end_fb_access()
312 static bool drm_simple_kms_format_mod_supported(struct drm_plane *plane, in drm_simple_kms_format_mod_supported() argument
328 static void drm_simple_kms_plane_reset(struct drm_plane *plane) in drm_simple_kms_plane_reset() argument
332 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_reset()
334 return drm_atomic_helper_plane_reset(plane); in drm_simple_kms_plane_reset()
339 static struct drm_plane_state *drm_simple_kms_plane_duplicate_state(struct drm_plane *plane) in drm_simple_kms_plane_duplicate_state() argument
343 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_duplicate_state()
345 return drm_atomic_helper_plane_duplicate_state(plane); in drm_simple_kms_plane_duplicate_state()
350 static void drm_simple_kms_plane_destroy_state(struct drm_plane *plane, in drm_simple_kms_plane_destroy_state() argument
355 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_destroy_state()
357 drm_atomic_helper_plane_destroy_state(plane, state); in drm_simple_kms_plane_destroy_state()
404 * plane-crtc-encoder pipe.
425 struct drm_plane *plane = &pipe->plane; in drm_simple_display_pipe_init() local
432 drm_plane_helper_add(plane, &drm_simple_kms_plane_helper_funcs); in drm_simple_display_pipe_init()
433 ret = drm_universal_plane_init(dev, plane, 0, in drm_simple_display_pipe_init()
442 ret = drm_crtc_init_with_planes(dev, crtc, plane, NULL, in drm_simple_display_pipe_init()