forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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;