Commit 2a1dc26b authored by Carlos Palminha's avatar Carlos Palminha Committed by Daniel Vetter

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: default avatarCarlos Palminha <palminha@synopsys.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/3d089c84bcb1aafd485d4944ad472f9843c38eaf.1455630967.git.palminha@synopsys.com
parent 3382553d
...@@ -92,18 +92,6 @@ static inline void mga_wait_busy(struct mga_device *mdev) ...@@ -92,18 +92,6 @@ static inline void mga_wait_busy(struct mga_device *mdev)
} while ((status & 0x01) && time_before(jiffies, timeout)); } 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 #define P_ARRAY_SIZE 9
static int mga_g200se_set_plls(struct mga_device *mdev, long clock) 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 = { ...@@ -1410,7 +1398,6 @@ static const struct drm_crtc_funcs mga_crtc_funcs = {
static const struct drm_crtc_helper_funcs mga_helper_funcs = { static const struct drm_crtc_helper_funcs mga_helper_funcs = {
.disable = mga_crtc_disable, .disable = mga_crtc_disable,
.dpms = mga_crtc_dpms, .dpms = mga_crtc_dpms,
.mode_fixup = mga_crtc_mode_fixup,
.mode_set = mga_crtc_mode_set, .mode_set = mga_crtc_mode_set,
.mode_set_base = mga_crtc_mode_set_base, .mode_set_base = mga_crtc_mode_set_base,
.prepare = mga_crtc_prepare, .prepare = mga_crtc_prepare,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment