]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: analogix_dp: Move enable video into config_video()
authorLin Huang <hl@rock-chips.com>
Mon, 23 Apr 2018 10:49:37 +0000 (12:49 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Tue, 24 Apr 2018 06:34:29 +0000 (08:34 +0200)
commitd0afca7c3013bb143871215ccaef37141e1d9cb9
tree2b0307f11e5cafafd2d26f0b2a9ea7a95b4ce492
parent6544692dba8dc2f0ed4db9a496fff6323e972d4b
drm/bridge: analogix_dp: Move enable video into config_video()

We need to enable video before analogix_dp_is_video_stream_on(), so
we can get the right video stream status.

We needed to increase the delay in the timeout loop because there is
random "Timeout of video streamclk ok" message happen when debug edp
panel, this time do not define in the spec.

Cc: 征增 王 <wzz@rock-chips.com>
Cc: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-2-enric.balletbo@collabora.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c