diff options
author | Navid Assadian <Navid.Assadian@amd.com> | 2025-04-30 15:38:20 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-06-03 15:35:53 -0400 |
commit | a4d04bc90d2d539cf27f72128a0301a261e1249d (patch) | |
tree | 96c63429b058a1fdd493f3ab30014ecaacd44760 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | ed8045a731107e96b1fda80879a85b5de7658941 (diff) |
drm/amd/display: Do not bypass chroma scaling in 1:1 case
[Why]
When doing 2:1 downscaling on a YUV sub-sampled format, the chroma
scaling ratio is 1:1. Since chroma has cositing, it is needed to do
scaling on the chroma plane(s) and not to bypass chroma scaling.
[How]
Do not set the chroma taps to one when the chroma ratio is identity
and the input format is a sub-sampled YUV format.
Reviewed-by: Samson Tam <samson.tam@amd.com>
Signed-off-by: Navid Assadian <Navid.Assadian@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@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/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions