mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
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>
This commit is contained in:
@@ -3906,9 +3906,9 @@ static void amdgpu_dm_do_flip(struct drm_crtc *crtc,
|
||||
* targeted by the flip
|
||||
*/
|
||||
while ((acrtc->enabled &&
|
||||
(amdgpu_get_crtc_scanoutpos(adev->ddev, acrtc->crtc_id, 0,
|
||||
&vpos, &hpos, NULL, NULL,
|
||||
&crtc->hwmode)
|
||||
(amdgpu_display_get_crtc_scanoutpos(adev->ddev, acrtc->crtc_id,
|
||||
0, &vpos, &hpos, NULL,
|
||||
NULL, &crtc->hwmode)
|
||||
& (DRM_SCANOUTPOS_VALID | DRM_SCANOUTPOS_IN_VBLANK)) ==
|
||||
(DRM_SCANOUTPOS_VALID | DRM_SCANOUTPOS_IN_VBLANK) &&
|
||||
(int)(target_vblank -
|
||||
|
||||
Reference in New Issue
Block a user