mirror_ubuntu-kernels/drivers/gpu/drm/amd
George Shen e2fdd5c525 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.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-03-20 13:37:03 -04:00
..
acp
amdgpu drm/amdgpu: drop setting buffer funcs in sdma442 2024-03-20 13:36:29 -04:00
amdkfd drm/amdkfd: make kfd_class constant 2024-03-06 15:24:50 -05:00
amdxcp drm/amdxcp: fix amdxcp unloads incompletely 2023-10-26 19:04:53 -04:00
display drm/amd/display: Add left edge pixel for YCbCr422/420 + ODM pipe split 2024-03-20 13:37:03 -04:00
include drm/amdgpu: Add pcie v6_1_0 ip headers (v5) 2024-03-07 15:32:38 -05:00
pm drm/amdgpu/pm: Don't use OD table on Arcturus 2024-03-20 13:36:29 -04:00