Commit 9b33df36 authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Simon Ser
Browse files

drm/doc: document front-buffer rendering



Explain how to perform front-buffer rendering.

v2: apply Pekka's rewrite

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
Link: https://lore.kernel.org/r/20250414085652.43904-1-contact@emersion.fr
parent b389df0f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -75,6 +75,12 @@
 * 	the currently visible vertical area of the &drm_crtc.
 * FB_ID:
 * 	Mode object ID of the &drm_framebuffer this plane should scan out.
 *
 *	When a KMS client is performing front-buffer rendering, it should set
 *	FB_ID to the same front-buffer FB on each atomic commit. This implies
 *	to the driver that it needs to re-read the same FB again. Otherwise
 *	drivers which do not employ continuously repeated scanout cycles might
 *	not update the screen.
 * CRTC_ID:
 * 	Mode object ID of the &drm_crtc this plane should be connected to.
 *