[coreboot] AMD Family 15tn/16: What is `…HookGfxGetVbiosImage` needed for?

Paul Menzel paulepanter at users.sourceforge.net
Wed Nov 6 23:48:29 CET 2013


Dear coreboot folks,


why does AGESA need the Video BIOS hook for Family 15tn (Trinity) and
Family 16 (Kabini)?

        $ more src/northbridge/amd/agesa/family15tn/fam15tn_callouts.c
        […]
        AGESA_STATUS fam15tn_HookGfxGetVbiosImage(UINT32 Func, UINT32 FchData, VOID *ConfigPrt)
        {
        	GFX_VBIOS_IMAGE_INFO  *pVbiosImageInfo = (GFX_VBIOS_IMAGE_INFO *)ConfigPrt;
        	pVbiosImageInfo->ImagePtr = cbfs_get_file_content(
        			CBFS_DEFAULT_MEDIA, "pci"CONFIG_VGA_BIOS_ID".rom",
        			CBFS_TYPE_OPTIONROM);
        	/* printk(BIOS_DEBUG, "IMGptr=%x\n", pVbiosImageInfo->ImagePtr); */
        	return pVbiosImageInfo->ImagePtr == NULL ? AGESA_WARNING : AGESA_SUCCESS;
        }

Looking through

        src/vendorcode/amd/agesa/f15tn/Legacy/Proc/agesaCallouts.c

I do not see what this is needed for.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20131106/9a9236d8/attachment.sig>


More information about the coreboot mailing list