Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/atombios: add avfs struct for Polaris10/11

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Rex Zhu and committed by
Alex Deucher
c11cb704 31b21243

+72
+72
drivers/gpu/drm/amd/include/atombios.h
··· 5538 5538 ULONG ulReserved[12]; 5539 5539 }ATOM_ASIC_PROFILING_INFO_V3_5; 5540 5540 5541 + /* for Polars10/11 AVFS parameters */ 5542 + typedef struct _ATOM_ASIC_PROFILING_INFO_V3_6 5543 + { 5544 + ATOM_COMMON_TABLE_HEADER asHeader; 5545 + ULONG ulMaxVddc; 5546 + ULONG ulMinVddc; 5547 + USHORT usLkgEuseIndex; 5548 + UCHAR ucLkgEfuseBitLSB; 5549 + UCHAR ucLkgEfuseLength; 5550 + ULONG ulLkgEncodeLn_MaxDivMin; 5551 + ULONG ulLkgEncodeMax; 5552 + ULONG ulLkgEncodeMin; 5553 + EFUSE_LINEAR_FUNC_PARAM sRoFuse; 5554 + ULONG ulEvvDefaultVddc; 5555 + ULONG ulEvvNoCalcVddc; 5556 + ULONG ulSpeed_Model; 5557 + ULONG ulSM_A0; 5558 + ULONG ulSM_A1; 5559 + ULONG ulSM_A2; 5560 + ULONG ulSM_A3; 5561 + ULONG ulSM_A4; 5562 + ULONG ulSM_A5; 5563 + ULONG ulSM_A6; 5564 + ULONG ulSM_A7; 5565 + UCHAR ucSM_A0_sign; 5566 + UCHAR ucSM_A1_sign; 5567 + UCHAR ucSM_A2_sign; 5568 + UCHAR ucSM_A3_sign; 5569 + UCHAR ucSM_A4_sign; 5570 + UCHAR ucSM_A5_sign; 5571 + UCHAR ucSM_A6_sign; 5572 + UCHAR ucSM_A7_sign; 5573 + ULONG ulMargin_RO_a; 5574 + ULONG ulMargin_RO_b; 5575 + ULONG ulMargin_RO_c; 5576 + ULONG ulMargin_fixed; 5577 + ULONG ulMargin_Fmax_mean; 5578 + ULONG ulMargin_plat_mean; 5579 + ULONG ulMargin_Fmax_sigma; 5580 + ULONG ulMargin_plat_sigma; 5581 + ULONG ulMargin_DC_sigma; 5582 + ULONG ulLoadLineSlop; 5583 + ULONG ulaTDClimitPerDPM[8]; 5584 + ULONG ulaNoCalcVddcPerDPM[8]; 5585 + ULONG ulAVFS_meanNsigma_Acontant0; 5586 + ULONG ulAVFS_meanNsigma_Acontant1; 5587 + ULONG ulAVFS_meanNsigma_Acontant2; 5588 + USHORT usAVFS_meanNsigma_DC_tol_sigma; 5589 + USHORT usAVFS_meanNsigma_Platform_mean; 5590 + USHORT usAVFS_meanNsigma_Platform_sigma; 5591 + ULONG ulGB_VDROOP_TABLE_CKSOFF_a0; 5592 + ULONG ulGB_VDROOP_TABLE_CKSOFF_a1; 5593 + ULONG ulGB_VDROOP_TABLE_CKSOFF_a2; 5594 + ULONG ulGB_VDROOP_TABLE_CKSON_a0; 5595 + ULONG ulGB_VDROOP_TABLE_CKSON_a1; 5596 + ULONG ulGB_VDROOP_TABLE_CKSON_a2; 5597 + ULONG ulAVFSGB_FUSE_TABLE_CKSOFF_m1; 5598 + USHORT usAVFSGB_FUSE_TABLE_CKSOFF_m2; 5599 + ULONG ulAVFSGB_FUSE_TABLE_CKSOFF_b; 5600 + ULONG ulAVFSGB_FUSE_TABLE_CKSON_m1; 5601 + USHORT usAVFSGB_FUSE_TABLE_CKSON_m2; 5602 + ULONG ulAVFSGB_FUSE_TABLE_CKSON_b; 5603 + USHORT usMaxVoltage_0_25mv; 5604 + UCHAR ucEnableGB_VDROOP_TABLE_CKSOFF; 5605 + UCHAR ucEnableGB_VDROOP_TABLE_CKSON; 5606 + UCHAR ucEnableGB_FUSE_TABLE_CKSOFF; 5607 + UCHAR ucEnableGB_FUSE_TABLE_CKSON; 5608 + USHORT usPSM_Age_ComFactor; 5609 + UCHAR ucEnableApplyAVFS_CKS_OFF_Voltage; 5610 + UCHAR ucReserved; 5611 + }ATOM_ASIC_PROFILING_INFO_V3_6; 5612 + 5541 5613 5542 5614 typedef struct _ATOM_SCLK_FCW_RANGE_ENTRY_V1{ 5543 5615 ULONG ulMaxSclkFreq;