X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Fdrm%2Fdrm_crtc_helper.h;h=e01cc80c9c30bf954c4839778b0a704f05aa222d;hb=e811f5ae19043b2ac2c28e147a4274038e655598;hp=7988e55c98d0623a5820ad65324bf6f8676c0569;hpb=4e3c8a1b1c63482403e9d5e3148dee1a711e4b91;p=~andy%2Flinux diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h index 7988e55c98d..e01cc80c9c3 100644 --- a/include/drm/drm_crtc_helper.h +++ b/include/drm/drm_crtc_helper.h @@ -62,7 +62,7 @@ struct drm_crtc_helper_funcs { /* Provider can fixup or change mode timings before modeset occurs */ bool (*mode_fixup)(struct drm_crtc *crtc, - struct drm_display_mode *mode, + const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode); /* Actually set the mode */ int (*mode_set)(struct drm_crtc *crtc, struct drm_display_mode *mode, @@ -96,7 +96,7 @@ struct drm_encoder_helper_funcs { void (*restore)(struct drm_encoder *encoder); bool (*mode_fixup)(struct drm_encoder *encoder, - struct drm_display_mode *mode, + const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode); void (*prepare)(struct drm_encoder *encoder); void (*commit)(struct drm_encoder *encoder);