drm/amd/display: Update modifier list for gfx10_3
authorQingqing Zhuo <qingqing.zhuo@amd.com>
Wed, 14 Apr 2021 23:00:01 +0000 (19:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 15:13:13 +0000 (11:13 -0400)
commit6d638b3ffd27036c062d32cb4efd4be172c2a65e
treeb8c6c219bfefbd3245adde24bb1fa3f938ded7e6
parentd42a5b639d15622ece5b9dd12dafd9776efa2593
drm/amd/display: Update modifier list for gfx10_3

[Why]
Current list supports modifiers that have DCC_MAX_COMPRESSED_BLOCK
set to AMD_FMT_MOD_DCC_BLOCK_128B, while AMD_FMT_MOD_DCC_BLOCK_64B
is used instead by userspace.

[How]
Replace AMD_FMT_MOD_DCC_BLOCK_128B with AMD_FMT_MOD_DCC_BLOCK_64B
for modifiers with DCC supported.

Fixes: faa37f54ce0462 ("drm/amd/display: Expose modifiers")
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c