On Fri, Apr 30, 2021 at 12:36:50AM -0400, Alex Deucher wrote:
From: Qingqing Zhuo qingqing.zhuo@amd.com
[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 (cherry picked from commit 6d638b3ffd27036c062d32cb4efd4be172c2a65e)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Queued up, thanks!
greg k-h