diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 14:35:55 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 14:35:55 -0400 |
commit | d06b7e1cf0fa4552fd725111b46df1ed0b649b15 (patch) | |
tree | 849a4b6c0d9d6f66ef67ba4044503480b8b0bd3d /drivers/gpu/drm/amd/amdgpu/dce_virtual.c | |
parent | a6be7570518f85ce94ca9d6540543e00725828d3 (diff) | |
download | linux-d06b7e1cf0fa4552fd725111b46df1ed0b649b15.tar.bz2 |
drm/amdgpu: move vsync_timer_enabled setup to dce virtual early_init
Put it in one place.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_virtual.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c index 1c16983ec8b6..4c8ca58a3f94 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c @@ -353,6 +353,7 @@ static int dce_virtual_early_init(void *handle) { struct amdgpu_device *adev = (struct amdgpu_device *)handle; + adev->mode_info.vsync_timer_enabled = AMDGPU_IRQ_STATE_DISABLE; dce_virtual_set_display_funcs(adev); dce_virtual_set_irq_funcs(adev); |