mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
eab5d29d4f
Add starfive DRM Display driver framework Signed-off-by: jack.zhu <jack.zhu@starfivetech.com> Signed-off-by: keith.zhao <keith.zhao@starfivetech.com> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://lore.kernel.org/r/a8ca722539672d6369d6e4092e1e08cb6b58c546.1645535955.git.geert@linux-m68k.org Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
19 lines
430 B
C
19 lines
430 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2021 StarFive Technology Co., Ltd.
|
|
*/
|
|
#ifndef _STARFIVE_DRM_ENCODER_H
|
|
#define _STARFIVE_DRM_ENCODER_H
|
|
|
|
struct starfive_encoder {
|
|
struct drm_encoder encoder;
|
|
struct device *dev;
|
|
struct drm_device *drm_dev;
|
|
bool is_enabled;
|
|
int encoder_type;
|
|
};
|
|
|
|
#define to_starfive_encoder(x) container_of(x, struct starfive_encoder, encoder)
|
|
|
|
#endif /* _STARFIVE_DRM_CRTC_H */
|