mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 15:20:37 +07:00
e284257027
Add SPDX identifiers to files under sti directory Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Acked-by: Vincent Abriou <vincent.abriou@st.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171206112947.9569-2-benjamin.gaignard@st.com
32 lines
708 B
C
32 lines
708 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) STMicroelectronics SA 2014
|
|
* Author: Fabien Dessenne <fabien.dessenne@st.com> for STMicroelectronics.
|
|
*/
|
|
|
|
#ifndef _STI_VID_H_
|
|
#define _STI_VID_H_
|
|
|
|
/**
|
|
* STI VID structure
|
|
*
|
|
* @dev: driver device
|
|
* @regs: vid registers
|
|
* @id: id of the vid
|
|
*/
|
|
struct sti_vid {
|
|
struct device *dev;
|
|
void __iomem *regs;
|
|
int id;
|
|
};
|
|
|
|
void sti_vid_commit(struct sti_vid *vid,
|
|
struct drm_plane_state *state);
|
|
void sti_vid_disable(struct sti_vid *vid);
|
|
struct sti_vid *sti_vid_create(struct device *dev, struct drm_device *drm_dev,
|
|
int id, void __iomem *baseaddr);
|
|
|
|
int vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor);
|
|
|
|
#endif
|