summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dm_pp_smu.h
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2024-04-25 12:13:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-05-13 15:46:55 -0400
commitf9d48a88eba547d87d8ea7bfd25abd1836cdf06a (patch)
treef6132f1828d08eca7106892aea1762c13b5fbfeb /drivers/gpu/drm/amd/display/dc/dm_pp_smu.h
parentd5192c15fa6a8bb594e9ea23561019f77565a227 (diff)
downloadlinux-f9d48a88eba547d87d8ea7bfd25abd1836cdf06a.tar.gz
linux-f9d48a88eba547d87d8ea7bfd25abd1836cdf06a.tar.bz2
linux-f9d48a88eba547d87d8ea7bfd25abd1836cdf06a.zip
drm/amd/display: Add left edge pixel for YCbCr422/420 + ODM pipe split
[WHY] Currently 3-tap chroma subsampling is used for YCbCr422/420. When ODM pipesplit is used, pixels on the left edge of ODM slices need one extra pixel from the right edge of the previous slice to calculate the correct chroma value. Without this change, the chroma value is slightly different than expected. This is usually imperceptible visually, but it impacts test pattern CRCs for compliance test automation. [HOW] Update logic to use the register for adding extra left edge pixel for YCbCr422/420 ODM cases. Reviewed-by: George Shen <george.shen@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dm_pp_smu.h')
0 files changed, 0 insertions, 0 deletions