ATOM_OBJECT_HEADER content revision and RADEONGetATOMConnectorInfoFromBIOSObject

Sebastian D´Alessandro sejawoya at yahoo.com.ar
Mon Mar 26 17:29:38 PDT 2012


Hello,

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, http://devgurus.amd.com/thread/158887.

Thanks.


More information about the xorg-driver-ati mailing list