drivers/gpu/drm/amd/include/atomfirmware.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/include/atomfirmware.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/include/atomfirmware.h- Extension
.h- Size
- 176062 bytes
- Lines
- 4643
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
atomfirmwareid.h
Detected Declarations
struct atom_common_table_headerstruct atom_rom_header_v2_2struct atom_master_list_of_command_functions_v2_1struct atom_master_command_function_v2_1struct atom_function_attributestruct atom_rom_hw_function_headerstruct atom_master_list_of_data_tables_v2_1struct atom_master_data_table_v2_1struct atom_dtd_formatstruct atom_firmware_info_v3_1struct atom_firmware_info_v3_2struct atom_firmware_info_v3_3struct atom_firmware_info_v3_4struct atom_firmware_info_v3_5struct lcd_info_v2_1struct atom_gpio_pin_assignmentstruct atom_gpio_pin_lut_v2_1struct vram_usagebyfirmware_v2_1struct vram_usagebyfirmware_v2_2struct atom_common_record_headerstruct atom_i2c_recordstruct atom_hpd_int_recordstruct atom_connector_caps_recordstruct atom_connector_speed_recordstruct atom_encoder_caps_recordstruct atom_disp_connector_caps_recordstruct atom_gpio_pin_control_pairstruct atom_object_gpio_cntl_recordstruct atom_connector_forced_tmds_cap_recordstruct atom_connector_layout_infostruct atom_bracket_layout_recordstruct atom_bracket_layout_record_v2struct atom_display_object_path_v2struct atom_display_object_path_v3struct display_object_info_table_v1_4struct display_object_info_table_v1_5struct atom_display_controller_info_v4_1struct atom_display_controller_info_v4_2struct atom_display_controller_info_v4_3struct atom_display_controller_info_v4_4struct atom_dc_golden_table_v1struct atom_display_controller_info_v4_5struct atom_ext_display_pathstruct atom_external_display_connection_infostruct atom_camera_dphy_timing_paramstruct atom_camera_dphy_elec_paramstruct atom_camera_module_infostruct atom_camera_flashlight_info
Annotated Snippet
struct atom_master_list_of_command_functions_v2_1{
uint16_t asic_init; //Function
uint16_t cmd_function1; //used as an internal one
uint16_t cmd_function2; //used as an internal one
uint16_t cmd_function3; //used as an internal one
uint16_t digxencodercontrol; //Function
uint16_t cmd_function5; //used as an internal one
uint16_t cmd_function6; //used as an internal one
uint16_t cmd_function7; //used as an internal one
uint16_t cmd_function8; //used as an internal one
uint16_t cmd_function9; //used as an internal one
uint16_t setengineclock; //Function
uint16_t setmemoryclock; //Function
uint16_t setpixelclock; //Function
uint16_t enabledisppowergating; //Function
uint16_t cmd_function14; //used as an internal one
uint16_t cmd_function15; //used as an internal one
uint16_t cmd_function16; //used as an internal one
uint16_t cmd_function17; //used as an internal one
uint16_t cmd_function18; //used as an internal one
uint16_t cmd_function19; //used as an internal one
uint16_t cmd_function20; //used as an internal one
uint16_t cmd_function21; //used as an internal one
uint16_t cmd_function22; //used as an internal one
uint16_t cmd_function23; //used as an internal one
uint16_t cmd_function24; //used as an internal one
uint16_t cmd_function25; //used as an internal one
uint16_t cmd_function26; //used as an internal one
uint16_t cmd_function27; //used as an internal one
uint16_t cmd_function28; //used as an internal one
uint16_t cmd_function29; //used as an internal one
uint16_t cmd_function30; //used as an internal one
uint16_t cmd_function31; //used as an internal one
uint16_t cmd_function32; //used as an internal one
uint16_t cmd_function33; //used as an internal one
uint16_t blankcrtc; //Function
uint16_t enablecrtc; //Function
uint16_t cmd_function36; //used as an internal one
uint16_t cmd_function37; //used as an internal one
uint16_t cmd_function38; //used as an internal one
uint16_t cmd_function39; //used as an internal one
uint16_t cmd_function40; //used as an internal one
uint16_t getsmuclockinfo; //Function
uint16_t selectcrtc_source; //Function
uint16_t cmd_function43; //used as an internal one
uint16_t cmd_function44; //used as an internal one
uint16_t cmd_function45; //used as an internal one
uint16_t setdceclock; //Function
uint16_t getmemoryclock; //Function
uint16_t getengineclock; //Function
uint16_t setcrtc_usingdtdtiming; //Function
uint16_t externalencodercontrol; //Function
uint16_t cmd_function51; //used as an internal one
uint16_t cmd_function52; //used as an internal one
uint16_t cmd_function53; //used as an internal one
uint16_t processi2cchanneltransaction;//Function
uint16_t cmd_function55; //used as an internal one
uint16_t cmd_function56; //used as an internal one
uint16_t cmd_function57; //used as an internal one
uint16_t cmd_function58; //used as an internal one
uint16_t cmd_function59; //used as an internal one
uint16_t computegpuclockparam; //Function
uint16_t cmd_function61; //used as an internal one
uint16_t cmd_function62; //used as an internal one
uint16_t dynamicmemorysettings; //Function function
uint16_t memorytraining; //Function function
uint16_t cmd_function65; //used as an internal one
uint16_t cmd_function66; //used as an internal one
uint16_t setvoltage; //Function
uint16_t cmd_function68; //used as an internal one
uint16_t readefusevalue; //Function
uint16_t cmd_function70; //used as an internal one
uint16_t cmd_function71; //used as an internal one
uint16_t cmd_function72; //used as an internal one
uint16_t cmd_function73; //used as an internal one
uint16_t cmd_function74; //used as an internal one
uint16_t cmd_function75; //used as an internal one
uint16_t dig1transmittercontrol; //Function
uint16_t cmd_function77; //used as an internal one
uint16_t processauxchanneltransaction;//Function
uint16_t cmd_function79; //used as an internal one
uint16_t getvoltageinfo; //Function
};
struct atom_master_command_function_v2_1
{
struct atom_common_table_header table_header;
struct atom_master_list_of_command_functions_v2_1 listofcmdfunctions;
};
Annotation
- Immediate include surface: `atomfirmwareid.h`.
- Detected declarations: `struct atom_common_table_header`, `struct atom_rom_header_v2_2`, `struct atom_master_list_of_command_functions_v2_1`, `struct atom_master_command_function_v2_1`, `struct atom_function_attribute`, `struct atom_rom_hw_function_header`, `struct atom_master_list_of_data_tables_v2_1`, `struct atom_master_data_table_v2_1`, `struct atom_dtd_format`, `struct atom_firmware_info_v3_1`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.