diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2018-12-11 07:50:02 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-12-11 08:37:49 +0300 |
commit | 9d24907ccffefc45c7ae53dede30f5bba93a4245 (patch) | |
tree | 479dbf08dd93521db6e72644c25dc40587dbb06c /drivers/gpu/drm/nouveau/nouveau_chan.h | |
parent | a98a3c52f81d20d61b43d084ddb724ab55d32526 (diff) | |
download | linux-9d24907ccffefc45c7ae53dede30f5bba93a4245.tar.xz |
drm/nouveau/fifo/gv100: return work submission token in channel ctor args
The token will also contain runlist ID on Turing, so instead expose it as
an opaque value from NVKM so the client doesn't need to care.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_chan.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_chan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.h b/drivers/gpu/drm/nouveau/nouveau_chan.h index a62d233b2a97..28418f4e5748 100644 --- a/drivers/gpu/drm/nouveau/nouveau_chan.h +++ b/drivers/gpu/drm/nouveau/nouveau_chan.h @@ -11,6 +11,7 @@ struct nouveau_channel { int chid; u64 inst; + u32 token; struct nvif_object vram; struct nvif_object gart; |