]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/mgag200/mgag200_mode.c
Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64...
[karo-tx-linux.git] / drivers / gpu / drm / mgag200 / mgag200_mode.c
index af8b4c19cf15a161b1cbc80a74cb857c9c3826bf..14e64e08909ed1769e39d88d3a10124bfe2c2a2a 100644 (file)
@@ -92,18 +92,6 @@ static inline void mga_wait_busy(struct mga_device *mdev)
        } while ((status & 0x01) && time_before(jiffies, timeout));
 }
 
-/*
- * The core passes the desired mode to the CRTC code to see whether any
- * CRTC-specific modifications need to be made to it. We're in a position
- * to just pass that straight through, so this does nothing
- */
-static bool mga_crtc_mode_fixup(struct drm_crtc *crtc,
-                               const struct drm_display_mode *mode,
-                               struct drm_display_mode *adjusted_mode)
-{
-       return true;
-}
-
 #define P_ARRAY_SIZE 9
 
 static int mga_g200se_set_plls(struct mga_device *mdev, long clock)
@@ -1410,7 +1398,6 @@ static const struct drm_crtc_funcs mga_crtc_funcs = {
 static const struct drm_crtc_helper_funcs mga_helper_funcs = {
        .disable = mga_crtc_disable,
        .dpms = mga_crtc_dpms,
-       .mode_fixup = mga_crtc_mode_fixup,
        .mode_set = mga_crtc_mode_set,
        .mode_set_base = mga_crtc_mode_set_base,
        .prepare = mga_crtc_prepare,