forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c
....@@ -60,8 +60,9 @@
6060 return drm_panel_get_modes(fsl_connector->panel, connector);
6161 }
6262
63
-static int fsl_dcu_drm_connector_mode_valid(struct drm_connector *connector,
64
- struct drm_display_mode *mode)
63
+static enum drm_mode_status
64
+fsl_dcu_drm_connector_mode_valid(struct drm_connector *connector,
65
+ struct drm_display_mode *mode)
6566 {
6667 if (mode->hdisplay & 0xf)
6768 return MODE_ERROR;