diff options
author | Christian König <christian.koenig@amd.com> | 2014-05-27 10:49:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-06-02 10:25:12 -0400 |
commit | 1a0e79184132c5dc0e03a4047eacecc52c24deae (patch) | |
tree | 38211a82699c5a0c38c5b14a29d95bfebba14be4 /drivers/gpu/drm/radeon/r100.c | |
parent | 157fa14dc4065ce7536473e643c95385d87bd580 (diff) |
drm/radeon: separate vblank and pflip crtc handling
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r100.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index 52548f7bbb5a..ad99813cfa8f 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers/gpu/drm/radeon/r100.c | |||
@@ -779,7 +779,7 @@ int r100_irq_process(struct radeon_device *rdev) | |||
779 | wake_up(&rdev->irq.vblank_queue); | 779 | wake_up(&rdev->irq.vblank_queue); |
780 | } | 780 | } |
781 | if (atomic_read(&rdev->irq.pflip[0])) | 781 | if (atomic_read(&rdev->irq.pflip[0])) |
782 | radeon_crtc_handle_flip(rdev, 0); | 782 | radeon_crtc_handle_vblank(rdev, 0); |
783 | } | 783 | } |
784 | if (status & RADEON_CRTC2_VBLANK_STAT) { | 784 | if (status & RADEON_CRTC2_VBLANK_STAT) { |
785 | if (rdev->irq.crtc_vblank_int[1]) { | 785 | if (rdev->irq.crtc_vblank_int[1]) { |
@@ -788,7 +788,7 @@ int r100_irq_process(struct radeon_device *rdev) | |||
788 | wake_up(&rdev->irq.vblank_queue); | 788 | wake_up(&rdev->irq.vblank_queue); |
789 | } | 789 | } |
790 | if (atomic_read(&rdev->irq.pflip[1])) | 790 | if (atomic_read(&rdev->irq.pflip[1])) |
791 | radeon_crtc_handle_flip(rdev, 1); | 791 | radeon_crtc_handle_vblank(rdev, 1); |
792 | } | 792 | } |
793 | if (status & RADEON_FP_DETECT_STAT) { | 793 | if (status & RADEON_FP_DETECT_STAT) { |
794 | queue_hotplug = true; | 794 | queue_hotplug = true; |