#include <linux/clk.h>
#include <linux/dma-buf.h>
#include <linux/of_graph.h>
#include <linux/delay.h>
#include <drm/drm_fb_dma_helper.h>
#include <drm/drm_fourcc.h>
#include <drm/drm_framebuffer.h>
#include <drm/drm_gem_atomic_helper.h>
#include <drm/drm_gem_dma_helper.h>
#include <drm/drm_panel.h>
#include <drm/drm_vblank.h>
#include "tve200_drm.h"
irqreturn_t tve200_irq(int irq, void *data)
{ … }
static int tve200_display_check(struct drm_simple_display_pipe *pipe,
struct drm_plane_state *pstate,
struct drm_crtc_state *cstate)
{ … }
static void tve200_display_enable(struct drm_simple_display_pipe *pipe,
struct drm_crtc_state *cstate,
struct drm_plane_state *plane_state)
{ … }
static void tve200_display_disable(struct drm_simple_display_pipe *pipe)
{ … }
static void tve200_display_update(struct drm_simple_display_pipe *pipe,
struct drm_plane_state *old_pstate)
{ … }
static int tve200_display_enable_vblank(struct drm_simple_display_pipe *pipe)
{ … }
static void tve200_display_disable_vblank(struct drm_simple_display_pipe *pipe)
{ … }
static const struct drm_simple_display_pipe_funcs tve200_display_funcs = …;
int tve200_display_init(struct drm_device *drm)
{ … }