From: Michel Dänzer Date: Thu, 31 Mar 2016 06:46:42 +0000 (+0900) Subject: drm/radeon: Set vblank_disable_allowed = true X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=978ccad69f8da5d24dabe3e4352acc22c82eb873;p=openwrt%2Fstaging%2Fblogic.git drm/radeon: Set vblank_disable_allowed = true Without this, since the conversion from drm_vblank_pre/post_modeset to drm_vblank_on/off, the vblank interrupt could never be disabled after userspace triggered enabling it. Signed-off-by: Michel Dänzer Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/radeon_irq_kms.c b/drivers/gpu/drm/radeon/radeon_irq_kms.c index 979f3bf65f2c..1e9304d1c88f 100644 --- a/drivers/gpu/drm/radeon/radeon_irq_kms.c +++ b/drivers/gpu/drm/radeon/radeon_irq_kms.c @@ -291,6 +291,8 @@ int radeon_irq_kms_init(struct radeon_device *rdev) if (r) { return r; } + rdev->ddev->vblank_disable_allowed = true; + /* enable msi */ rdev->msi_enabled = 0;