drm/bridge: lt9611: Fix handling of 4k panels
authorRobert Foss <robert.foss@linaro.org>
Thu, 17 Dec 2020 14:09:33 +0000 (15:09 +0100)
committerDom Cobley <popcornmix@gmail.com>
Thu, 14 Oct 2021 11:32:53 +0000 (12:32 +0100)
commit618efc1c50ca2105a58020dd4dbb190478b7a90b
treec168cb69dfb9f9292c8e70889a7b52f26a9081eb
parent18a2f52a5d73606d6377d88b7a75caa69468fe92
drm/bridge: lt9611: Fix handling of 4k panels

commit d1a97648ae028a44536927c87837c45ada7141c9 upstream.

4k requires two dsi pipes, so don't report MODE_OK when only a
single pipe is configured. But rather report MODE_PANEL to
signal that requirements of the panel are not being met.

Reported-by: Peter Collingbourne <pcc@google.com>
Suggested-by: Peter Collingbourne <pcc@google.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Tested-by: Anibal Limon <anibal.limon@linaro.org>
Tested-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201217140933.1133969-1-robert.foss@linaro.org
Cc: Peter Collingbourne <pcc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/bridge/lontium-lt9611.c