drm/nouveau/bios: add more checks to PRAMIN image fetching
authorBen Skeggs <bskeggs@redhat.com>
Wed, 26 Feb 2014 00:14:15 +0000 (10:14 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 04:08:05 +0000 (14:08 +1000)
commit457e77b26428ab4a24998eecfb99f27fa4195397
tree01c10c372b10b3c8359956e17d02e3e2e85d7d23
parent420b94697722512a2c0732970dc1530197a49adb
drm/nouveau/bios: add more checks to PRAMIN image fetching

Prevents an attempt to access VRAM on an un-posted board, which, on a
particular system with a GRID K1 installed, causes a MCE and chokes
the entire system.

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