drm/nouveau/gr/gf100-: move fecs discover_pm_image_size into a function
authorBen Skeggs <bskeggs@redhat.com>
Tue, 12 Feb 2019 12:28:13 +0000 (22:28 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 19 Feb 2019 23:00:00 +0000 (09:00 +1000)
commit8bf2d348bd549b7ebbcd894aa8afa0a407beb081
tree336f7ed485a63bf8038b57a7d15b07bd0e6d0f72
parent7d3f06881dd07f9358b628d328520eb17cf91eb7
drm/nouveau/gr/gf100-: move fecs discover_pm_image_size into a function

Makes the code somewhat less magic.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h