drm/nouveau/bios: pointers beyond end of first image need special handling
authorBen Skeggs <bskeggs@redhat.com>
Wed, 22 Jun 2016 02:41:04 +0000 (12:41 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
commit2f96e8e3e0226d74ca62544d3c9f3558e55b6bb2
tree8f324be15ad5387dc51f0b28d6fafbee850dfe20
parent4d4e9907ff572bb1d1c0f6913ad6e3d6d4525077
drm/nouveau/bios: pointers beyond end of first image need special handling

Makes common the code that was previously used by the PMU table parsing,
as it appears other tables need this too.

Not much of an idea what this is all about...

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios.h
drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/bios/image.c
drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c