blob: f4116ca59c28d41faf81016421b3a01ea49999ed [file] [log] [blame]
Takashi Saito1517b032015-09-07 01:40:25 -03001/*
2 * vsp1_dl.h -- R-Car VSP1 Display List
3 *
4 * Copyright (C) 2015 Renesas Corporation
5 *
6 * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 */
13#ifndef __VSP1_DL_H__
14#define __VSP1_DL_H__
15
Laurent Pinchartaa380ea2015-11-01 10:46:25 -020016#include <linux/types.h>
Takashi Saito1517b032015-09-07 01:40:25 -030017
18struct vsp1_device;
19struct vsp1_dl;
20
21struct vsp1_dl *vsp1_dl_create(struct vsp1_device *vsp1);
22void vsp1_dl_destroy(struct vsp1_dl *dl);
23
24void vsp1_dl_setup(struct vsp1_device *vsp1);
25
26void vsp1_dl_reset(struct vsp1_dl *dl);
27void vsp1_dl_begin(struct vsp1_dl *dl);
Laurent Pinchartaa380ea2015-11-01 10:46:25 -020028void vsp1_dl_add(struct vsp1_dl *dl, u32 reg, u32 data);
Takashi Saito1517b032015-09-07 01:40:25 -030029void vsp1_dl_commit(struct vsp1_dl *dl);
30
31void vsp1_dl_irq_display_start(struct vsp1_dl *dl);
32void vsp1_dl_irq_frame_end(struct vsp1_dl *dl);
33
Takashi Saito1517b032015-09-07 01:40:25 -030034#endif /* __VSP1_DL_H__ */