Commit 9706d8f9 authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Ben Skeggs

drm/nouveau/falcon/msgqueue: add SEC2 support

Add support for running a msgqueue on the SEC2 falcon.
Signed-off-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 6ac2cc20
...@@ -396,6 +396,9 @@ msgqueue_handle_init_msg(struct nvkm_msgqueue *priv, ...@@ -396,6 +396,9 @@ msgqueue_handle_init_msg(struct nvkm_msgqueue *priv,
case NVKM_SUBDEV_PMU: case NVKM_SUBDEV_PMU:
tail_reg = 0x4cc; tail_reg = 0x4cc;
break; break;
case NVKM_ENGINE_SEC2:
tail_reg = 0xa34;
break;
default: default:
nvkm_error(subdev, "falcon %s unsupported for msgqueue!\n", nvkm_error(subdev, "falcon %s unsupported for msgqueue!\n",
nvkm_subdev_name[falcon->owner->index]); nvkm_subdev_name[falcon->owner->index]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment