STRUCT DRM_V3D_COPY_TIMESTAMP_QUERY(9)
π struct drm_v3d_copy_timestamp_query π
okay so bestie, welcome to the struct drm_...estamp_query(9) page, straight out of the Kernel API Manual β¨ this one's a struct, it lives in the kernel API docs, and it's genuinely not scary, i promise π«Ά
πΈ NAME πΈ
struct drm_v3d_copy_timestamp_query β it's the ioctl extension that lets the CPU job copy query results over to a buffer π no cap, that's the whole vibe of this thing.
β¨ SYNOPSIS β¨
here's the shape of it, copy-pasted with love and zero typos:
struct drm_v3d_copy_timestamp_query {
struct drm_v3d_extension base;
__u8 do_64bit;
__u8 do_partial;
__u8 availability_bit;
__u8 pad;
__u32 offset;
__u32 stride;
__u32 count;
__u64 offsets;
__u64 syncs;
};
like, look at her. all those little fields lined up. main character energy fr π
π Members π
okay the original page just says Members and then immediately moves on, so there's no per-member commentary to give you here π the field list is up there in the synopsis, and that's the canon version β base, do_64bit, do_partial, availability_bit, pad, offset, stride, count, offsets, syncs, each with the exact type shown above. that's it, that's the section π
π¦ Description π¦
so here's the tea β when an extension with DRM_V3D_EXT_ID_CPU_COPY_TIMESTAMP_QUERY is defined, it points to this extension to define a copy timestamp query submission. like, that's its whole job, and it does it slayfully.
and then β this is the good part β this CPU job copies the timestamp queries results to a BO, using the offset and stride that you defined in the extension. literally. iconic. that's the behaviour, no notes β¨
π SEE ALSO π
go read these next bestie, they're all in the Kernel file ./include/uapi/drm/v3d_drm.h and they all ate π
struct drm_v3d_multi_sync(9)struct drm_v3d_submit_cl(9)struct drm_v3d_wait_bo(9)struct drm_v3d_create_bo(9)struct drm_v3d_mmap_bo(9)struct drm_v3d_indirect_csd(9)struct drm_v3d_timestamp_query(9)struct drm_v3d_reset_timestamp_query(9)struct drm_v3d_reset_performance_query(9)struct drm_v3d_copy_performance_query(9)struct drm_v3d_perfmon_get_counter(9)struct drm_v3d_perfmon_set_global(9)
ngl, reading kernel headers is a whole skill and you're doing amazing π«Ά iykyk.
alright bestie, that's the page π it came from source ./include/uapi/drm, dated October 2026, and it's titled struct drm_...estamp_query(9) up top and down at the bottom too. mwah, go forth and copy those timestamp queries πβπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms