mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	drm/i915/rpl-s: Add stepping info
Add stepping-substepping info in accordance to BSpec changes. Though it looks weird, the revision ID for the newer stepping is indeed backwards and is in accordance to the spec. v2: Rearrange the platforms in logical order (Matt) Bspec: 53655 Cc: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220125223625.4139326-1-anusha.srivatsa@intel.com
This commit is contained in:
		
							parent
							
								
									8f4f9a3b3a
								
							
						
					
					
						commit
						8295524a2d
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -122,6 +122,11 @@ static const struct intel_step_info dg2_g11_revid_step_tbl[] = {
 | 
			
		|||
	[0x5] = { COMMON_GT_MEDIA_STEP(B1), .display_step = STEP_C0 },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static const struct intel_step_info adls_rpls_revids[] = {
 | 
			
		||||
	[0x4] = { COMMON_GT_MEDIA_STEP(D0), .display_step = STEP_D0 },
 | 
			
		||||
	[0xC] = { COMMON_GT_MEDIA_STEP(D0), .display_step = STEP_C0 },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void intel_step_init(struct drm_i915_private *i915)
 | 
			
		||||
{
 | 
			
		||||
	const struct intel_step_info *revids = NULL;
 | 
			
		||||
| 
						 | 
				
			
			@ -141,6 +146,9 @@ void intel_step_init(struct drm_i915_private *i915)
 | 
			
		|||
	} else if (IS_ALDERLAKE_P(i915)) {
 | 
			
		||||
		revids = adlp_revids;
 | 
			
		||||
		size = ARRAY_SIZE(adlp_revids);
 | 
			
		||||
	} else if (IS_ADLS_RPLS(i915)) {
 | 
			
		||||
		revids = adls_rpls_revids;
 | 
			
		||||
		size = ARRAY_SIZE(adls_rpls_revids);
 | 
			
		||||
	} else if (IS_ALDERLAKE_S(i915)) {
 | 
			
		||||
		revids = adls_revids;
 | 
			
		||||
		size = ARRAY_SIZE(adls_revids);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue