summaryrefslogtreecommitdiff
path: root/drm/nouveau_chan.h
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-01-07 12:33:59 -0500
committerBen Skeggs <bskeggs@redhat.com>2014-01-08 15:54:50 +1000
commitf1a875142f8a9ca84accc59ed5994fa0a2f3e585 (patch)
tree0ce61f809119be987593adbc1447b8a88ea4bd9a /drm/nouveau_chan.h
parentccb3450e4824b664f322feaf63fe92c48685d008 (diff)
drm/nouveau/bios: fix offset calculation for BMPv1 bioses
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 contain a detectable script, so always return 0 for them. See https://bugs.freedesktop.org/show_bug.cgi?id=68835 Reported-by: Mauro Molinari <mauromol@tiscali.it> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau_chan.h')
0 files changed, 0 insertions, 0 deletions