diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-01-15 06:34:22 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-01-15 10:50:29 +1000 |
commit | d114a1393fa01c4034d895072905578319a903f9 (patch) | |
tree | b919222d6234608a07eab974b156945a0cc65ba1 /drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h | |
parent | 2d063981d710391cdea4e8c6483d94b519b1cde2 (diff) |
drm/nouveau/flcn/msgq: move handling of init message to subdevs
When the PMU/SEC2 LS FWs have booted, they'll send a message to the host
with various information, including the configuration of message/command
queues that are available.
Move the handling for this to the relevant subdevs.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h b/drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h index 9c00e6634499..1992391832a1 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h @@ -7,6 +7,7 @@ struct nvkm_sec2_func { const struct nvkm_falcon_func *flcn; u8 unit_acr; void (*intr)(struct nvkm_sec2 *); + int (*initmsg)(struct nvkm_sec2 *); }; void gp102_sec2_intr(struct nvkm_sec2 *); |