diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-03-31 09:46:43 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-04-01 17:08:34 +0300 |
commit | 354edd8e94e910a68bb74a434f055bc3600499f2 (patch) | |
tree | 5bb40bc03c481f18b561d331544a623b8fa70777 /drivers/gpu/drm/amd/amdgpu | |
parent | 978ccad69f8da5d24dabe3e4352acc22c82eb873 (diff) | |
download | linux-354edd8e94e910a68bb74a434f055bc3600499f2.tar.xz |
drm/amdgpu: 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/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c index f594cfaa97e5..762cfdb85147 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c @@ -219,6 +219,8 @@ int amdgpu_irq_init(struct amdgpu_device *adev) if (r) { return r; } + adev->ddev->vblank_disable_allowed = true; + /* enable msi */ adev->irq.msi_enabled = false; |