amdgpu_acpi_init(9)
amdgpu_acpi_init(9)
okay so bestie, this page is straight out of the Kernel API Manual, and it's giving βtiny but important init functionβ energy. let's get into it π β¨
π NAME π
amdgpu_acpi_init β init driver acpi support. that's the whole vibe, no cap π«Ά
πΈ SYNOPSIS πΈ
here's the signature, and yes, copy it exactly please:
int amdgpu_acpi_init (struct amdgpu_device *adev );
π ARGUMENTS π
adevβ anamdgpu_devicepointer. literally the device pointer you're handing over, bestie π¦
β¨ DESCRIPTION β¨
so this function verifies the AMD ACPI interfaces and registers with the acpi notifier chain β and yes, that's for all asics, periodt π π₯
it returns 0 on success, and an error on failure. iconic behavior, honestly ππ
no cap: success is 0, failure is an error. that's the whole return situation π«Ά
π SEE ALSO π
the whole squad is here, bestie β go read these too:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_atif_call(9)amdgpu_atif_parse_notification(9)amdgpu_atif_parse_functions(9)amdgpu_atif_verify_interface(9)amdgpu_atif_get_notification_params(9)amdgpu_atif_query_backlight_caps(9)amdgpu_atif_get_sbios_requests(9)amdgpu_atif_handler(9)amdgpu_atcs_call(9)amdgpu_atcs_parse_functions(9)amdgpu_atcs_verify_interface(9)amdgpu_acpi_is_pcie_performance_request_supported(9)amdgpu_acpi_is_power_shift_control_supported(9)amdgpu_acpi_pcie_notify_device_ready(9)amdgpu_acpi_pcie_performance_request(9)amdgpu_acpi_power_shift_control(9)amdgpu_acpi_smart_shift_update(9)amdgpu_acpi_set_uma_allocation_size(9)amdgpu_acpi_get_node_id(9)amdgpu_acpi_event(9)amdgpu_acpi_fini(9)amdgpu_atif_pci_probe_handle(9)amdgpu_atcs_pci_probe_handle(9)amdgpu_acpi_should_gpu_reset(9)amdgpu_acpi_is_s3_active(9)amdgpu_acpi_is_s0ix_active(9)
mwah π this little icon was brought to you by the source tree ./drivers/gpu/drm/amd/amdgpu, stamped October 2026, and living its best life in the Kernel API Manual β slay πππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms