diff options
author | Carlos Palminha <CARLOS.PALMINHA@synopsys.com> | 2016-02-16 09:16:51 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-03-04 11:54:12 -0500 |
commit | 3382553d504c322d10b791d6a964413b215cccfc (patch) | |
tree | 4bf98343c9d558b2b79add8c553d20ae9ec195e9 | |
parent | 9459545b9c966bd221e6e3129b635a4b0a9cf6c2 (diff) |
drm/cirrus: 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/5a3c41fed15847549f9bdeae89b72705b4756cc4.1455630967.git.palminha@synopsys.com
-rw-r--r-- | drivers/gpu/drm/cirrus/cirrus_mode.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/cirrus/cirrus_mode.c b/drivers/gpu/drm/cirrus/cirrus_mode.c index 432ce9440e09..d3d8d7bfcc57 100644 --- a/drivers/gpu/drm/cirrus/cirrus_mode.c +++ b/drivers/gpu/drm/cirrus/cirrus_mode.c | |||
@@ -91,18 +91,6 @@ static void cirrus_crtc_dpms(struct drm_crtc *crtc, int mode) | |||
91 | WREG_GFX(0xe, gr0e); | 91 | WREG_GFX(0xe, gr0e); |
92 | } | 92 | } |
93 | 93 | ||
94 | /* | ||
95 | * The core passes the desired mode to the CRTC code to see whether any | ||
96 | * CRTC-specific modifications need to be made to it. We're in a position | ||
97 | * to just pass that straight through, so this does nothing | ||
98 | */ | ||
99 | static bool cirrus_crtc_mode_fixup(struct drm_crtc *crtc, | ||
100 | const struct drm_display_mode *mode, | ||
101 | struct drm_display_mode *adjusted_mode) | ||
102 | { | ||
103 | return true; | ||
104 | } | ||
105 | |||
106 | static void cirrus_set_start_address(struct drm_crtc *crtc, unsigned offset) | 94 | static void cirrus_set_start_address(struct drm_crtc *crtc, unsigned offset) |
107 | { | 95 | { |
108 | struct cirrus_device *cdev = crtc->dev->dev_private; | 96 | struct cirrus_device *cdev = crtc->dev->dev_private; |
@@ -372,7 +360,6 @@ static const struct drm_crtc_funcs cirrus_crtc_funcs = { | |||
372 | 360 | ||
373 | static const struct drm_crtc_helper_funcs cirrus_helper_funcs = { | 361 | static const struct drm_crtc_helper_funcs cirrus_helper_funcs = { |
374 | .dpms = cirrus_crtc_dpms, | 362 | .dpms = cirrus_crtc_dpms, |
375 | .mode_fixup = cirrus_crtc_mode_fixup, | ||
376 | .mode_set = cirrus_crtc_mode_set, | 363 | .mode_set = cirrus_crtc_mode_set, |
377 | .mode_set_base = cirrus_crtc_mode_set_base, | 364 | .mode_set_base = cirrus_crtc_mode_set_base, |
378 | .prepare = cirrus_crtc_prepare, | 365 | .prepare = cirrus_crtc_prepare, |