summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_chan.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2018-12-11 14:50:02 +1000
committerBen Skeggs <bskeggs@redhat.com>2018-12-11 15:37:47 +1000
commit86b442d74c333936a3085354d8c8d73ab21863ad (patch)
tree69d161186ca82ee0213955b093494d48f8964122 /drivers/gpu/drm/nouveau/nouveau_chan.h
parent302daab1a7b1206d33a9191d5b42ce606ed46e21 (diff)
downloadlinux-86b442d74c333936a3085354d8c8d73ab21863ad.tar.gz
drm/nouveau/fifo/gk104-: return channel instance in ctor args
Will be used to match fault buffer entries with a channel. 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.h1
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 64454c2ebd90..93d065d4a2a1 100644
--- a/drivers/gpu/drm/nouveau/nouveau_chan.h
+++ b/drivers/gpu/drm/nouveau/nouveau_chan.h
@@ -10,6 +10,7 @@ struct nouveau_channel {
struct nouveau_drm *drm;
int chid;
+ u64 inst;
struct nvif_object vram;
struct nvif_object gart;