Commit b205b8eb authored by Carlos Palminha's avatar Carlos Palminha Committed by Daniel Vetter

drm/msm/mdp: 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>
parent 4091e54e
...@@ -147,13 +147,6 @@ static void mdp4_crtc_destroy(struct drm_crtc *crtc) ...@@ -147,13 +147,6 @@ static void mdp4_crtc_destroy(struct drm_crtc *crtc)
kfree(mdp4_crtc); kfree(mdp4_crtc);
} }
static bool mdp4_crtc_mode_fixup(struct drm_crtc *crtc,
const struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
return true;
}
/* statically (for now) map planes to mixer stage (z-order): */ /* statically (for now) map planes to mixer stage (z-order): */
static const int idxs[] = { static const int idxs[] = {
[VG1] = 1, [VG1] = 1,
...@@ -508,7 +501,6 @@ static const struct drm_crtc_funcs mdp4_crtc_funcs = { ...@@ -508,7 +501,6 @@ static const struct drm_crtc_funcs mdp4_crtc_funcs = {
}; };
static const struct drm_crtc_helper_funcs mdp4_crtc_helper_funcs = { static const struct drm_crtc_helper_funcs mdp4_crtc_helper_funcs = {
.mode_fixup = mdp4_crtc_mode_fixup,
.mode_set_nofb = mdp4_crtc_mode_set_nofb, .mode_set_nofb = mdp4_crtc_mode_set_nofb,
.disable = mdp4_crtc_disable, .disable = mdp4_crtc_disable,
.enable = mdp4_crtc_enable, .enable = mdp4_crtc_enable,
......
...@@ -185,13 +185,6 @@ static void mdp5_crtc_destroy(struct drm_crtc *crtc) ...@@ -185,13 +185,6 @@ static void mdp5_crtc_destroy(struct drm_crtc *crtc)
kfree(mdp5_crtc); kfree(mdp5_crtc);
} }
static bool mdp5_crtc_mode_fixup(struct drm_crtc *crtc,
const struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
return true;
}
/* /*
* blend_setup() - blend all the planes of a CRTC * blend_setup() - blend all the planes of a CRTC
* *
...@@ -634,7 +627,6 @@ static const struct drm_crtc_funcs mdp5_crtc_funcs = { ...@@ -634,7 +627,6 @@ static const struct drm_crtc_funcs mdp5_crtc_funcs = {
}; };
static const struct drm_crtc_helper_funcs mdp5_crtc_helper_funcs = { static const struct drm_crtc_helper_funcs mdp5_crtc_helper_funcs = {
.mode_fixup = mdp5_crtc_mode_fixup,
.mode_set_nofb = mdp5_crtc_mode_set_nofb, .mode_set_nofb = mdp5_crtc_mode_set_nofb,
.disable = mdp5_crtc_disable, .disable = mdp5_crtc_disable,
.enable = mdp5_crtc_enable, .enable = mdp5_crtc_enable,
......
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