[PATCH 2/3] drm/panfrost: Expose HW counters to userspace

Alyssa Rosenzweig alyssa at rosenzweig.io
Fri Apr 5 16:17:23 UTC 2019


> You can extend ioctl structs safely.  When older userspace passes theirs
> in, it has the shorter length encoded in the cmd. The kernel allocates
> the newest version's space, copies in the shorter struct, and
> zero-extends the rest.

Understood, thank you!


More information about the dri-devel mailing list