drm/nouveau/top: add function to lookup PRI address for devices
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 22:59:58 +0000 (08:59 +1000)
commiteec9ffe47f60db8e2ff96b49939d4c2b1be2c36f
treee8d9de6d82c16f51f7d2f2ecd0df34eb5b4d6620
parent78cdadb8405e8364d990e7b7183b3d404f4de9bf
drm/nouveau/top: add function to lookup PRI address for devices

Will be using this in upcoming changes to avoid the need for entirely
new subdevs to deal with Turing register moves.

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