drm/amdgpu: Double the timeout count on emulation mode
Subsystems (2)
PATCH 1/1 drm/amdgpu: Double the timeout count on emulation mode
Change-Id If73d9e5f1f2f998d927f506ca4b7a961db368716
Signed-off-by Shaoyun Liu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -0
@@ -1813,6 +1813,8 @@ int amdgpu_device_init(struct amdgpu_device *adev, adev->flags = flags; adev->asic_type = flags &AMD_ASIC_MASK ; adev->usec_timeout =AMDGPU_MAX_USEC_TIMEOUT ; +if (amdgpu_emu_mode ==1 ) + adev->usec_timeout *=2 ; adev->gmc.gart_size =512 *1024 *1024 ; adev->accel_working = false; adev->num_rings =0 ;
Signature · 6 lines
1.9.1 _______________________________________________ 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): 1518033199-29350-1-git-send-email-Shaoyun.Liu-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Reviewed-byQuoted 2 lines · Shaoyun Liu
Change-Id If73d9e5f1f2f998d927f506ca4b7a961db368716Signed-off-by Shaoyun Liu <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2
-1@@ -1813,6 +1813,8 @@ int amdgpu_device_init(struct amdgpu_device *adev, adev->flags = flags; adev->asic_type = flags &AMD_ASIC_MASK ; adev->usec_timeout =AMDGPU_MAX_USEC_TIMEOUT ; +if (amdgpu_emu_mode ==1 ) + adev->usec_timeout *=2 ; adev->gmc.gart_size =512 *1024 *1024 ; adev->accel_working = false; adev->num_rings =0 ; --1.9.1
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