mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	drm/amdgpu: update retry times for psp BL wait
Increase retry time for PSP BL wait, to compensate for longer time to set c2pmsg 35 ready bit during mode1 with RAS Signed-off-by: Asad Kamal <asad.kamal@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
		
							parent
							
								
									2ceec37b0e
								
							
						
					
					
						commit
						d8c1925ba8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -168,7 +168,7 @@ static int psp_v13_0_wait_for_bootloader(struct psp_context *psp)
 | 
				
			||||||
	 * If there is an error in processing command, bits[7:0] will be set.
 | 
						 * If there is an error in processing command, bits[7:0] will be set.
 | 
				
			||||||
	 * This is applicable for PSP v13.0.6 and newer.
 | 
						 * This is applicable for PSP v13.0.6 and newer.
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	for (retry_loop = 0; retry_loop < 10; retry_loop++) {
 | 
						for (retry_loop = 0; retry_loop < PSP_VMBX_POLLING_LIMIT; retry_loop++) {
 | 
				
			||||||
		ret = psp_wait_for(
 | 
							ret = psp_wait_for(
 | 
				
			||||||
			psp, SOC15_REG_OFFSET(MP0, 0, regMP0_SMN_C2PMSG_35),
 | 
								psp, SOC15_REG_OFFSET(MP0, 0, regMP0_SMN_C2PMSG_35),
 | 
				
			||||||
			0x80000000, 0xffffffff, false);
 | 
								0x80000000, 0xffffffff, false);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue