Commit 0c16443a authored by Samuel Li's avatar Samuel Li Committed by Alex Deucher

drm/amdgpu: rename amdgpu_crtc_scaling_mode_fixup

Add display to the name for consistency.
Signed-off-by: default avatarSamuel Li <Samuel.Li@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 166140fb
...@@ -668,7 +668,7 @@ static bool amdgpu_display_is_hdtv_mode(const struct drm_display_mode *mode) ...@@ -668,7 +668,7 @@ static bool amdgpu_display_is_hdtv_mode(const struct drm_display_mode *mode)
return false; return false;
} }
bool amdgpu_crtc_scaling_mode_fixup(struct drm_crtc *crtc, bool amdgpu_display_crtc_scaling_mode_fixup(struct drm_crtc *crtc,
const struct drm_display_mode *mode, const struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode) struct drm_display_mode *adjusted_mode)
{ {
......
...@@ -646,7 +646,7 @@ int amdgpufb_remove(struct drm_device *dev, struct drm_framebuffer *fb); ...@@ -646,7 +646,7 @@ int amdgpufb_remove(struct drm_device *dev, struct drm_framebuffer *fb);
void amdgpu_enc_destroy(struct drm_encoder *encoder); void amdgpu_enc_destroy(struct drm_encoder *encoder);
void amdgpu_copy_fb(struct drm_device *dev, struct drm_gem_object *dst_obj); void amdgpu_copy_fb(struct drm_device *dev, struct drm_gem_object *dst_obj);
bool amdgpu_crtc_scaling_mode_fixup(struct drm_crtc *crtc, bool amdgpu_display_crtc_scaling_mode_fixup(struct drm_crtc *crtc,
const struct drm_display_mode *mode, const struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode); struct drm_display_mode *adjusted_mode);
void amdgpu_panel_mode_fixup(struct drm_encoder *encoder, void amdgpu_panel_mode_fixup(struct drm_encoder *encoder,
......
...@@ -2676,7 +2676,7 @@ static bool dce_v10_0_crtc_mode_fixup(struct drm_crtc *crtc, ...@@ -2676,7 +2676,7 @@ static bool dce_v10_0_crtc_mode_fixup(struct drm_crtc *crtc,
amdgpu_crtc->connector = NULL; amdgpu_crtc->connector = NULL;
return false; return false;
} }
if (!amdgpu_crtc_scaling_mode_fixup(crtc, mode, adjusted_mode)) if (!amdgpu_display_crtc_scaling_mode_fixup(crtc, mode, adjusted_mode))
return false; return false;
if (amdgpu_atombios_crtc_prepare_pll(crtc, adjusted_mode)) if (amdgpu_atombios_crtc_prepare_pll(crtc, adjusted_mode))
return false; return false;
......
...@@ -2779,7 +2779,7 @@ static bool dce_v11_0_crtc_mode_fixup(struct drm_crtc *crtc, ...@@ -2779,7 +2779,7 @@ static bool dce_v11_0_crtc_mode_fixup(struct drm_crtc *crtc,
amdgpu_crtc->connector = NULL; amdgpu_crtc->connector = NULL;
return false; return false;
} }
if (!amdgpu_crtc_scaling_mode_fixup(crtc, mode, adjusted_mode)) if (!amdgpu_display_crtc_scaling_mode_fixup(crtc, mode, adjusted_mode))
return false; return false;
if (amdgpu_atombios_crtc_prepare_pll(crtc, adjusted_mode)) if (amdgpu_atombios_crtc_prepare_pll(crtc, adjusted_mode))
return false; return false;
......
...@@ -2562,7 +2562,7 @@ static bool dce_v6_0_crtc_mode_fixup(struct drm_crtc *crtc, ...@@ -2562,7 +2562,7 @@ static bool dce_v6_0_crtc_mode_fixup(struct drm_crtc *crtc,
amdgpu_crtc->connector = NULL; amdgpu_crtc->connector = NULL;
return false; return false;
} }
if (!amdgpu_crtc_scaling_mode_fixup(crtc, mode, adjusted_mode)) if (!amdgpu_display_crtc_scaling_mode_fixup(crtc, mode, adjusted_mode))
return false; return false;
if (amdgpu_atombios_crtc_prepare_pll(crtc, adjusted_mode)) if (amdgpu_atombios_crtc_prepare_pll(crtc, adjusted_mode))
return false; return false;
......
...@@ -2587,7 +2587,7 @@ static bool dce_v8_0_crtc_mode_fixup(struct drm_crtc *crtc, ...@@ -2587,7 +2587,7 @@ static bool dce_v8_0_crtc_mode_fixup(struct drm_crtc *crtc,
amdgpu_crtc->connector = NULL; amdgpu_crtc->connector = NULL;
return false; return false;
} }
if (!amdgpu_crtc_scaling_mode_fixup(crtc, mode, adjusted_mode)) if (!amdgpu_display_crtc_scaling_mode_fixup(crtc, mode, adjusted_mode))
return false; return false;
if (amdgpu_atombios_crtc_prepare_pll(crtc, adjusted_mode)) if (amdgpu_atombios_crtc_prepare_pll(crtc, adjusted_mode))
return false; return false;
......
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