Merge branch 'drm-next-4.14' of git://people.freedesktop.org/~agd5f/linux into drm...
[sfrench/cifs-2.6.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_irq.c
index 2480273c1dcacc0e60ffab5ee42be3daac0cc409..4bdd851f56d081310614f27dce5093255ecf7dfd 100644 (file)
@@ -220,6 +220,10 @@ int amdgpu_irq_init(struct amdgpu_device *adev)
        int r = 0;
 
        spin_lock_init(&adev->irq.lock);
+
+       /* Disable vblank irqs aggressively for power-saving */
+       adev->ddev->vblank_disable_immediate = true;
+
        r = drm_vblank_init(adev->ddev, adev->mode_info.num_crtc);
        if (r) {
                return r;