diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-10-01 23:41:21 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-10-12 13:54:56 +1000 |
commit | 25d295882a1adfcdaaad85369289677b87c7c8f0 (patch) | |
tree | 3c586938dcc7b2fd9db944db8745f60f72ae5a52 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions