commit | f7b122728d5e015bbd706505e60600a864b43ea7 | [log] [tgz] |
---|---|---|
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Fri Nov 13 17:16:26 2020 +0100 |
committer | Marge Bot <eric+marge@anholt.net> | Sat Nov 14 12:38:51 2020 +0000 |
tree | 3c88ed633ded9088d92a85e0e2d575675171ff95 | |
parent | f0c8645cb93bfb29771606b9a6aca4aa1a06d30e [diff] |
drm/uapi: Fix modifier field mask for AMD modifiers. The DCC_MAX_COMPRESSED_BLOCK has to contain one of AMD_FMT_MOD_DCC_BLOCK_* and with 3 values this doesn't fit in 1 bit. Fix this cleanly while it is only in drm-next. Fixes: 2cc2b456889 "drm-uapi: Add AMD modifiers." Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7607>