As format modifiers can be encoded in quite complex forms, the static table previously added is not sufficient to retrieve, extract and decode the token formats to a human-readable string. This patch introduces a
vendor specific callback which could be used to perform an additional search to match up with vendor encoding scheme, which, will be used first, before resorting to searching the static table.
With it, add support for decoding the ARM format modifiers.
a04b6748 xf86drm: Add a vendor function to decode the format modifier
xf86drm.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 112 insertions(+), 3 deletions(-)
Upstream: cgit.freedesktop.org