#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_blend.h>
#include <drm/drm_crtc.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 "tidss_crtc.h"
#include "tidss_dispc.h"
#include "tidss_drv.h"
#include "tidss_plane.h"
static int tidss_plane_atomic_check(struct drm_plane *plane,
struct drm_atomic_state *state)
{ … }
static void tidss_plane_atomic_update(struct drm_plane *plane,
struct drm_atomic_state *state)
{ … }
static void tidss_plane_atomic_enable(struct drm_plane *plane,
struct drm_atomic_state *state)
{ … }
static void tidss_plane_atomic_disable(struct drm_plane *plane,
struct drm_atomic_state *state)
{ … }
static void drm_plane_destroy(struct drm_plane *plane)
{ … }
static const struct drm_plane_helper_funcs tidss_plane_helper_funcs = …;
static const struct drm_plane_helper_funcs tidss_primary_plane_helper_funcs = …;
static const struct drm_plane_funcs tidss_plane_funcs = …;
struct tidss_plane *tidss_plane_create(struct tidss_device *tidss,
u32 hw_plane_id, u32 plane_type,
u32 crtc_mask, const u32 *formats,
u32 num_formats)
{ … }