linux/drivers/gpu/drm/nouveau/nvkm
Ben Skeggs 7028156a91 drm/nouveau/gr/gf100-: split out per-gpc address calculation macro
There's a few places where we need to access a GPC register from ucode,
but outside of the falcon's io address space.  To do this we need to
calculate the offset based on which GPC we're executing on.

This used to be done manually, but we've since found a "base" offset
that can be added by the hardware.  To use this, an extra bit needs to
be set in the register address, which is what this macro achieves.

There should be no functional change from this commit.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2015-11-25 15:31:21 +10:00
..
core drm/nouveau/pci: merge agp handling from nouveau drm 2015-08-28 12:40:49 +10:00
engine drm/nouveau/gr/gf100-: split out per-gpc address calculation macro 2015-11-25 15:31:21 +10:00
subdev drm/nouveau/instmem: protect instobj list with a spinlock 2015-11-25 15:31:21 +10:00
Kbuild drm/nouveau: remove symlinks, move core/ to nvkm/ (no code changes) 2015-01-22 12:15:10 +10:00