Commit e7457a9a authored by Damien Lespiau's avatar Damien Lespiau Committed by Daniel Vetter

drm/i915: Make intel_set_mode() static

Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 1414f6c0
...@@ -50,6 +50,10 @@ static void i9xx_crtc_clock_get(struct intel_crtc *crtc, ...@@ -50,6 +50,10 @@ static void i9xx_crtc_clock_get(struct intel_crtc *crtc,
static void ironlake_crtc_clock_get(struct intel_crtc *crtc, static void ironlake_crtc_clock_get(struct intel_crtc *crtc,
struct intel_crtc_config *pipe_config); struct intel_crtc_config *pipe_config);
static int intel_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
int x, int y, struct drm_framebuffer *old_fb);
typedef struct { typedef struct {
int min, max; int min, max;
} intel_range_t; } intel_range_t;
...@@ -8732,9 +8736,9 @@ static int __intel_set_mode(struct drm_crtc *crtc, ...@@ -8732,9 +8736,9 @@ static int __intel_set_mode(struct drm_crtc *crtc,
return ret; return ret;
} }
int intel_set_mode(struct drm_crtc *crtc, static int intel_set_mode(struct drm_crtc *crtc,
struct drm_display_mode *mode, struct drm_display_mode *mode,
int x, int y, struct drm_framebuffer *fb) int x, int y, struct drm_framebuffer *fb)
{ {
int ret; int ret;
......
...@@ -576,8 +576,6 @@ struct intel_set_config { ...@@ -576,8 +576,6 @@ struct intel_set_config {
bool mode_changed; bool mode_changed;
}; };
extern int intel_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
int x, int y, struct drm_framebuffer *old_fb);
extern void intel_crtc_restore_mode(struct drm_crtc *crtc); extern void intel_crtc_restore_mode(struct drm_crtc *crtc);
extern void intel_crtc_load_lut(struct drm_crtc *crtc); extern void intel_crtc_load_lut(struct drm_crtc *crtc);
extern void intel_crtc_update_dpms(struct drm_crtc *crtc); extern void intel_crtc_update_dpms(struct drm_crtc *crtc);
......
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