mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-11 16:24:26 +08:00
drm/amdgpu: rename amdgpu_crtc_set_config
Add display to the name for consistency. Signed-off-by: Samuel Li <Samuel.Li@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0cd1193236
commit
775a836425
@ -257,8 +257,8 @@ cleanup:
|
||||
return r;
|
||||
}
|
||||
|
||||
int amdgpu_crtc_set_config(struct drm_mode_set *set,
|
||||
struct drm_modeset_acquire_ctx *ctx)
|
||||
int amdgpu_display_crtc_set_config(struct drm_mode_set *set,
|
||||
struct drm_modeset_acquire_ctx *ctx)
|
||||
{
|
||||
struct drm_device *dev;
|
||||
struct amdgpu_device *adev;
|
||||
|
@ -664,8 +664,8 @@ int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tile
|
||||
/* amdgpu_display.c */
|
||||
void amdgpu_print_display_setup(struct drm_device *dev);
|
||||
int amdgpu_modeset_create_props(struct amdgpu_device *adev);
|
||||
int amdgpu_crtc_set_config(struct drm_mode_set *set,
|
||||
struct drm_modeset_acquire_ctx *ctx);
|
||||
int amdgpu_display_crtc_set_config(struct drm_mode_set *set,
|
||||
struct drm_modeset_acquire_ctx *ctx);
|
||||
int amdgpu_display_crtc_page_flip_target(struct drm_crtc *crtc,
|
||||
struct drm_framebuffer *fb,
|
||||
struct drm_pending_vblank_event *event,
|
||||
|
@ -2517,7 +2517,7 @@ static const struct drm_crtc_funcs dce_v10_0_crtc_funcs = {
|
||||
.cursor_set2 = dce_v10_0_crtc_cursor_set2,
|
||||
.cursor_move = dce_v10_0_crtc_cursor_move,
|
||||
.gamma_set = dce_v10_0_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.set_config = amdgpu_display_crtc_set_config,
|
||||
.destroy = dce_v10_0_crtc_destroy,
|
||||
.page_flip_target = amdgpu_display_crtc_page_flip_target,
|
||||
};
|
||||
|
@ -2592,7 +2592,7 @@ static const struct drm_crtc_funcs dce_v11_0_crtc_funcs = {
|
||||
.cursor_set2 = dce_v11_0_crtc_cursor_set2,
|
||||
.cursor_move = dce_v11_0_crtc_cursor_move,
|
||||
.gamma_set = dce_v11_0_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.set_config = amdgpu_display_crtc_set_config,
|
||||
.destroy = dce_v11_0_crtc_destroy,
|
||||
.page_flip_target = amdgpu_display_crtc_page_flip_target,
|
||||
};
|
||||
|
@ -2407,7 +2407,7 @@ static const struct drm_crtc_funcs dce_v6_0_crtc_funcs = {
|
||||
.cursor_set2 = dce_v6_0_crtc_cursor_set2,
|
||||
.cursor_move = dce_v6_0_crtc_cursor_move,
|
||||
.gamma_set = dce_v6_0_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.set_config = amdgpu_display_crtc_set_config,
|
||||
.destroy = dce_v6_0_crtc_destroy,
|
||||
.page_flip_target = amdgpu_display_crtc_page_flip_target,
|
||||
};
|
||||
|
@ -2421,7 +2421,7 @@ static const struct drm_crtc_funcs dce_v8_0_crtc_funcs = {
|
||||
.cursor_set2 = dce_v8_0_crtc_cursor_set2,
|
||||
.cursor_move = dce_v8_0_crtc_cursor_move,
|
||||
.gamma_set = dce_v8_0_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.set_config = amdgpu_display_crtc_set_config,
|
||||
.destroy = dce_v8_0_crtc_destroy,
|
||||
.page_flip_target = amdgpu_display_crtc_page_flip_target,
|
||||
};
|
||||
|
@ -130,7 +130,7 @@ static const struct drm_crtc_funcs dce_virtual_crtc_funcs = {
|
||||
.cursor_set2 = NULL,
|
||||
.cursor_move = NULL,
|
||||
.gamma_set = dce_virtual_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.set_config = amdgpu_display_crtc_set_config,
|
||||
.destroy = dce_virtual_crtc_destroy,
|
||||
.page_flip_target = amdgpu_display_crtc_page_flip_target,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user