We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f17ab9 + 0265d0e commit 1240767Copy full SHA for 1240767
drivers/gpu/drm/tiny/pixpaper.c
@@ -968,8 +968,8 @@ static const struct drm_crtc_funcs pixpaper_crtc_funcs = {
968
.atomic_destroy_state = drm_atomic_helper_crtc_destroy_state,
969
};
970
971
-static int pixpaper_mode_valid(struct drm_crtc *crtc,
972
- const struct drm_display_mode *mode)
+static enum drm_mode_status
+pixpaper_mode_valid(struct drm_crtc *crtc, const struct drm_display_mode *mode)
973
{
974
if (mode->hdisplay == PIXPAPER_WIDTH &&
975
mode->vdisplay == PIXPAPER_HEIGHT) {
0 commit comments