Skip to contentSkip to conversation

drm/amdgpu/virt: increase mailbox timeout value

PATCH In review Xiangliang Yu 3 participants 3 messages Jan 19, 2017 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/virt: increase mailbox timeout value

If start all VFs at same time, the GPU hypervisor need more time to handle mailbox access. Set it to five seconds according to test experience.

---
 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h +1 -1
index fd6216e..2db7411 100644
@@ -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 */
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1484819207-7722-1-git-send-email-Xiangliang.Yu-5C7GfCeVMHo@public.gmane.org

Reviewed-by Pixel Ding
#2 lore raw

—
Sincerely Yours,
Pixel

Quoted 29 lines · amd-gfx on behalf of Xiangliang Yu

If start all VFs at same time, the GPU hypervisor need more time to handle mailbox access. Set it to five seconds according to test experience.

---
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h +1 -1
index fd6216e..2db7411 100644
@@ -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 */
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 8A1FD585-7927-41C4-A156-4794A1DF0396-5C7GfCeVMHo@public.gmane.org

#4 lore raw

Am 19.01.2017 um 11:56 schrieb Ding, Pixel:

Quoted 40 lines

—
Sincerely Yours,
Pixel

Quoted 25 lines · amd-gfx on behalf of Xiangliang Yu

If start all VFs at same time, the GPU hypervisor need more time to handle mailbox access. Set it to five seconds according to test experience.

---
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h +1 -1
index fd6216e..2db7411 100644
@@ -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 */
Signature · 1 line
2.7.4
Quoted 8 lines
Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx