diff options
author | Samuel Li <Samuel.Li@amd.com> | 2018-01-19 15:53:16 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:18:28 -0500 |
commit | aa8e286a8af9fc9534aa7ec0be8122b16cf1fd41 (patch) | |
tree | a4872b9b6ee495ed49b4e0eb7cfb2dc4a2504147 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | 0c16443a1b4b532a23465d7004be4ddf87df6b71 (diff) |
drm/amdgpu: rename amdgpu_get_crtc_scanoutpos
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index e85bcb1ea239..5028ed60e5dc 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |||
@@ -608,7 +608,7 @@ struct amdgpu_mst_connector { | |||
608 | #define ENCODER_MODE_IS_DP(em) (((em) == ATOM_ENCODER_MODE_DP) || \ | 608 | #define ENCODER_MODE_IS_DP(em) (((em) == ATOM_ENCODER_MODE_DP) || \ |
609 | ((em) == ATOM_ENCODER_MODE_DP_MST)) | 609 | ((em) == ATOM_ENCODER_MODE_DP_MST)) |
610 | 610 | ||
611 | /* Driver internal use only flags of amdgpu_get_crtc_scanoutpos() */ | 611 | /* Driver internal use only flags of amdgpu_display_get_crtc_scanoutpos() */ |
612 | #define DRM_SCANOUTPOS_VALID (1 << 0) | 612 | #define DRM_SCANOUTPOS_VALID (1 << 0) |
613 | #define DRM_SCANOUTPOS_IN_VBLANK (1 << 1) | 613 | #define DRM_SCANOUTPOS_IN_VBLANK (1 << 1) |
614 | #define DRM_SCANOUTPOS_ACCURATE (1 << 2) | 614 | #define DRM_SCANOUTPOS_ACCURATE (1 << 2) |
@@ -632,10 +632,10 @@ bool amdgpu_display_ddc_probe(struct amdgpu_connector *amdgpu_connector, | |||
632 | 632 | ||
633 | void amdgpu_encoder_set_active_device(struct drm_encoder *encoder); | 633 | void amdgpu_encoder_set_active_device(struct drm_encoder *encoder); |
634 | 634 | ||
635 | int amdgpu_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, | 635 | int amdgpu_display_get_crtc_scanoutpos(struct drm_device *dev, |
636 | unsigned int flags, int *vpos, int *hpos, | 636 | unsigned int pipe, unsigned int flags, int *vpos, |
637 | ktime_t *stime, ktime_t *etime, | 637 | int *hpos, ktime_t *stime, ktime_t *etime, |
638 | const struct drm_display_mode *mode); | 638 | const struct drm_display_mode *mode); |
639 | 639 | ||
640 | int amdgpu_display_framebuffer_init(struct drm_device *dev, | 640 | int amdgpu_display_framebuffer_init(struct drm_device *dev, |
641 | struct amdgpu_framebuffer *rfb, | 641 | struct amdgpu_framebuffer *rfb, |