diff options
| author | 2024-10-25 16:28:27 +0800 | |
|---|---|---|
| committer | 2024-12-30 14:10:27 +0000 | |
| commit | ef24fbd8f12015ff827973fffefed3902ffd61cc (patch) | |
| tree | 8210ab59e601e543788c149a6ef5bfdab872150a /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | Revert "drm/mediatek: Switch to for_each_child_of_node_scoped()" (diff) | |
| download | wireguard-linux-ef24fbd8f12015ff827973fffefed3902ffd61cc.tar.xz wireguard-linux-ef24fbd8f12015ff827973fffefed3902ffd61cc.zip | |
drm/mediatek: Fix YCbCr422 color format issue for DP
Setting up misc0 for Pixel Encoding Format.
According to the definition of YCbCr in spec 1.2a Table 2-96,
0x1 << 1 should be written to the register.
Use switch case to distinguish RGB, YCbCr422,
and unsupported color formats.
Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Liankun Yang <liankun.yang@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20241025083036.8829-2-liankun.yang@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
