]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge/sii8620: Fix display of packed pixel modes
authorMaciej Purski <m.purski@samsung.com>
Thu, 28 Jun 2018 16:44:02 +0000 (18:44 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 4 Jul 2018 14:27:50 +0000 (16:27 +0200)
commitfa045ec624e1546c7eb35166429a863df08ee5cc
tree92b1a99b7ca394345a3ed9b2176ab13175f85aef
parent937fc5f3a89f89f6ac3c4f5336efb843c8dde7a7
drm/bridge/sii8620: Fix display of packed pixel modes

Current implementation does not guarantee packed pixel modes working
with every dongle. There are some dongles, which require selecting
the output mode explicitly.

Write proper values to registers in packed_pixel mode, based on how it
is done in vendor's code. Select output color space: RGB
(no packed pixel) or YCBCR422 (packed pixel).

This reverts commit 9a848db60ca6d1d88a3df42f16e5515e09a3f390
("drm/bridge/sii8620: fix display of packed pixel modes in MHL2").

Signed-off-by: Maciej Purski <m.purski@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1530204243-6370-3-git-send-email-m.purski@samsung.com
drivers/gpu/drm/bridge/sil-sii8620.c