[PATCH] drm/nouveau/bios: fix offset calculation for BMPv1 bioses

2014-01-07 Thread Ben Skeggs
- Original Message - > From: "Ilia Mirkin" > To: "Ben Skeggs" > Cc: dri-devel at lists.freedesktop.org, "Ilia Mirkin" alum.mit.edu> > Sent: Wednesday, 8 January, 2014 3:33:59 AM > Subject: [PATCH] drm/nouveau/bios: fix offset calculati

[PATCH] drm/nouveau/bios: fix offset calculation for BMPv1 bioses

2014-01-07 Thread Ilia Mirkin
The only BIOS on record that needs the 14 offset has a bios major version 2 but BMP version 1.01. Another bunch of BIOSes that need the 18 offset have BMP version 2.01 or 5.01 or higher. So instead of looking at the bios major version, look at the BMP version. BIOSes with BMP version 0 do not conta