ATOM_OBJECT_HEADER content revision and RADEONGetATOMConnectorInfoFromBIOSObject

Sebastian D´Alessandro sejawoya at
Mon Mar 26 17:29:38 PDT 2012


In atombios.h I see ATOM_OBJECT_HEADER and ATOM_OBJECT_HEADER_V3 declared, ATOM_OBJECT_HEADER_V3 has an extra member, usMiscObjectTableOffset, but in the rest they are identical.

In radeon_atombios.c, function: RADEONGetATOMConnectorInfoFromBIOSObject; someone considered that if content revision is lesser than 2 the function should fail, but usMiscObjectTableOffset is not used there.

Is ATOM_OBJECT_HEADER_V2 missing? Has ATOM_OBJECT_HEADER more members than it should? Or "if (crev < 2) return FALSE;" should be removed from RADEONGetATOMConnectorInfoFromBIOSObject?

I also asked this question in AMD developer central,


More information about the xorg-driver-ati mailing list