forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/i2c/ch7006_drv.c
....@@ -359,10 +359,10 @@
359359 if (modes_changed) {
360360 drm_helper_probe_single_connector_modes(connector, 0, 0);
361361
362
- /* Disable the crtc to ensure a full modeset is
363
- * performed whenever it's turned on again. */
364362 if (crtc)
365
- drm_crtc_force_disable(crtc);
363
+ drm_crtc_helper_set_mode(crtc, &crtc->mode,
364
+ crtc->x, crtc->y,
365
+ crtc->primary->fb);
366366 }
367367
368368 return 0;