https://github.com/torvalds/linux
Revision 7028156a91326fda29cf972f0d148badbf5ae078 authored by Ben Skeggs on 22 November 2015, 19:24:32 UTC, committed by Ben Skeggs on 25 November 2015, 05:31:21 UTC
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>
1 parent 9543294
History
Tip revision: 7028156a91326fda29cf972f0d148badbf5ae078 authored by Ben Skeggs on 22 November 2015, 19:24:32 UTC
drm/nouveau/gr/gf100-: split out per-gpc address calculation macro
Tip revision: 7028156
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 319.7 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top