[PATCH] drm/amdgpu/virt: increase mailbox timeout value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Pixel Ding <Pixel.Ding at amd.com>


â?? 
Sincerely Yours,
Pixel







On 19/01/2017, 5:46 PM, "amd-gfx on behalf of Xiangliang Yu" <amd-gfx-bounces at lists.freedesktop.org on behalf of Xiangliang.Yu at amd.com> wrote:

>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.
>
>Signed-off-by: Xiangliang Yu <Xiangliang.Yu at amd.com>
>---
> drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>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 */
>-- 
>2.7.4
>
>_______________________________________________
>amd-gfx mailing list
>amd-gfx at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux