Skip to contentSkip to conversation

drm/fb: document dirty helper better

PATCH In review Daniel Vetter 4 participants 4 messages Jun 11, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/fb: document dirty helper better

Apparently little none fact that there's no need to hand-roll your own anymore. Cc'ing a bunch of driver people who might want to know this too.

Cc Rob Clark <[email protected]>
Cc Sebastian Reichel <[email protected]>
Cc Tomi Valkeinen <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Sean Paul <[email protected]>
Cc Gerd Hoffmann <[email protected]>
Cc David Lechner <[email protected]>
Cc Noralf Trønnes <[email protected]>
Cc Hans de Goede <[email protected]>
---
 include/drm/drm_framebuffer.h | 3 +++
 1 file changed, 3 insertions(+)
include/drm/drm_framebuffer.h +3 -0
index c23016748e3f..c0e0256e3e98 100644
@@ -87,6 +87,9 @@ struct drm_framebuffer_funcs {
 	 * for more information as all the semantics and arguments have a one to
 	 * one mapping on this function.
 	 *
+	 * Atomic drivers should use drm_atomic_helper_dirtyfb() to implement
+	 * this hook.
+	 *
 	 * RETURNS:
 	 *
 	 * 0 on success or a negative error code on failure.
Signature · 6 lines
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#2 lore raw
In reply to Daniel Vetter

Den 11.06.2019 13.28, skrev Daniel Vetter:

Quoted 15 lines

Apparently little none fact that there's no need to hand-roll your own anymore. Cc'ing a bunch of driver people who might want to know this too.

Cc Rob Clark <[email protected]>
Cc Sebastian Reichel <[email protected]>
Cc Tomi Valkeinen <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Sean Paul <[email protected]>
Cc Gerd Hoffmann <[email protected]>
Cc David Lechner <[email protected]>
Cc Noralf Trønnes <[email protected]>
Cc Hans de Goede <[email protected]>
Quoted 1 line

---

With Chris's comment adressed:

Quoted 9 lines
 include/drm/drm_framebuffer.h | 3 +++
 1 file changed, 3 insertions(+)
include/drm/drm_framebuffer.h +0 -0
index c23016748e3f..c0e0256e3e98 100644

include/drm/drm_framebuffer.h struct drm_framebuffer_funcs { · line 95

Quoted 9 lines
include/drm/drm_framebuffer.h +3 -0
@@ -87,6 +87,9 @@ struct drm_framebuffer_funcs {
 	 * for more information as all the semantics and arguments have a one to
 	 * one mapping on this function.
 	 *
+	 * Atomic drivers should use drm_atomic_helper_dirtyfb() to implement
+	 * this hook.
+	 *
 	 * RETURNS:
 	 *
 	 * 0 on success or a negative error code on failure.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 20 lines · Noralf Trønnes

Den 11.06.2019 13.28, skrev Daniel Vetter:

Quoted 15 lines

Apparently little none fact that there's no need to hand-roll your own anymore. Cc'ing a bunch of driver people who might want to know this too.

Cc Rob Clark <[email protected]>
Cc Sebastian Reichel <[email protected]>
Cc Tomi Valkeinen <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Sean Paul <[email protected]>
Cc Gerd Hoffmann <[email protected]>
Cc David Lechner <[email protected]>
Cc Noralf Trønnes <[email protected]>
Cc Hans de Goede <[email protected]>
Quoted 1 line

---

Quoted 1 line

With Chris's comment adressed:

Done&merged, thanks to both of you for taking a look. -Daniel

Quoted 22 lines
Quoted 18 lines
 include/drm/drm_framebuffer.h | 3 +++
 1 file changed, 3 insertions(+)
include/drm/drm_framebuffer.h +3 -0
index c23016748e3f..c0e0256e3e98 100644
@@ -87,6 +87,9 @@ struct drm_framebuffer_funcs {
 	 * for more information as all the semantics and arguments have a one to
 	 * one mapping on this function.
 	 *
+	 * Atomic drivers should use drm_atomic_helper_dirtyfb() to implement
+	 * this hook.
+	 *
 	 * RETURNS:
 	 *
 	 * 0 on success or a negative error code on failure.
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel