summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-11-23 05:24:32 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-11-25 15:29:25 +1000
commit6d631c9d45be2b67dc868078895d864388fcbd22 (patch)
tree59f8d14483d6dc24ad44469f3cff53f6b177c10d /drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h
parent610a2fab06a897ef8da1921128f0a44daa30f946 (diff)
downloadnouveau-6d631c9d45be2b67dc868078895d864388fcbd22.tar.gz
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>
Diffstat (limited to 'drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h')
0 files changed, 0 insertions, 0 deletions