Skip to content
Commit e641e2a6 authored by Luigi Santivetti's avatar Luigi Santivetti Committed by Simon Ser
Browse files

xf86drm: add iterator API for DRM/KMS IN_FORMATS blobs



Add support for parsing IN_FORMATS property blobs. Providing libdrm
with this functionality helps to standardise how user-space reads
kernel blobs and decreases duplication on the client side.

drmModeFormatModifierBlobIterNext() allows the caller to view
formats and associated modifiers given a valid property blob.
An example is available inside the libdrm unit test, modetest.c.

Signed-off-by: default avatarLuigi Santivetti <luigi.santivetti@imgtec.com>
Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
parent f256bb9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment