]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/nouveau/bios: return actual size of the buffer retrieved via _ROM
authorBen Skeggs <bskeggs@redhat.com>
Thu, 19 Nov 2015 03:18:34 +0000 (13:18 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 25 Nov 2015 05:31:21 +0000 (15:31 +1000)
commit954329412ea45ad6b509aa26f1441941fd432823
tree154064166e6a137474bc54111e5e143e9de3911b
parent950950327bd63b7f54808c7028839a37899035f9
drm/nouveau/bios: return actual size of the buffer retrieved via _ROM

Fixes detection of a failed attempt at fetching the entire ROM image
in one-shot (a violation of the spec, that works a lot of the time).

Tested on a HP Zbook 15 G2.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_acpi.c