diff options
Diffstat (limited to 'drivers/gpu/drm/i2c/tda998x_drv.c')
-rw-r--r-- | drivers/gpu/drm/i2c/tda998x_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index a6ba461749b2..ecdb8070ed35 100644 --- a/drivers/gpu/drm/i2c/tda998x_drv.c +++ b/drivers/gpu/drm/i2c/tda998x_drv.c | |||
@@ -849,7 +849,8 @@ tda998x_write_avi(struct tda998x_priv *priv, const struct drm_display_mode *mode | |||
849 | { | 849 | { |
850 | union hdmi_infoframe frame; | 850 | union hdmi_infoframe frame; |
851 | 851 | ||
852 | drm_hdmi_avi_infoframe_from_display_mode(&frame.avi, mode, false); | 852 | drm_hdmi_avi_infoframe_from_display_mode(&frame.avi, |
853 | &priv->connector, mode); | ||
853 | frame.avi.quantization_range = HDMI_QUANTIZATION_RANGE_FULL; | 854 | frame.avi.quantization_range = HDMI_QUANTIZATION_RANGE_FULL; |
854 | 855 | ||
855 | tda998x_write_if(priv, DIP_IF_FLAGS_IF2, REG_IF2_HB0, &frame); | 856 | tda998x_write_if(priv, DIP_IF_FLAGS_IF2, REG_IF2_HB0, &frame); |
@@ -1122,7 +1123,6 @@ static void tda998x_connector_destroy(struct drm_connector *connector) | |||
1122 | } | 1123 | } |
1123 | 1124 | ||
1124 | static const struct drm_connector_funcs tda998x_connector_funcs = { | 1125 | static const struct drm_connector_funcs tda998x_connector_funcs = { |
1125 | .dpms = drm_helper_connector_dpms, | ||
1126 | .reset = drm_atomic_helper_connector_reset, | 1126 | .reset = drm_atomic_helper_connector_reset, |
1127 | .fill_modes = drm_helper_probe_single_connector_modes, | 1127 | .fill_modes = drm_helper_probe_single_connector_modes, |
1128 | .detect = tda998x_connector_detect, | 1128 | .detect = tda998x_connector_detect, |