drm/fb: document dirty helper better
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Jun 2019 11:28:59 +0000 (13:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Jun 2019 16:02:48 +0000 (18:02 +0200)
Apparently little known 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.

v2: s/none/known/ (Chris Wilson)

Cc: Rob Clark <robdclark@gmail.com>
Cc: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: David Lechner <david@lechnology.com>
Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190611112859.16375-1-daniel.vetter@ffwll.ch
include/drm/drm_framebuffer.h

index c23016748e3fc9f109b100da6664890b7bf9bc9f..c0e0256e3e988f87df08b761db8c3ca1b2799e26 100644 (file)
@@ -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.