Lines Matching refs:pipe
292 * @pipe: Simple display pipe
299 enum drm_mode_status mipi_dbi_pipe_mode_valid(struct drm_simple_display_pipe *pipe,
302 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev);
304 return drm_crtc_helper_mode_valid_fixed(&pipe->crtc, mode, &dbidev->mode);
309 * mipi_dbi_pipe_update - Display pipe update helper
310 * @pipe: Simple display pipe
316 void mipi_dbi_pipe_update(struct drm_simple_display_pipe *pipe,
319 struct drm_plane_state *state = pipe->plane.state;
325 if (!pipe->crtc.state->active)
400 * mipi_dbi_pipe_disable - MIPI DBI pipe disable helper
401 * @pipe: Display pipe
407 void mipi_dbi_pipe_disable(struct drm_simple_display_pipe *pipe)
409 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev);
426 * mipi_dbi_pipe_begin_fb_access - MIPI DBI pipe begin-access helper
427 * @pipe: Display pipe
438 int mipi_dbi_pipe_begin_fb_access(struct drm_simple_display_pipe *pipe,
441 return drm_gem_begin_shadow_fb_access(&pipe->plane, plane_state);
446 * mipi_dbi_pipe_end_fb_access - MIPI DBI pipe end-access helper
447 * @pipe: Display pipe
454 void mipi_dbi_pipe_end_fb_access(struct drm_simple_display_pipe *pipe,
457 drm_gem_end_shadow_fb_access(&pipe->plane, plane_state);
463 * @pipe: Display pipe
468 void mipi_dbi_pipe_reset_plane(struct drm_simple_display_pipe *pipe)
470 drm_gem_reset_shadow_plane(&pipe->plane);
476 * @pipe: Display pipe
486 struct drm_plane_state *mipi_dbi_pipe_duplicate_plane_state(struct drm_simple_display_pipe *pipe)
488 return drm_gem_duplicate_shadow_plane_state(&pipe->plane);
494 * @pipe: Display pipe
502 void mipi_dbi_pipe_destroy_plane_state(struct drm_simple_display_pipe *pipe,
505 drm_gem_destroy_shadow_plane_state(&pipe->plane, plane_state);
559 * @funcs: Display pipe functions
616 ret = drm_simple_display_pipe_init(drm, &dbidev->pipe, funcs, formats, format_count,
621 drm_plane_enable_fb_damage_clips(&dbidev->pipe.plane);
639 * @funcs: Display pipe functions