Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / drivers / gpu / drm / sti / sti_vid.h
blob9dbd78461de12b419e4e4d7ae00b54c8be4d12d6
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) STMicroelectronics SA 2014
4 * Author: Fabien Dessenne <fabien.dessenne@st.com> for STMicroelectronics.
5 */
7 #ifndef _STI_VID_H_
8 #define _STI_VID_H_
10 /**
11 * STI VID structure
13 * @dev: driver device
14 * @regs: vid registers
15 * @id: id of the vid
17 struct sti_vid {
18 struct device *dev;
19 void __iomem *regs;
20 int id;
23 void sti_vid_commit(struct sti_vid *vid,
24 struct drm_plane_state *state);
25 void sti_vid_disable(struct sti_vid *vid);
26 struct sti_vid *sti_vid_create(struct device *dev, struct drm_device *drm_dev,
27 int id, void __iomem *baseaddr);
29 int vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor);
31 #endif