diff options
author | Monk Liu <Monk.Liu@amd.com> | 2017-02-06 13:56:47 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:53:11 -0400 |
commit | 480da2626028fb789aaddfe197daac1ab4f1e822 (patch) | |
tree | 848cf87d64593416b3c6cc1f6007a58000e6237b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
parent | 4a370955ed63f8351ab6058f950a762a6917d688 (diff) | |
download | linux-480da2626028fb789aaddfe197daac1ab4f1e822.tar.bz2 |
drm/amdgpu:use work instead of delay-work
no need to use a delay work since we don't know how
much time hypervisor takes on FLR, so just polling
and waiting in a work.
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h index 4b05568bff00..846f29c2e02e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h @@ -50,7 +50,7 @@ struct amdgpu_virt { struct mutex lock_reset; struct amdgpu_irq_src ack_irq; struct amdgpu_irq_src rcv_irq; - struct delayed_work flr_work; + struct work_struct flr_work; const struct amdgpu_virt_ops *ops; }; |