diff options
author | Xin Ji <xji@analogixsemi.com> | 2022-12-09 11:04:18 +0800 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2022-12-12 18:36:22 +0100 |
commit | 38c8389011e06f16b365799f2cd958536befc2e9 (patch) | |
tree | 91472dec5635f4dc032faed572080b224dc70d29 | |
parent | 0f6548807fa77e87bbc37964c6b1ed9ba6e1155d (diff) | |
download | linux-38c8389011e06f16b365799f2cd958536befc2e9.tar.gz |
drm/bridge: anx7625: keep last configure timing
Sometimes kernel may resume back quickly after suspend,
and DRM not call .mode_set() to re-config
display timing before calling .atomic_enable(), bridge
driver with this patch to keep last configure timing.
Signed-off-by: Xin Ji <xji@analogixsemi.com>
Acked-by: Hsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221209030418.713935-1-xji@analogixsemi.com
-rw-r--r-- | drivers/gpu/drm/bridge/analogix/anx7625.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index 86a52c5f4fbc..b375887e655d 100644 --- a/drivers/gpu/drm/bridge/analogix/anx7625.c +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c @@ -1403,7 +1403,6 @@ static void anx7625_stop_dp_work(struct anx7625_data *ctx) { ctx->hpd_status = 0; ctx->hpd_high_cnt = 0; - ctx->display_timing_valid = 0; } static void anx7625_start_dp_work(struct anx7625_data *ctx) |