Put it in one place.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
int cik_set_ip_blocks(struct amdgpu_device *adev)
{
if (amdgpu_virtual_display) {
- adev->mode_info.vsync_timer_enabled = AMDGPU_IRQ_STATE_DISABLE;
switch (adev->asic_type) {
case CHIP_BONAIRE:
adev->ip_blocks = bonaire_ip_blocks_vd;
{
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);
int vi_set_ip_blocks(struct amdgpu_device *adev)
{
if (amdgpu_virtual_display) {
- adev->mode_info.vsync_timer_enabled = AMDGPU_IRQ_STATE_DISABLE;
switch (adev->asic_type) {
case CHIP_TOPAZ:
adev->ip_blocks = topaz_ip_blocks;