linux/drivers/gpu/drm/vkms/vkms_plane.c

// SPDX-License-Identifier: GPL-2.0+

#include <linux/iosys-map.h>

#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_blend.h>
#include <drm/drm_fourcc.h>
#include <drm/drm_gem_atomic_helper.h>
#include <drm/drm_gem_framebuffer_helper.h>

#include "vkms_drv.h"
#include "vkms_formats.h"

static const u32 vkms_formats[] =;

static struct drm_plane_state *
vkms_plane_duplicate_state(struct drm_plane *plane)
{}

static void vkms_plane_destroy_state(struct drm_plane *plane,
				     struct drm_plane_state *old_state)
{}

static void vkms_plane_reset(struct drm_plane *plane)
{}

static const struct drm_plane_funcs vkms_plane_funcs =;

static void vkms_plane_atomic_update(struct drm_plane *plane,
				     struct drm_atomic_state *state)
{}

static int vkms_plane_atomic_check(struct drm_plane *plane,
				   struct drm_atomic_state *state)
{}

static int vkms_prepare_fb(struct drm_plane *plane,
			   struct drm_plane_state *state)
{}

static void vkms_cleanup_fb(struct drm_plane *plane,
			    struct drm_plane_state *state)
{}

static const struct drm_plane_helper_funcs vkms_plane_helper_funcs =;

struct vkms_plane *vkms_plane_init(struct vkms_device *vkmsdev,
				   enum drm_plane_type type, int index)
{}