pmaports/device/testing/linux-postmarketos-mediatek-mt8183/mt8183-kukui-jacuzzi-hack-dpms-resume.patch

17 lines
623 B
Diff
Raw Normal View History

this is most probably not the proper solution, but it at least lets the display
come back properly after a dpms suspend ...
diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c
index 31ecf5626f1d..6763b280dab4 100644
--- a/drivers/gpu/drm/bridge/analogix/anx7625.c
+++ b/drivers/gpu/drm/bridge/analogix/anx7625.c
@@ -1425,6 +1427,8 @@ static void anx7625_start_dp_work(struct anx7625_data *ctx)
return;
DRM_DEV_DEBUG_DRIVER(dev, "Secure OCM version=%02x\n", ret);
+
+ ctx->display_timing_valid = 1;
}
static int anx7625_read_hpd_status_p0(struct anx7625_data *ctx)