diff options
Diffstat (limited to 'kernel/drivers/gpu/drm/sti/sti_vid.h')
-rw-r--r-- | kernel/drivers/gpu/drm/sti/sti_vid.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/kernel/drivers/gpu/drm/sti/sti_vid.h b/kernel/drivers/gpu/drm/sti/sti_vid.h index 2c0aecd63..5dea4791f 100644 --- a/kernel/drivers/gpu/drm/sti/sti_vid.h +++ b/kernel/drivers/gpu/drm/sti/sti_vid.h @@ -7,6 +7,23 @@ #ifndef _STI_VID_H_ #define _STI_VID_H_ -struct sti_layer *sti_vid_create(struct device *dev); +/** + * 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, int id, + void __iomem *baseaddr); #endif |