mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-11 16:24:26 +08:00
drm/amdgpu: rename amdgpu_crtc_page_flip_target
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
3a05dc000a
commit
0cd1193236
@ -142,11 +142,11 @@ static void amdgpu_display_unpin_work_func(struct work_struct *__work)
|
||||
kfree(work);
|
||||
}
|
||||
|
||||
int amdgpu_crtc_page_flip_target(struct drm_crtc *crtc,
|
||||
struct drm_framebuffer *fb,
|
||||
struct drm_pending_vblank_event *event,
|
||||
uint32_t page_flip_flags, uint32_t target,
|
||||
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,
|
||||
uint32_t page_flip_flags, uint32_t target,
|
||||
struct drm_modeset_acquire_ctx *ctx)
|
||||
{
|
||||
struct drm_device *dev = crtc->dev;
|
||||
struct amdgpu_device *adev = dev->dev_private;
|
||||
|
@ -666,11 +666,11 @@ 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_crtc_page_flip_target(struct drm_crtc *crtc,
|
||||
struct drm_framebuffer *fb,
|
||||
struct drm_pending_vblank_event *event,
|
||||
uint32_t page_flip_flags, uint32_t target,
|
||||
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,
|
||||
uint32_t page_flip_flags, uint32_t target,
|
||||
struct drm_modeset_acquire_ctx *ctx);
|
||||
extern const struct drm_mode_config_funcs amdgpu_mode_funcs;
|
||||
|
||||
#endif
|
||||
|
@ -2519,7 +2519,7 @@ static const struct drm_crtc_funcs dce_v10_0_crtc_funcs = {
|
||||
.gamma_set = dce_v10_0_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.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)
|
||||
|
@ -2594,7 +2594,7 @@ static const struct drm_crtc_funcs dce_v11_0_crtc_funcs = {
|
||||
.gamma_set = dce_v11_0_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.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)
|
||||
|
@ -2409,7 +2409,7 @@ static const struct drm_crtc_funcs dce_v6_0_crtc_funcs = {
|
||||
.gamma_set = dce_v6_0_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.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)
|
||||
|
@ -2423,7 +2423,7 @@ static const struct drm_crtc_funcs dce_v8_0_crtc_funcs = {
|
||||
.gamma_set = dce_v8_0_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.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)
|
||||
|
@ -132,7 +132,7 @@ static const struct drm_crtc_funcs dce_virtual_crtc_funcs = {
|
||||
.gamma_set = dce_virtual_crtc_gamma_set,
|
||||
.set_config = amdgpu_crtc_set_config,
|
||||
.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)
|
||||
|
Loading…
Reference in New Issue
Block a user