commit | 25d295882a1adfcdaaad85369289677b87c7c8f0 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Thu Oct 01 23:41:21 2015 -0400 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Oct 12 13:54:56 2015 +1000 |
tree | 3c586938dcc7b2fd9db944db8745f60f72ae5a52 | |
parent | f231976c2e8964ceaa9250e57d27c35ff03825c2 [diff] |
drm/nouveau/bios: fix OF loading Currently OF bios load fails for a few reasons: - checksum failure - bios size too small - no PCIR header - bios length not a multiple of 4 In this change, we resolve all of the above by ignoring any checksum failures (since OF VBIOS tends not to have a checksum), and faking the PCIR data when loading from OF. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>