Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/v3d: Add some better documentation of the in_sync arguments.

Since this is UAPI, it's good to document what exactly the guarantees
we're providing are.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180928232126.4332-3-eric@anholt.net
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>

+10
+10
include/uapi/drm/v3d_drm.h
··· 58 58 * coordinate shader to determine where primitives land on the screen, 59 59 * then writes out the state updates and draw calls necessary per tile 60 60 * to the tile allocation BO. 61 + * 62 + * This BCL will block on any previous BCL submitted on the 63 + * same FD, but not on any RCL or BCLs submitted by other 64 + * clients -- that is left up to the submitter to control 65 + * using in_sync_bcl if necessary. 61 66 */ 62 67 __u32 bcl_start; 63 68 ··· 74 69 * This is the second set of commands executed, which will either 75 70 * execute the tiles that have been set up by the BCL, or a fixed set 76 71 * of tiles (in the case of RCL-only blits). 72 + * 73 + * This RCL will block on this submit's BCL, and any previous 74 + * RCL submitted on the same FD, but not on any RCL or BCLs 75 + * submitted by other clients -- that is left up to the 76 + * submitter to control using in_sync_rcl if necessary. 77 77 */ 78 78 __u32 rcl_start; 79 79