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

drm/amdgpu: rename amdgpu_crtc_page_flip_target

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 3a05dc00
...@@ -142,11 +142,11 @@ static void amdgpu_display_unpin_work_func(struct work_struct *__work) ...@@ -142,11 +142,11 @@ static void amdgpu_display_unpin_work_func(struct work_struct *__work)
kfree(work); kfree(work);
} }
int amdgpu_crtc_page_flip_target(struct drm_crtc *crtc, int amdgpu_display_crtc_page_flip_target(struct drm_crtc *crtc,
struct drm_framebuffer *fb, struct drm_framebuffer *fb,
struct drm_pending_vblank_event *event, struct drm_pending_vblank_event *event,
uint32_t page_flip_flags, uint32_t target, uint32_t page_flip_flags, uint32_t target,
struct drm_modeset_acquire_ctx *ctx) struct drm_modeset_acquire_ctx *ctx)
{ {
struct drm_device *dev = crtc->dev; struct drm_device *dev = crtc->dev;
struct amdgpu_device *adev = dev->dev_private; struct amdgpu_device *adev = dev->dev_private;
......
...@@ -666,11 +666,11 @@ void amdgpu_print_display_setup(struct drm_device *dev); ...@@ -666,11 +666,11 @@ void amdgpu_print_display_setup(struct drm_device *dev);
int amdgpu_modeset_create_props(struct amdgpu_device *adev); int amdgpu_modeset_create_props(struct amdgpu_device *adev);
int amdgpu_crtc_set_config(struct drm_mode_set *set, int amdgpu_crtc_set_config(struct drm_mode_set *set,
struct drm_modeset_acquire_ctx *ctx); struct drm_modeset_acquire_ctx *ctx);
int amdgpu_crtc_page_flip_target(struct drm_crtc *crtc, int amdgpu_display_crtc_page_flip_target(struct drm_crtc *crtc,
struct drm_framebuffer *fb, struct drm_framebuffer *fb,
struct drm_pending_vblank_event *event, struct drm_pending_vblank_event *event,
uint32_t page_flip_flags, uint32_t target, uint32_t page_flip_flags, uint32_t target,
struct drm_modeset_acquire_ctx *ctx); struct drm_modeset_acquire_ctx *ctx);
extern const struct drm_mode_config_funcs amdgpu_mode_funcs; extern const struct drm_mode_config_funcs amdgpu_mode_funcs;
#endif #endif
...@@ -2519,7 +2519,7 @@ static const struct drm_crtc_funcs dce_v10_0_crtc_funcs = { ...@@ -2519,7 +2519,7 @@ static const struct drm_crtc_funcs dce_v10_0_crtc_funcs = {
.gamma_set = dce_v10_0_crtc_gamma_set, .gamma_set = dce_v10_0_crtc_gamma_set,
.set_config = amdgpu_crtc_set_config, .set_config = amdgpu_crtc_set_config,
.destroy = dce_v10_0_crtc_destroy, .destroy = dce_v10_0_crtc_destroy,
.page_flip_target = amdgpu_crtc_page_flip_target, .page_flip_target = amdgpu_display_crtc_page_flip_target,
}; };
static void dce_v10_0_crtc_dpms(struct drm_crtc *crtc, int mode) static void dce_v10_0_crtc_dpms(struct drm_crtc *crtc, int mode)
......
...@@ -2594,7 +2594,7 @@ static const struct drm_crtc_funcs dce_v11_0_crtc_funcs = { ...@@ -2594,7 +2594,7 @@ static const struct drm_crtc_funcs dce_v11_0_crtc_funcs = {
.gamma_set = dce_v11_0_crtc_gamma_set, .gamma_set = dce_v11_0_crtc_gamma_set,
.set_config = amdgpu_crtc_set_config, .set_config = amdgpu_crtc_set_config,
.destroy = dce_v11_0_crtc_destroy, .destroy = dce_v11_0_crtc_destroy,
.page_flip_target = amdgpu_crtc_page_flip_target, .page_flip_target = amdgpu_display_crtc_page_flip_target,
}; };
static void dce_v11_0_crtc_dpms(struct drm_crtc *crtc, int mode) static void dce_v11_0_crtc_dpms(struct drm_crtc *crtc, int mode)
......
...@@ -2409,7 +2409,7 @@ static const struct drm_crtc_funcs dce_v6_0_crtc_funcs = { ...@@ -2409,7 +2409,7 @@ static const struct drm_crtc_funcs dce_v6_0_crtc_funcs = {
.gamma_set = dce_v6_0_crtc_gamma_set, .gamma_set = dce_v6_0_crtc_gamma_set,
.set_config = amdgpu_crtc_set_config, .set_config = amdgpu_crtc_set_config,
.destroy = dce_v6_0_crtc_destroy, .destroy = dce_v6_0_crtc_destroy,
.page_flip_target = amdgpu_crtc_page_flip_target, .page_flip_target = amdgpu_display_crtc_page_flip_target,
}; };
static void dce_v6_0_crtc_dpms(struct drm_crtc *crtc, int mode) static void dce_v6_0_crtc_dpms(struct drm_crtc *crtc, int mode)
......
...@@ -2423,7 +2423,7 @@ static const struct drm_crtc_funcs dce_v8_0_crtc_funcs = { ...@@ -2423,7 +2423,7 @@ static const struct drm_crtc_funcs dce_v8_0_crtc_funcs = {
.gamma_set = dce_v8_0_crtc_gamma_set, .gamma_set = dce_v8_0_crtc_gamma_set,
.set_config = amdgpu_crtc_set_config, .set_config = amdgpu_crtc_set_config,
.destroy = dce_v8_0_crtc_destroy, .destroy = dce_v8_0_crtc_destroy,
.page_flip_target = amdgpu_crtc_page_flip_target, .page_flip_target = amdgpu_display_crtc_page_flip_target,
}; };
static void dce_v8_0_crtc_dpms(struct drm_crtc *crtc, int mode) static void dce_v8_0_crtc_dpms(struct drm_crtc *crtc, int mode)
......
...@@ -132,7 +132,7 @@ static const struct drm_crtc_funcs dce_virtual_crtc_funcs = { ...@@ -132,7 +132,7 @@ static const struct drm_crtc_funcs dce_virtual_crtc_funcs = {
.gamma_set = dce_virtual_crtc_gamma_set, .gamma_set = dce_virtual_crtc_gamma_set,
.set_config = amdgpu_crtc_set_config, .set_config = amdgpu_crtc_set_config,
.destroy = dce_virtual_crtc_destroy, .destroy = dce_virtual_crtc_destroy,
.page_flip_target = amdgpu_crtc_page_flip_target, .page_flip_target = amdgpu_display_crtc_page_flip_target,
}; };
static void dce_virtual_crtc_dpms(struct drm_crtc *crtc, int mode) static void dce_virtual_crtc_dpms(struct drm_crtc *crtc, int mode)
......
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