diff options
author | Eric Yang <Eric.Yang2@amd.com> | 2018-11-22 08:07:06 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-12-19 00:25:11 +0100 |
commit | 12750d1647f118496f1da727146f255f5e44d500 (patch) | |
tree | 1cbe5d0869f7a4a7576586769837175b4994f729 /drivers/pci/msi.c | |
parent | drm/amd/display: Warn instead of error on REG_WAIT timeout (diff) | |
download | linux-12750d1647f118496f1da727146f255f5e44d500.tar.xz linux-12750d1647f118496f1da727146f255f5e44d500.zip |
drm/amd/display: fix YCbCr420 blank color
[Why]
YCbCr420 packing format uses two chanels for luma, and 1
channel for both chroma component. Our previous implementation
did not account for this and results in every other pixel having
very high luma value, showing greyish color instead of black.
YCbCr444 = <Y1, Cb1, Cr1>; <Y2, Cb2, Cr2> .....
YCbCr420 = <Y1, Y2, Cb1>; <Y3, Y4, Cr1> .....
[How]
Program the second channel with the black color value for luma
as well.
Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Hugo Hu <Hugo.Hu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/pci/msi.c')
0 files changed, 0 insertions, 0 deletions