linux/drivers/gpu/drm/sti/sti_plane.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) STMicroelectronics SA 2014
 * Author: Benjamin Gaignard <[email protected]> for STMicroelectronics.
 */

#ifndef _STI_PLANE_H_
#define _STI_PLANE_H_

#include <drm/drm_atomic_helper.h>

#define to_sti_plane(x)

#define STI_PLANE_TYPE_SHIFT
#define STI_PLANE_TYPE_MASK

enum sti_plane_type {};

enum sti_plane_id_of_type {};

enum sti_plane_desc {};

enum sti_plane_status {};

#define FPS_LENGTH
struct sti_fps_info {};

/**
 * STI plane structure
 *
 * @plane:              drm plane it is bound to (if any)
 * @desc:               plane type & id
 * @status:             to know the status of the plane
 * @fps_info:           frame per second info
 */
struct sti_plane {};

const char *sti_plane_to_str(struct sti_plane *plane);
void sti_plane_update_fps(struct sti_plane *plane,
			  bool new_frame,
			  bool new_field);

void sti_plane_init_property(struct sti_plane *plane,
			     enum drm_plane_type type);
#endif