mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	drm/amdgpu: add soc21 common ip block support for GC 11.0.4
Add common soc21 ip block support for GC 11.0.4. Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com> Reviewed-by: Aaron Liu <aaron.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
		
							parent
							
								
									1763cb65e8
								
							
						
					
					
						commit
						311d52367d
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -644,6 +644,12 @@ static int soc21_common_early_init(void *handle)
 | 
			
		|||
			AMD_PG_SUPPORT_JPEG;
 | 
			
		||||
		adev->external_rev_id = adev->rev_id + 0x20;
 | 
			
		||||
		break;
 | 
			
		||||
	case IP_VERSION(11, 0, 4):
 | 
			
		||||
		adev->cg_flags = 0;
 | 
			
		||||
		adev->pg_flags = 0;
 | 
			
		||||
		adev->external_rev_id = adev->rev_id + 0x1;
 | 
			
		||||
		break;
 | 
			
		||||
 | 
			
		||||
	default:
 | 
			
		||||
		/* FIXME: not supported yet */
 | 
			
		||||
		return -EINVAL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue