Commit 3382553d authored by Carlos Palminha's avatar Carlos Palminha Committed by Daniel Vetter

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: default avatarCarlos Palminha <palminha@synopsys.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/5a3c41fed15847549f9bdeae89b72705b4756cc4.1455630967.git.palminha@synopsys.com
parent 9459545b
...@@ -91,18 +91,6 @@ static void cirrus_crtc_dpms(struct drm_crtc *crtc, int mode) ...@@ -91,18 +91,6 @@ static void cirrus_crtc_dpms(struct drm_crtc *crtc, int mode)
WREG_GFX(0xe, gr0e); WREG_GFX(0xe, gr0e);
} }
/*
* 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 cirrus_crtc_mode_fixup(struct drm_crtc *crtc,
const struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
return true;
}
static void cirrus_set_start_address(struct drm_crtc *crtc, unsigned offset) static void cirrus_set_start_address(struct drm_crtc *crtc, unsigned offset)
{ {
struct cirrus_device *cdev = crtc->dev->dev_private; struct cirrus_device *cdev = crtc->dev->dev_private;
...@@ -372,7 +360,6 @@ static const struct drm_crtc_funcs cirrus_crtc_funcs = { ...@@ -372,7 +360,6 @@ static const struct drm_crtc_funcs cirrus_crtc_funcs = {
static const struct drm_crtc_helper_funcs cirrus_helper_funcs = { static const struct drm_crtc_helper_funcs cirrus_helper_funcs = {
.dpms = cirrus_crtc_dpms, .dpms = cirrus_crtc_dpms,
.mode_fixup = cirrus_crtc_mode_fixup,
.mode_set = cirrus_crtc_mode_set, .mode_set = cirrus_crtc_mode_set,
.mode_set_base = cirrus_crtc_mode_set_base, .mode_set_base = cirrus_crtc_mode_set_base,
.prepare = cirrus_crtc_prepare, .prepare = cirrus_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