aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorMonk Liu <[email protected]>2017-02-06 05:56:47 +0000
committerAlex Deucher <[email protected]>2017-03-30 03:53:11 +0000
commit480da2626028fb789aaddfe197daac1ab4f1e822 (patch)
tree848cf87d64593416b3c6cc1f6007a58000e6237b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parentdrm/amdgpu:no kiq for mailbox registers access (diff)
downloadkernel-480da2626028fb789aaddfe197daac1ab4f1e822.tar.gz
kernel-480da2626028fb789aaddfe197daac1ab4f1e822.zip
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Xiangliang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h2
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;
};