drm/uapi: Fix modifier field mask for AMD modifiers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 13 Nov 2020 16:16:26 +0000 (17:16 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 14 Nov 2020 12:38:51 +0000 (12:38 +0000)
commitf7b122728d5e015bbd706505e60600a864b43ea7
tree3c88ed633ded9088d92a85e0e2d575675171ff95
parentf0c8645cb93bfb29771606b9a6aca4aa1a06d30e
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>
include/drm-uapi/drm_fourcc.h