diff options
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_intel_crt.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_intel_display.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_dsi_dpi.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_intel_display.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/psb_intel_display.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/psb_intel_drv.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/psb_intel_lvds.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/psb_intel_sdvo.c | 6 |
13 files changed, 15 insertions, 15 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_intel_crt.c b/drivers/gpu/drm/gma500/cdv_intel_crt.c index 187422018601..8c175345d85c 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_crt.c +++ b/drivers/gpu/drm/gma500/cdv_intel_crt.c | |||
@@ -82,7 +82,7 @@ static int cdv_intel_crt_mode_valid(struct drm_connector *connector, | |||
82 | } | 82 | } |
83 | 83 | ||
84 | static bool cdv_intel_crt_mode_fixup(struct drm_encoder *encoder, | 84 | static bool cdv_intel_crt_mode_fixup(struct drm_encoder *encoder, |
85 | struct drm_display_mode *mode, | 85 | const struct drm_display_mode *mode, |
86 | struct drm_display_mode *adjusted_mode) | 86 | struct drm_display_mode *adjusted_mode) |
87 | { | 87 | { |
88 | return true; | 88 | return true; |
diff --git a/drivers/gpu/drm/gma500/cdv_intel_display.c b/drivers/gpu/drm/gma500/cdv_intel_display.c index c3e9a0f701df..a68509ba22a8 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_display.c +++ b/drivers/gpu/drm/gma500/cdv_intel_display.c | |||
@@ -913,7 +913,7 @@ static void cdv_intel_crtc_commit(struct drm_crtc *crtc) | |||
913 | } | 913 | } |
914 | 914 | ||
915 | static bool cdv_intel_crtc_mode_fixup(struct drm_crtc *crtc, | 915 | static bool cdv_intel_crtc_mode_fixup(struct drm_crtc *crtc, |
916 | struct drm_display_mode *mode, | 916 | const struct drm_display_mode *mode, |
917 | struct drm_display_mode *adjusted_mode) | 917 | struct drm_display_mode *adjusted_mode) |
918 | { | 918 | { |
919 | return true; | 919 | return true; |
diff --git a/drivers/gpu/drm/gma500/cdv_intel_hdmi.c b/drivers/gpu/drm/gma500/cdv_intel_hdmi.c index 88b59d4a7b7f..a86f87b9ddde 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_hdmi.c +++ b/drivers/gpu/drm/gma500/cdv_intel_hdmi.c | |||
@@ -90,7 +90,7 @@ static void cdv_hdmi_mode_set(struct drm_encoder *encoder, | |||
90 | } | 90 | } |
91 | 91 | ||
92 | static bool cdv_hdmi_mode_fixup(struct drm_encoder *encoder, | 92 | static bool cdv_hdmi_mode_fixup(struct drm_encoder *encoder, |
93 | struct drm_display_mode *mode, | 93 | const struct drm_display_mode *mode, |
94 | struct drm_display_mode *adjusted_mode) | 94 | struct drm_display_mode *adjusted_mode) |
95 | { | 95 | { |
96 | return true; | 96 | return true; |
diff --git a/drivers/gpu/drm/gma500/cdv_intel_lvds.c b/drivers/gpu/drm/gma500/cdv_intel_lvds.c index ff5b58eb878c..c7f9468b74ba 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_lvds.c +++ b/drivers/gpu/drm/gma500/cdv_intel_lvds.c | |||
@@ -270,7 +270,7 @@ static int cdv_intel_lvds_mode_valid(struct drm_connector *connector, | |||
270 | } | 270 | } |
271 | 271 | ||
272 | static bool cdv_intel_lvds_mode_fixup(struct drm_encoder *encoder, | 272 | static bool cdv_intel_lvds_mode_fixup(struct drm_encoder *encoder, |
273 | struct drm_display_mode *mode, | 273 | const struct drm_display_mode *mode, |
274 | struct drm_display_mode *adjusted_mode) | 274 | struct drm_display_mode *adjusted_mode) |
275 | { | 275 | { |
276 | struct drm_device *dev = encoder->dev; | 276 | struct drm_device *dev = encoder->dev; |
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c index b34ff097b979..d4813e03f5ee 100644 --- a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c +++ b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | |||
@@ -684,7 +684,7 @@ void mdfld_dsi_dpi_dpms(struct drm_encoder *encoder, int mode) | |||
684 | } | 684 | } |
685 | 685 | ||
686 | bool mdfld_dsi_dpi_mode_fixup(struct drm_encoder *encoder, | 686 | bool mdfld_dsi_dpi_mode_fixup(struct drm_encoder *encoder, |
687 | struct drm_display_mode *mode, | 687 | const struct drm_display_mode *mode, |
688 | struct drm_display_mode *adjusted_mode) | 688 | struct drm_display_mode *adjusted_mode) |
689 | { | 689 | { |
690 | struct mdfld_dsi_encoder *dsi_encoder = mdfld_dsi_encoder(encoder); | 690 | struct mdfld_dsi_encoder *dsi_encoder = mdfld_dsi_encoder(encoder); |
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.h b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.h index 6f762478b959..2b40663e1696 100644 --- a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.h +++ b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.h | |||
@@ -65,7 +65,7 @@ extern struct mdfld_dsi_encoder *mdfld_dsi_dpi_init(struct drm_device *dev, | |||
65 | /* MDFLD DPI helper functions */ | 65 | /* MDFLD DPI helper functions */ |
66 | extern void mdfld_dsi_dpi_dpms(struct drm_encoder *encoder, int mode); | 66 | extern void mdfld_dsi_dpi_dpms(struct drm_encoder *encoder, int mode); |
67 | extern bool mdfld_dsi_dpi_mode_fixup(struct drm_encoder *encoder, | 67 | extern bool mdfld_dsi_dpi_mode_fixup(struct drm_encoder *encoder, |
68 | struct drm_display_mode *mode, | 68 | const struct drm_display_mode *mode, |
69 | struct drm_display_mode *adjusted_mode); | 69 | struct drm_display_mode *adjusted_mode); |
70 | extern void mdfld_dsi_dpi_prepare(struct drm_encoder *encoder); | 70 | extern void mdfld_dsi_dpi_prepare(struct drm_encoder *encoder); |
71 | extern void mdfld_dsi_dpi_commit(struct drm_encoder *encoder); | 71 | extern void mdfld_dsi_dpi_commit(struct drm_encoder *encoder); |
diff --git a/drivers/gpu/drm/gma500/mdfld_intel_display.c b/drivers/gpu/drm/gma500/mdfld_intel_display.c index 3f3cd619c79f..dec6a9aea3c6 100644 --- a/drivers/gpu/drm/gma500/mdfld_intel_display.c +++ b/drivers/gpu/drm/gma500/mdfld_intel_display.c | |||
@@ -117,7 +117,7 @@ static void psb_intel_crtc_commit(struct drm_crtc *crtc) | |||
117 | } | 117 | } |
118 | 118 | ||
119 | static bool psb_intel_crtc_mode_fixup(struct drm_crtc *crtc, | 119 | static bool psb_intel_crtc_mode_fixup(struct drm_crtc *crtc, |
120 | struct drm_display_mode *mode, | 120 | const struct drm_display_mode *mode, |
121 | struct drm_display_mode *adjusted_mode) | 121 | struct drm_display_mode *adjusted_mode) |
122 | { | 122 | { |
123 | return true; | 123 | return true; |
diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c index f821c835ca90..cdafd2acc72f 100644 --- a/drivers/gpu/drm/gma500/oaktrail_crtc.c +++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c | |||
@@ -487,7 +487,7 @@ oaktrail_crtc_mode_set_exit: | |||
487 | } | 487 | } |
488 | 488 | ||
489 | static bool oaktrail_crtc_mode_fixup(struct drm_crtc *crtc, | 489 | static bool oaktrail_crtc_mode_fixup(struct drm_crtc *crtc, |
490 | struct drm_display_mode *mode, | 490 | const struct drm_display_mode *mode, |
491 | struct drm_display_mode *adjusted_mode) | 491 | struct drm_display_mode *adjusted_mode) |
492 | { | 492 | { |
493 | return true; | 493 | return true; |
diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi.c b/drivers/gpu/drm/gma500/oaktrail_hdmi.c index c10899c953b9..2eb3dc4e9c9b 100644 --- a/drivers/gpu/drm/gma500/oaktrail_hdmi.c +++ b/drivers/gpu/drm/gma500/oaktrail_hdmi.c | |||
@@ -191,7 +191,7 @@ static int oaktrail_hdmi_mode_valid(struct drm_connector *connector, | |||
191 | } | 191 | } |
192 | 192 | ||
193 | static bool oaktrail_hdmi_mode_fixup(struct drm_encoder *encoder, | 193 | static bool oaktrail_hdmi_mode_fixup(struct drm_encoder *encoder, |
194 | struct drm_display_mode *mode, | 194 | const struct drm_display_mode *mode, |
195 | struct drm_display_mode *adjusted_mode) | 195 | struct drm_display_mode *adjusted_mode) |
196 | { | 196 | { |
197 | return true; | 197 | return true; |
diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb_intel_display.c index 36c3c99612f6..30dc22a7156c 100644 --- a/drivers/gpu/drm/gma500/psb_intel_display.c +++ b/drivers/gpu/drm/gma500/psb_intel_display.c | |||
@@ -543,7 +543,7 @@ void psb_intel_encoder_destroy(struct drm_encoder *encoder) | |||
543 | } | 543 | } |
544 | 544 | ||
545 | static bool psb_intel_crtc_mode_fixup(struct drm_crtc *crtc, | 545 | static bool psb_intel_crtc_mode_fixup(struct drm_crtc *crtc, |
546 | struct drm_display_mode *mode, | 546 | const struct drm_display_mode *mode, |
547 | struct drm_display_mode *adjusted_mode) | 547 | struct drm_display_mode *adjusted_mode) |
548 | { | 548 | { |
549 | return true; | 549 | return true; |
diff --git a/drivers/gpu/drm/gma500/psb_intel_drv.h b/drivers/gpu/drm/gma500/psb_intel_drv.h index 2515f83248cb..ebe1a28f60e1 100644 --- a/drivers/gpu/drm/gma500/psb_intel_drv.h +++ b/drivers/gpu/drm/gma500/psb_intel_drv.h | |||
@@ -268,7 +268,7 @@ extern struct drm_framebuffer *psb_intel_framebuffer_create(struct drm_device | |||
268 | *mode_cmd, | 268 | *mode_cmd, |
269 | void *mm_private); | 269 | void *mm_private); |
270 | extern bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder, | 270 | extern bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder, |
271 | struct drm_display_mode *mode, | 271 | const struct drm_display_mode *mode, |
272 | struct drm_display_mode *adjusted_mode); | 272 | struct drm_display_mode *adjusted_mode); |
273 | extern int psb_intel_lvds_mode_valid(struct drm_connector *connector, | 273 | extern int psb_intel_lvds_mode_valid(struct drm_connector *connector, |
274 | struct drm_display_mode *mode); | 274 | struct drm_display_mode *mode); |
diff --git a/drivers/gpu/drm/gma500/psb_intel_lvds.c b/drivers/gpu/drm/gma500/psb_intel_lvds.c index c83f5b5d1057..37adc9edf974 100644 --- a/drivers/gpu/drm/gma500/psb_intel_lvds.c +++ b/drivers/gpu/drm/gma500/psb_intel_lvds.c | |||
@@ -375,7 +375,7 @@ int psb_intel_lvds_mode_valid(struct drm_connector *connector, | |||
375 | } | 375 | } |
376 | 376 | ||
377 | bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder, | 377 | bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder, |
378 | struct drm_display_mode *mode, | 378 | const struct drm_display_mode *mode, |
379 | struct drm_display_mode *adjusted_mode) | 379 | struct drm_display_mode *adjusted_mode) |
380 | { | 380 | { |
381 | struct drm_device *dev = encoder->dev; | 381 | struct drm_device *dev = encoder->dev; |
diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo.c b/drivers/gpu/drm/gma500/psb_intel_sdvo.c index d39b15be7649..0466c7b985f8 100644 --- a/drivers/gpu/drm/gma500/psb_intel_sdvo.c +++ b/drivers/gpu/drm/gma500/psb_intel_sdvo.c | |||
@@ -901,7 +901,7 @@ static bool psb_intel_sdvo_set_tv_format(struct psb_intel_sdvo *psb_intel_sdvo) | |||
901 | 901 | ||
902 | static bool | 902 | static bool |
903 | psb_intel_sdvo_set_output_timings_from_mode(struct psb_intel_sdvo *psb_intel_sdvo, | 903 | psb_intel_sdvo_set_output_timings_from_mode(struct psb_intel_sdvo *psb_intel_sdvo, |
904 | struct drm_display_mode *mode) | 904 | const struct drm_display_mode *mode) |
905 | { | 905 | { |
906 | struct psb_intel_sdvo_dtd output_dtd; | 906 | struct psb_intel_sdvo_dtd output_dtd; |
907 | 907 | ||
@@ -918,7 +918,7 @@ psb_intel_sdvo_set_output_timings_from_mode(struct psb_intel_sdvo *psb_intel_sdv | |||
918 | 918 | ||
919 | static bool | 919 | static bool |
920 | psb_intel_sdvo_set_input_timings_for_mode(struct psb_intel_sdvo *psb_intel_sdvo, | 920 | psb_intel_sdvo_set_input_timings_for_mode(struct psb_intel_sdvo *psb_intel_sdvo, |
921 | struct drm_display_mode *mode, | 921 | const struct drm_display_mode *mode, |
922 | struct drm_display_mode *adjusted_mode) | 922 | struct drm_display_mode *adjusted_mode) |
923 | { | 923 | { |
924 | /* Reset the input timing to the screen. Assume always input 0. */ | 924 | /* Reset the input timing to the screen. Assume always input 0. */ |
@@ -942,7 +942,7 @@ psb_intel_sdvo_set_input_timings_for_mode(struct psb_intel_sdvo *psb_intel_sdvo, | |||
942 | } | 942 | } |
943 | 943 | ||
944 | static bool psb_intel_sdvo_mode_fixup(struct drm_encoder *encoder, | 944 | static bool psb_intel_sdvo_mode_fixup(struct drm_encoder *encoder, |
945 | struct drm_display_mode *mode, | 945 | const struct drm_display_mode *mode, |
946 | struct drm_display_mode *adjusted_mode) | 946 | struct drm_display_mode *adjusted_mode) |
947 | { | 947 | { |
948 | struct psb_intel_sdvo *psb_intel_sdvo = to_psb_intel_sdvo(encoder); | 948 | struct psb_intel_sdvo *psb_intel_sdvo = to_psb_intel_sdvo(encoder); |