drm/exynos/mic: workaround for disabling mic during modesetting
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 21 Jun 2016 10:13:00 +0000 (12:13 +0200)
committerInki Dae <inki.dae@samsung.com>
Wed, 6 Jul 2016 04:08:50 +0000 (13:08 +0900)
commit18bc36344c5fa806a8ed79ece1089e05b51f476e
treef9fa37e68f82b127362143a5c744cf1e40234f31
parentbfc586f0e13f5dc8c586ea286f0a3a83c49f712b
drm/exynos/mic: workaround for disabling mic during modesetting

Exynos-DRM framework does not power cycle encoder during modesetting, but
DRM core does it for bridges, as a result MIC device is the only
power-cycled device in the chain DECON->MIC->DSI, it causes black screen.
It is a limitation/feature of DRM core.
The patch adds ugly workaround to skip power-cycling MIC during modesetting.
Alternative is to power-cycle all components during modesetting, it would
require adjustements in ExynosDRM framework and rework of some callbacks
in DSI driver.

Change-Id: I94fdb002f119a298b35f01a4abd41d65f7d7478b
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_mic.c