aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-01-15 06:34:22 +1000
committerBen Skeggs <bskeggs@redhat.com>2020-01-15 10:50:28 +1000
commit8763955ba73807c6f5d38364074c1802d8415172 (patch)
tree7f5b91b8483c2372beabd5fab025f0837af46115 /drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h
parentdrm/nouveau/flcn: split msgqueue into multiple pieces (diff)
downloadlinux-dev-8763955ba73807c6f5d38364074c1802d8415172.tar.xz
linux-dev-8763955ba73807c6f5d38364074c1802d8415172.zip
drm/nouveau/flcn/qmgr: explicitly create queue manager from subdevs
Code to interface with LS firmwares is being moved to the subdevs where it belongs, rather than living in the common falcon code. This is an incremental step towards that goal. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h b/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h
index db00c5ee6124..9c8d77c11fd9 100644
--- a/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h
+++ b/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h
@@ -9,6 +9,10 @@
/* max size of the messages we can receive */
#define MSG_BUF_SIZE 128
+struct nvkm_falcon_qmgr {
+ struct nvkm_falcon *falcon;
+};
+
struct nvkm_msgqueue_seq *msgqueue_seq_acquire(struct nvkm_msgqueue *);
void msgqueue_seq_release(struct nvkm_msgqueue *, struct nvkm_msgqueue_seq *);
#endif