radeon_acpi_vfct_match(9)
π
radeon_acpi_vfct_match(9) β Kernel API Manual
okay so bestie, welcome to the Kernel API Manual entry for radeon_acpi_vfct_match(9) β the little matchmaker that checks if a VFCT entry matches the device. no cap, sheβs here to do one job and do it cute. π
π NAME π
radeon_acpi_vfct_match β Check if a VFCT entry matches the device.
β¨ SYNOPSIS β¨
int radeon_acpi_vfct_match (struct radeon_device *rdev ,
VFCT_IMAGE_HEADER *vhdr );
π ARGUMENTS π
rdevβ Radeon device. the main character device energy.vhdrβ VFCT image header to check. the header getting the vibe check, periodt.
πΈ DESCRIPTION πΈ
Okay so hereβs the tea: VFCT entries contain the PCI bus number as recorded during BIOS POST. On systems where the kernel renumbers PCI buses (e.g. pci=realloc or resource conflicts), the runtime bus number may differ from the POST value. So this function matches by device identity (vendor + device + function) and uses the bus number as a preference: exact bus match is preferred, but when the bus numbers disagree we accept the entry if the device identity matches. itβs giving flexible but picky in the right way. π
π RETURN π
0on match β slay, it matched. β¨-ENODEVon no match β not it, no match. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/radeon/radeon_bios.c radeon_atrm_call(9)
iykyk π«Ά
mwah π β this cutie lives under source/version ./drivers/gpu/drm/radeon and is dated October 2026. π§ββοΈ
π¦ 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