Commit e41c5c24 authored by Philipp Zabel's avatar Philipp Zabel

drm/imx: remove empty mode_set encoder callbacks

With atomic modeset support, these callbacks are optional.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 8535c022
...@@ -111,12 +111,6 @@ static void dw_hdmi_imx_encoder_disable(struct drm_encoder *encoder) ...@@ -111,12 +111,6 @@ static void dw_hdmi_imx_encoder_disable(struct drm_encoder *encoder)
{ {
} }
static void dw_hdmi_imx_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adj_mode)
{
}
static void dw_hdmi_imx_encoder_enable(struct drm_encoder *encoder) static void dw_hdmi_imx_encoder_enable(struct drm_encoder *encoder)
{ {
struct imx_drm_encoder *imx_encoder = enc_to_imx_enc(encoder); struct imx_drm_encoder *imx_encoder = enc_to_imx_enc(encoder);
...@@ -129,7 +123,6 @@ static void dw_hdmi_imx_encoder_enable(struct drm_encoder *encoder) ...@@ -129,7 +123,6 @@ static void dw_hdmi_imx_encoder_enable(struct drm_encoder *encoder)
} }
static const struct drm_encoder_helper_funcs dw_hdmi_imx_encoder_helper_funcs = { static const struct drm_encoder_helper_funcs dw_hdmi_imx_encoder_helper_funcs = {
.mode_set = dw_hdmi_imx_encoder_mode_set,
.enable = dw_hdmi_imx_encoder_enable, .enable = dw_hdmi_imx_encoder_enable,
.disable = dw_hdmi_imx_encoder_disable, .disable = dw_hdmi_imx_encoder_disable,
}; };
......
...@@ -101,12 +101,6 @@ static void imx_pd_encoder_enable(struct drm_encoder *encoder) ...@@ -101,12 +101,6 @@ static void imx_pd_encoder_enable(struct drm_encoder *encoder)
drm_panel_enable(imxpd->panel); drm_panel_enable(imxpd->panel);
} }
static void imx_pd_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *orig_mode,
struct drm_display_mode *mode)
{
}
static void imx_pd_encoder_disable(struct drm_encoder *encoder) static void imx_pd_encoder_disable(struct drm_encoder *encoder)
{ {
struct imx_drm_encoder *imx_encoder = enc_to_imx_enc(encoder); struct imx_drm_encoder *imx_encoder = enc_to_imx_enc(encoder);
...@@ -136,7 +130,6 @@ static const struct drm_encoder_funcs imx_pd_encoder_funcs = { ...@@ -136,7 +130,6 @@ static const struct drm_encoder_funcs imx_pd_encoder_funcs = {
}; };
static const struct drm_encoder_helper_funcs imx_pd_encoder_helper_funcs = { static const struct drm_encoder_helper_funcs imx_pd_encoder_helper_funcs = {
.mode_set = imx_pd_encoder_mode_set,
.enable = imx_pd_encoder_enable, .enable = imx_pd_encoder_enable,
.disable = imx_pd_encoder_disable, .disable = imx_pd_encoder_disable,
}; };
......
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