mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	drm/amdgpu: increase mes submission timeout
MES internally has a timeout allowance of 2 seconds. Increase driver timeout to 3 seconds to be safe. Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
		
							parent
							
								
									3854887b35
								
							
						
					
					
						commit
						f7c161a4c2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -111,7 +111,7 @@ static int mes_v11_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes,
 | 
			
		|||
	struct amdgpu_device *adev = mes->adev;
 | 
			
		||||
	struct amdgpu_ring *ring = &mes->ring;
 | 
			
		||||
	unsigned long flags;
 | 
			
		||||
	signed long timeout = adev->usec_timeout;
 | 
			
		||||
	signed long timeout = 3000000; /* 3000 ms */
 | 
			
		||||
 | 
			
		||||
	if (amdgpu_emu_mode) {
 | 
			
		||||
		timeout *= 100;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue