aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/dvo.h2
-rw-r--r--drivers/gpu/drm/i915/intel_crt.c2
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c3
-rw-r--r--drivers/gpu/drm/i915/intel_dvo.c2
-rw-r--r--drivers/gpu/drm/i915/intel_hdmi.c2
-rw-r--r--drivers/gpu/drm/i915/intel_lvds.c2
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c6
-rw-r--r--drivers/gpu/drm/i915/intel_tv.c3
8 files changed, 12 insertions, 10 deletions
diff --git a/drivers/gpu/drm/i915/dvo.h b/drivers/gpu/drm/i915/dvo.h
index 8c2ad014c47f..58914691a77b 100644
--- a/drivers/gpu/drm/i915/dvo.h
+++ b/drivers/gpu/drm/i915/dvo.h
@@ -86,7 +86,7 @@ struct intel_dvo_dev_ops {
86 * buses with clock limitations. 86 * buses with clock limitations.
87 */ 87 */
88 bool (*mode_fixup)(struct intel_dvo_device *dvo, 88 bool (*mode_fixup)(struct intel_dvo_device *dvo,
89 struct drm_display_mode *mode, 89 const struct drm_display_mode *mode,
90 struct drm_display_mode *adjusted_mode); 90 struct drm_display_mode *adjusted_mode);
91 91
92 /* 92 /*
diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
index 61d55d3141c7..48e3b76e0ab2 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -132,7 +132,7 @@ static int intel_crt_mode_valid(struct drm_connector *connector,
132} 132}
133 133
134static bool intel_crt_mode_fixup(struct drm_encoder *encoder, 134static bool intel_crt_mode_fixup(struct drm_encoder *encoder,
135 struct drm_display_mode *mode, 135 const struct drm_display_mode *mode,
136 struct drm_display_mode *adjusted_mode) 136 struct drm_display_mode *adjusted_mode)
137{ 137{
138 return true; 138 return true;
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 95817c4edbe9..2bc1505132c3 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -703,7 +703,8 @@ intel_dp_i2c_init(struct intel_dp *intel_dp,
703} 703}
704 704
705static bool 705static bool
706intel_dp_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode, 706intel_dp_mode_fixup(struct drm_encoder *encoder,
707 const struct drm_display_mode *mode,
707 struct drm_display_mode *adjusted_mode) 708 struct drm_display_mode *adjusted_mode)
708{ 709{
709 struct drm_device *dev = encoder->dev; 710 struct drm_device *dev = encoder->dev;
diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c
index 60ba50b956f2..36c542e5036b 100644
--- a/drivers/gpu/drm/i915/intel_dvo.c
+++ b/drivers/gpu/drm/i915/intel_dvo.c
@@ -136,7 +136,7 @@ static int intel_dvo_mode_valid(struct drm_connector *connector,
136} 136}
137 137
138static bool intel_dvo_mode_fixup(struct drm_encoder *encoder, 138static bool intel_dvo_mode_fixup(struct drm_encoder *encoder,
139 struct drm_display_mode *mode, 139 const struct drm_display_mode *mode,
140 struct drm_display_mode *adjusted_mode) 140 struct drm_display_mode *adjusted_mode)
141{ 141{
142 struct intel_dvo *intel_dvo = enc_to_intel_dvo(encoder); 142 struct intel_dvo *intel_dvo = enc_to_intel_dvo(encoder);
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index 5b2c88ca6edb..98f602427eb8 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -685,7 +685,7 @@ static int intel_hdmi_mode_valid(struct drm_connector *connector,
685} 685}
686 686
687static bool intel_hdmi_mode_fixup(struct drm_encoder *encoder, 687static bool intel_hdmi_mode_fixup(struct drm_encoder *encoder,
688 struct drm_display_mode *mode, 688 const struct drm_display_mode *mode,
689 struct drm_display_mode *adjusted_mode) 689 struct drm_display_mode *adjusted_mode)
690{ 690{
691 return true; 691 return true;
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index 9b706a540d70..49f09a8b05e9 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -229,7 +229,7 @@ static inline u32 panel_fitter_scaling(u32 source, u32 target)
229} 229}
230 230
231static bool intel_lvds_mode_fixup(struct drm_encoder *encoder, 231static bool intel_lvds_mode_fixup(struct drm_encoder *encoder,
232 struct drm_display_mode *mode, 232 const struct drm_display_mode *mode,
233 struct drm_display_mode *adjusted_mode) 233 struct drm_display_mode *adjusted_mode)
234{ 234{
235 struct drm_device *dev = encoder->dev; 235 struct drm_device *dev = encoder->dev;
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 2f5106a488c5..26a6a4d0d078 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -935,7 +935,7 @@ static bool intel_sdvo_set_tv_format(struct intel_sdvo *intel_sdvo)
935 935
936static bool 936static bool
937intel_sdvo_set_output_timings_from_mode(struct intel_sdvo *intel_sdvo, 937intel_sdvo_set_output_timings_from_mode(struct intel_sdvo *intel_sdvo,
938 struct drm_display_mode *mode) 938 const struct drm_display_mode *mode)
939{ 939{
940 struct intel_sdvo_dtd output_dtd; 940 struct intel_sdvo_dtd output_dtd;
941 941
@@ -954,7 +954,7 @@ intel_sdvo_set_output_timings_from_mode(struct intel_sdvo *intel_sdvo,
954 * Unfortunately we have to set up the full output mode to do that. */ 954 * Unfortunately we have to set up the full output mode to do that. */
955static bool 955static bool
956intel_sdvo_get_preferred_input_mode(struct intel_sdvo *intel_sdvo, 956intel_sdvo_get_preferred_input_mode(struct intel_sdvo *intel_sdvo,
957 struct drm_display_mode *mode, 957 const struct drm_display_mode *mode,
958 struct drm_display_mode *adjusted_mode) 958 struct drm_display_mode *adjusted_mode)
959{ 959{
960 struct intel_sdvo_dtd input_dtd; 960 struct intel_sdvo_dtd input_dtd;
@@ -979,7 +979,7 @@ intel_sdvo_get_preferred_input_mode(struct intel_sdvo *intel_sdvo,
979} 979}
980 980
981static bool intel_sdvo_mode_fixup(struct drm_encoder *encoder, 981static bool intel_sdvo_mode_fixup(struct drm_encoder *encoder,
982 struct drm_display_mode *mode, 982 const struct drm_display_mode *mode,
983 struct drm_display_mode *adjusted_mode) 983 struct drm_display_mode *adjusted_mode)
984{ 984{
985 struct intel_sdvo *intel_sdvo = to_intel_sdvo(encoder); 985 struct intel_sdvo *intel_sdvo = to_intel_sdvo(encoder);
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
index 3b413c9042c0..befce6c49704 100644
--- a/drivers/gpu/drm/i915/intel_tv.c
+++ b/drivers/gpu/drm/i915/intel_tv.c
@@ -891,7 +891,8 @@ intel_tv_mode_valid(struct drm_connector *connector,
891 891
892 892
893static bool 893static bool
894intel_tv_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode, 894intel_tv_mode_fixup(struct drm_encoder *encoder,
895 const struct drm_display_mode *mode,
895 struct drm_display_mode *adjusted_mode) 896 struct drm_display_mode *adjusted_mode)
896{ 897{
897 struct drm_device *dev = encoder->dev; 898 struct drm_device *dev = encoder->dev;