diff options
author | Simon Ser <contact@emersion.fr> | 2020-11-13 17:21:35 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-13 17:29:47 -0500 |
commit | 544645f2ec1af910284ebde00da2a6cfab7cc8c1 (patch) | |
tree | 27a3e84025a6995fd7da15d34c59fe63840eb845 /include/uapi/drm/vmwgfx_drm.h | |
parent | b7397bad74db7bd380b8eee9f1d97bbfe42bdd23 (diff) |
drm/fourcc: add table describing AMD modifiers bit layout
The table describes how each bit in the u64 value is used. Explicitly
state which values a field can take if we have defines for them. Also
add a note when a field isn't always populated.
Forcing people to update the table when changing the bit layout should
make it more obvious when there's a mistake, I hope.
If we get to the point where the bit layout gets more complicated, it
might be worth it to split the table into multiple tables (e.g. one for
GFX8, one for GFX9+, and so on).
Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: Alex Deucher <alexdeucher@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/vmwgfx_drm.h')
0 files changed, 0 insertions, 0 deletions