diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_pm.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index ac4efb0f1cb..4de7776bd1c 100644 --- a/drivers/gpu/drm/radeon/radeon_pm.c +++ b/drivers/gpu/drm/radeon/radeon_pm.c | |||
@@ -724,9 +724,9 @@ static bool radeon_pm_in_vbl(struct radeon_device *rdev) | |||
724 | */ | 724 | */ |
725 | for (crtc = 0; (crtc < rdev->num_crtc) && in_vbl; crtc++) { | 725 | for (crtc = 0; (crtc < rdev->num_crtc) && in_vbl; crtc++) { |
726 | if (rdev->pm.active_crtcs & (1 << crtc)) { | 726 | if (rdev->pm.active_crtcs & (1 << crtc)) { |
727 | vbl_status = radeon_get_crtc_scanoutpos(rdev, crtc, &vpos, &hpos); | 727 | vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, &vpos, &hpos); |
728 | if ((vbl_status & RADEON_SCANOUTPOS_VALID) && | 728 | if ((vbl_status & DRM_SCANOUTPOS_VALID) && |
729 | !(vbl_status & RADEON_SCANOUTPOS_INVBL)) | 729 | !(vbl_status & DRM_SCANOUTPOS_INVBL)) |
730 | in_vbl = false; | 730 | in_vbl = false; |
731 | } | 731 | } |
732 | } | 732 | } |