diff options
author | Samson Tam <samson.tam@amd.com> | 2024-04-01 13:51:58 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-16 21:24:08 -0400 |
commit | ef319dff5475a2d7b9b61c0fb051a764237cd959 (patch) | |
tree | a460cf3732bb564d04be20494a90ad14ae658822 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | d7fedf2656462c2c20d6d98446e1cdf1c0edc0aa (diff) |
drm/amd/display: add support for chroma offset
[Why]
Adding support for chroma subsampling offset (cositing) in scaler
calculations to adjust reference point where we determine post-scaling
chroma value in YUV420 surfaces.
[How]
Add support for cositing options: NONE, LEFT and TOPLEFT Add debug
option force_cositing and set default to TOPLEFT to maintain same
behaviour as without offset support.
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Samson Tam <samson.tam@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/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions