Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/mgag200: removed optional dummy crtc mode_fixup function.

This patch set nukes all the dummy crtc mode_fixup implementations.
(made on top of Daniel topic/drm-misc branch)

Signed-off-by: Carlos Palminha <palminha@synopsys.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/3d089c84bcb1aafd485d4944ad472f9843c38eaf.1455630967.git.palminha@synopsys.com

authored by

Carlos Palminha and committed by
Daniel Vetter
2a1dc26b 3382553d

-13
-13
drivers/gpu/drm/mgag200/mgag200_mode.c
··· 92 92 } while ((status & 0x01) && time_before(jiffies, timeout)); 93 93 } 94 94 95 - /* 96 - * The core passes the desired mode to the CRTC code to see whether any 97 - * CRTC-specific modifications need to be made to it. We're in a position 98 - * to just pass that straight through, so this does nothing 99 - */ 100 - static bool mga_crtc_mode_fixup(struct drm_crtc *crtc, 101 - const struct drm_display_mode *mode, 102 - struct drm_display_mode *adjusted_mode) 103 - { 104 - return true; 105 - } 106 - 107 95 #define P_ARRAY_SIZE 9 108 96 109 97 static int mga_g200se_set_plls(struct mga_device *mdev, long clock) ··· 1398 1410 static const struct drm_crtc_helper_funcs mga_helper_funcs = { 1399 1411 .disable = mga_crtc_disable, 1400 1412 .dpms = mga_crtc_dpms, 1401 - .mode_fixup = mga_crtc_mode_fixup, 1402 1413 .mode_set = mga_crtc_mode_set, 1403 1414 .mode_set_base = mga_crtc_mode_set_base, 1404 1415 .prepare = mga_crtc_prepare,