drm/amd/display: Add debug option to force 1-tap chroma subsampling
authorGeorge Shen <george.shen@amd.com>
Wed, 29 Mar 2023 19:33:35 +0000 (15:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Feb 2024 17:26:22 +0000 (12:26 -0500)
commitead4c6b94d9b9d9801fd73220cbb032cb7908ac9
tree63ace194a0ac9f427d59b3dc70510a9011db830b
parent6226a5aa77370329e01ee8abe50a95e60618ce97
drm/amd/display: Add debug option to force 1-tap chroma subsampling

[Why]
Default driver behaviour is 3-tap subsampling, so we should keep
it the same for test patterns as well. However, it is also useful
to force 1-tap subsampling for testing purposes.

Reviewed-by: Michael Strauss <michael.strauss@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c