drm/amd|radeon: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Jun 2017 08:28:38 +0000 (10:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 23 Jun 2017 09:08:44 +0000 (11:08 +0200)
Both drivers shut down all crtc beforehand already, which will shut up
any pending vblank (the only thing vblank_cleanup really does is
disable the disable timer). Hence we don't need this here and can
remove it.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621082850.13224-2-daniel.vetter@ffwll.ch
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
drivers/gpu/drm/radeon/radeon_irq_kms.c

index a6b7e367a8607694da3965ac664d2081c7f97dde..4a15be6589357f30a60286ff3f9d14786ceb2248 100644 (file)
@@ -262,7 +262,6 @@ void amdgpu_irq_fini(struct amdgpu_device *adev)
 {
        unsigned i, j;
 
-       drm_vblank_cleanup(adev->ddev);
        if (adev->irq.installed) {
                drm_irq_uninstall(adev->ddev);
                adev->irq.installed = false;
index 1b7528df7f7f8ddedce860f028c339b2cf2e09a7..3efe07f3e3dba0df7938274d77ce768a6e66a080 100644 (file)
@@ -324,7 +324,6 @@ int radeon_irq_kms_init(struct radeon_device *rdev)
  */
 void radeon_irq_kms_fini(struct radeon_device *rdev)
 {
-       drm_vblank_cleanup(rdev->ddev);
        if (rdev->irq.installed) {
                drm_irq_uninstall(rdev->ddev);
                rdev->irq.installed = false;