diff options
author | Peterson Guo <[email protected]> | 2024-11-07 19:20:02 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-12-02 18:35:16 -0500 |
commit | 63e7ee677c74e981257cedfdd8543510d09096ba (patch) | |
tree | 6b75f5663e9c59be4b2f0e9473899ad48dbe8073 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 55ed120dcfdde2478c3ebfa1c0ac4ed1e430053b (diff) |
drm/amd/display: Add a left edge pixel if in YCbCr422 or YCbCr420 and odm
[WHY]
On some cards when odm is used, the monitor will have 2 separate pipes
split vertically. When compression is used on the YCbCr colour space on
the second pipe to have correct colours, we need to read a pixel from the
end of first pipe to accurately display colours. Hardware was programmed
properly to account for this extra pixel but it was not calculated
properly in software causing a split screen on some monitors.
[HOW]
The fix adjusts the second pipe's viewport and timings if the pixel
encoding is YCbCr422 or YCbCr420.
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: George Shen <[email protected]>
Signed-off-by: Peterson Guo <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions