Skip to content

Generate master list of command and data tables from ATOM BIOS

License

Notifications You must be signed in to change notification settings

kizwan/ATOMBIOSReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ATOMBIOSReader

Generate master list of command and data tables from ATOM BIOS

alt text

Source of information:-
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/radeon/atombios.h
https://cgit.freedesktop.org/~mhopf/AtomDis/tree/indices.c

Example generated master list of command and data tables:-
Read f800 bytes of data from D:\Drivers\Dell Studio 1557\BIOS\ATIMobilityRadeonHD4570.bin

Command Tables:
  0000:   b8b4  Len 0054  (ASIC_Init)
  0001:   b908  Len 0038  (GetDisplaySurfaceSize)
  0002:   b940  Len 02dc  (ASIC_RegistersInit)
  0003:   de64  Len 0088  (VRAM_BlockVenderDetection)
  0004:   ea30  Len 0193  (SetClocksRatio/DIGxEncoderControl)
  0005:   bc1c  Len 011b  (MemoryControllerInit)
  0006:   bd38  Len 002b  (EnableCRTCMemReq)
  0007:   deec  Len 002f  (MemoryParamAdjust)
  0008:   -               (DVOEncoderControl)
  0009:   bd64  Len 010c  (GPIOPinControl)
  000a:   be70  Len 00ec  (SetEngineClock)
  000b:   bf5c  Len 01c3  (SetMemoryClock)
  000c:   c120  Len 0365  (SetPixelClock)
  000d:   -               (DynamicClockGating)
  000e:   c48c  Len 0038  (ResetMemoryDLL)
  000f:   c4c4  Len 0063  (ResetMemoryDevice)
  0010:   e772  Len 00af  (MemoryPLLInit)
  0011:   e822  Len 0076  (AdjustDisplayPll)
  0012:   c5f8  Len 008a  (AdjustMemoryController)
  0013:   c682  Len 000a  (EnableASIC_StaticPwrMgt)
  0014:   c68c  Len 00c1  (ASIC_StaticPwrMgtStatusChange/SetUniphyInstance)
  0015:   c74e  Len 015d  (DAC_LoadDetection)
  0016:   -               (LVTMAEncoderControl)
  0017:   -               (LCD1OutputControl)
  0018:   c8ac  Len 0137  (DAC1EncoderControl)
  0019:   c9e4  Len 000d  (DAC2EncoderControl)
  001a:   c9f2  Len 0022  (DVOOutputControl)
  001b:   -               (CV1OutputControl)
  001c:   f69a  Len 0028  (GetConditionalGoldenSetting/SetCRTC_DPM_State)
  001d:   ca14  Len 0514  (TVEncoderControl)
  001e:   -               (TMDSAEncoderControl)
  001f:   -               (LVDSEncoderControl)
  0020:   -               (TV1OutputControl)
  0021:   cf28  Len 04b3  (EnableScaler)
  0022:   d3dc  Len 0060  (BlankCRTC)
  0023:   d43c  Len 0055  (EnableCRTC)
  0024:   d492  Len 0080  (GetPixelClock)
  0025:   d512  Len 01db  (EnableVGA_Render)
  0026:   d6ee  Len 001b  (EnableVGA_Access/GetSCLKOverMCLKRatio)
  0027:   d70a  Len 00eb  (SetCRTC_Timing)
  0028:   d7f6  Len 001e  (SetCRTC_OverScan)
  0029:   -               (SetCRTC_Replication)
  002a:   d814  Len 0108  (SelectCRTC_Source)
  002b:   d91c  Len 0106  (EnableGraphSurfaces)
  002c:   da22  Len 006d  (UpdateCRTC_DoubleBufferRegisters)
  002d:   da90  Len 004e  (LUT_AutoFill)
  002e:   dade  Len 0119  (EnableHW_IconCursor)
  002f:   dbf8  Len 0050  (GetMemoryClock)
  0030:   dc48  Len 0060  (GetEngineClock)
  0031:   dca8  Len 011b  (SetCRTC_UsingDTDTiming)
  0032:   -               (ExternalEncoderControl)
  0033:   -               (LVTMAOutputControl)
  0034:   ddc4  Len 009f  (VRAM_BlockDetectionByStrap)
  0035:   df1c  Len 00dc  (MemoryCleanUp)
  0036:   dff8  Len 0207  (ReadEDIDFromHWAssistedI2C/ProcessI2cChannelTransaction)
  0037:   -               (WriteOneByteToHWAssistedI2C)
  0038:   -               (ReadHWAssistedI2CStatus/HPDInterruptService)
  0039:   -               (SpeedFanControl)
  003a:   e200  Len 000a  (PowerConnectorDetection)
  003b:   e20a  Len 002c  (MC_Synchronization)
  003c:   e236  Len 00b9  (ComputeMemoryEnginePLL)
  003d:   e2f0  Len 005f  (MemoryRefreshConversion)
  003e:   ebc4  Len 0029  (VRAM_GetCurrentInfoBlock)
  003f:   e350  Len 02c6  (DynamicMemorySettings)
  0040:   e616  Len 0007  (MemoryTraining)
  0041:   e61e  Len 0058  (EnableSpreadSpectrumOnPPLL)
  0042:   -               (TMDSAOutputControl)
  0043:   e898  Len 0197  (SetVoltage)
  0044:   e676  Len 0013  (DAC1OutputControl)
  0045:   e68a  Len 0013  (DAC2OutputControl)
  0046:   -               (SetupHWAssistedI2CStatus)
  0047:   c528  Len 005e  (ClockSource)
  0048:   c586  Len 0071  (MemoryDeviceInit)
  0049:   e69e  Len 00d3  (EnableYUV)
  004a:   ebee  Len 0026  (DIG1EncoderControl)
  004b:   ec14  Len 002a  (DIG2EncoderControl)
  004c:   ec3e  Len 07de  (DIG1TransmitterControl/UNIPHYTransmitterControl)
  004d:   -               (DIG2TransmitterControl/LVTMATransmitterControl)
  004e:   f41c  Len 0226  (ProcessAuxChannelTransaction)
  004f:   f642  Len 0057  (DPEncoderService)

