summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
diff options
context:
space:
mode:
authorPixel Ding <Pixel.Ding@amd.com>2017-01-24 15:04:48 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:52:38 -0400
commit4726214c542d3b547bd48587cd741d00cdb5086b (patch)
tree29e4579920c8e9eb4c6dfa6b1bc1084ad38f8577 /drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
parent8fdf26925897974b71283014eb09c57e7e0d2ed8 (diff)
downloadop-kernel-dev-4726214c542d3b547bd48587cd741d00cdb5086b.zip
op-kernel-dev-4726214c542d3b547bd48587cd741d00cdb5086b.tar.gz
drm/amdgpu/virt: increase mailbox timeout to 5000ms
When multiple VFs try to enter exclusive mode at the same time, the looping mechansim doesn't help to ensure each can get it because it only loops active VFs, then the last one has to wait for a long interval. Signed-off-by: Pixel Ding <Pixel.Ding@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/mxgpu_vi.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
index fd6216e..2db7411 100644
--- a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
+++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
@@ -23,7 +23,7 @@
#ifndef __MXGPU_VI_H__
#define __MXGPU_VI_H__
-#define VI_MAILBOX_TIMEDOUT 150
+#define VI_MAILBOX_TIMEDOUT 5000
#define VI_MAILBOX_RESET_TIME 12
/* VI mailbox messages request */
OpenPOWER on IntegriCloud