Implement atomic mode setting for both the primary and overlay planes. This involves: - Moving the primary plane handling code from CRTC mode setting to plane handling shared by primary and overlay planes, - Adding basic CRTC and mode config atomic mode setting ops, which don't do much yet. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/a6b698a1c8c1eaf631c2f928f5888ab5fe7aa4c3.1694767209.git.geert+renesas@glider.be
20 lines
483 B
C
20 lines
483 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* shmob_drm_plane.h -- SH Mobile DRM Planes
|
|
*
|
|
* Copyright (C) 2012 Renesas Electronics Corporation
|
|
*
|
|
* Laurent Pinchart (laurent.pinchart@ideasonboard.com)
|
|
*/
|
|
|
|
#ifndef __SHMOB_DRM_PLANE_H__
|
|
#define __SHMOB_DRM_PLANE_H__
|
|
|
|
struct drm_plane;
|
|
struct shmob_drm_device;
|
|
|
|
struct drm_plane *shmob_drm_plane_create(struct shmob_drm_device *sdev,
|
|
enum drm_plane_type type,
|
|
unsigned int index);
|
|
|
|
#endif /* __SHMOB_DRM_PLANE_H__ */
|