Data Tables:
  0000:   -                          (UtilityPipeLine)
  0001:   b0f2  Len 000c  Rev 01:01  (MultimediaCapabilityInfo)
  0002:   b0fe  Len 0014  Rev 01:01  (MultimediaConfigInfo)
  0003:   a9a0  Len 042c  Rev 01:02  (StandardVESA_Timing)
  0004:   adcc  Len 0059  Rev 01:04  (FirmwareInfo)
  0005:   -                          (DAC_Info)
  0006:   ae26  Len 0036  Rev 01:02  (LVDS_Info)
  0007:   -                          (TMDS_Info)
  0008:   ae5c  Len 005c  Rev 01:02  (AnalogTV_Info)
  0009:   -                          (SupportedDevicesInfo)
  000a:   aeb8  Len 00c1  Rev 01:01  (GPIO_I2C_Info)
  000b:   af7a  Len 000c  Rev 01:04  (VRAM_UsageByFirmware)
  000c:   af86  Len 0058  Rev 01:01  (GPIO_Pin_LUT)
  000d:   afde  Len 00d8  Rev 01:01  (VESA_ToInternalModeLUT)
  000e:   b0b6  Len 003c  Rev 02:01  (ComponentVideoInfo)
  000f:   b112  Len 0274  Rev 04:01  (PowerPlayInfo)
  0010:   -                          (CompassionateData)
  0011:   b898  Len 001c  Rev 02:01  (SaveRestoreInfo/DispDevicePriorityInfo)
  0012:   b386  Len 0014  Rev 01:02  (PPLL_SS_Info/SS_Info)
  0013:   -                          (OemInfo)
  0014:   -                          (XTMDS_Info)
  0015:   -                          (MclkSS_Info)
  0016:   b39a  Len 00c5  Rev 01:02  (Object_Info/Object_Header)
  0017:   b572  Len 0055  Rev 01:01  (IndirectIOAccess)
  0018:   b460  Len 0112  Rev 01:02  (MC_InitParameter/AdjustARB_SEQ)
  0019:   -                          (ASIC_VDDC_Info)
  001a:   b7fc  Len 001c  Rev 02:01  (ASIC_InternalSS_Info/ASIC_MVDDC_Info)
  001b:   b818  Len 007f  Rev 02:02  (TV_VideoMode/DispOutInfo)
  001c:   b5c8  Len 0211  Rev 01:04  (VRAM_Info)
  001d:   -                          (MemoryTrainingInfo/ASIC_MVDDQ_Info)
  001e:   -                          (IntegratedSystemInfo)
  001f:   -                          (ASIC_ProfilingInfo/ASIC_VDDCI_Info)
  0020:   b7da  Len 0022  Rev 01:01  (VoltageObjectInfo/VRAM_GPIO_DetectionInfo)
  0021:   -                          (PowerSourceInfo)

About

Generate master list of command and data tables from ATOM BIOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published