aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/tinydrm/tinydrm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/tinydrm/tinydrm.h')
-rw-r--r--include/drm/tinydrm/tinydrm.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/include/drm/tinydrm/tinydrm.h b/include/drm/tinydrm/tinydrm.h
index 56e4a916b5e8..fe9827d0ca8a 100644
--- a/include/drm/tinydrm/tinydrm.h
+++ b/include/drm/tinydrm/tinydrm.h
@@ -16,16 +16,31 @@
16 16
17/** 17/**
18 * struct tinydrm_device - tinydrm device 18 * struct tinydrm_device - tinydrm device
19 * @drm: DRM device
20 * @pipe: Display pipe structure
21 * @dirty_lock: Serializes framebuffer flushing
22 * @fb_funcs: Framebuffer functions used when creating framebuffers
23 */ 19 */
24struct tinydrm_device { 20struct tinydrm_device {
21 /**
22 * @drm: DRM device
23 */
25 struct drm_device *drm; 24 struct drm_device *drm;
25
26 /**
27 * @pipe: Display pipe structure
28 */
26 struct drm_simple_display_pipe pipe; 29 struct drm_simple_display_pipe pipe;
30
31 /**
32 * @dirty_lock: Serializes framebuffer flushing
33 */
27 struct mutex dirty_lock; 34 struct mutex dirty_lock;
35
36 /**
37 * @fb_funcs: Framebuffer functions used when creating framebuffers
38 */
28 const struct drm_framebuffer_funcs *fb_funcs; 39 const struct drm_framebuffer_funcs *fb_funcs;
40
41 /**
42 * @fb_dirty: Framebuffer dirty callback
43 */
29 int (*fb_dirty)(struct drm_framebuffer *framebuffer, 44 int (*fb_dirty)(struct drm_framebuffer *framebuffer,
30 struct drm_file *file_priv, unsigned flags, 45 struct drm_file *file_priv, unsigned flags,
31 unsigned color, struct drm_clip_rect *clips, 46 unsigned color, struct drm_clip_rect *clips,