mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
drm/nouveau/falcon/msgqueue: add SEC2 support
Add support for running a msgqueue on the SEC2 falcon. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
6ac2cc209e
commit
9706d8f9d1
1 changed files with 3 additions and 0 deletions
|
|
@ -396,6 +396,9 @@ msgqueue_handle_init_msg(struct nvkm_msgqueue *priv,
|
|||
case NVKM_SUBDEV_PMU:
|
||||
tail_reg = 0x4cc;
|
||||
break;
|
||||
case NVKM_ENGINE_SEC2:
|
||||
tail_reg = 0xa34;
|
||||
break;
|
||||
default:
|
||||
nvkm_error(subdev, "falcon %s unsupported for msgqueue!\n",
|
||||
nvkm_subdev_name[falcon->owner->index]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue