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/vi.c | |
parent | a6be7570518f85ce94ca9d6540543e00725828d3 (diff) |
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/vi.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 064291771d79..2d3e3ed84dcb 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c | |||
@@ -1388,7 +1388,6 @@ static const struct amdgpu_ip_block_version cz_ip_blocks_vd[] = | |||
1388 | int vi_set_ip_blocks(struct amdgpu_device *adev) | 1388 | int vi_set_ip_blocks(struct amdgpu_device *adev) |
1389 | { | 1389 | { |
1390 | if (amdgpu_virtual_display) { | 1390 | if (amdgpu_virtual_display) { |
1391 | adev->mode_info.vsync_timer_enabled = AMDGPU_IRQ_STATE_DISABLE; | ||
1392 | switch (adev->asic_type) { | 1391 | switch (adev->asic_type) { |
1393 | case CHIP_TOPAZ: | 1392 | case CHIP_TOPAZ: |
1394 | adev->ip_blocks = topaz_ip_blocks; | 1393 | adev->ip_blocks = topaz_ip_blocks; |