summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-03-31 15:46:42 +0900
committerAlex Deucher <alexander.deucher@amd.com>2016-04-01 10:08:33 -0400
commit978ccad69f8da5d24dabe3e4352acc22c82eb873 (patch)
tree1594eef41566ea0a46d03c34db5d5f56abd6390c /drivers
parente0c771637f5a4713a99abac79bcff5d743047328 (diff)
downloadlinux-978ccad69f8da5d24dabe3e4352acc22c82eb873.tar.gz
linux-978ccad69f8da5d24dabe3e4352acc22c82eb873.tar.bz2
linux-978ccad69f8da5d24dabe3e4352acc22c82eb873.zip
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 <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/radeon_irq_kms.c2
1 files changed, 2 insertions, 0 deletions
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;