summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2023-09-18 23:21:47 +0300
committerDave Airlie <airlied@redhat.com>2023-10-31 08:08:18 +0300
commit08ab88f5a033c67625272eda99de4d245809e0f6 (patch)
tree94765c5eea3655cad7f4f5da5363ae17a651b711 /drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
parent142cd60243cac1dfa18d3714ed4dd0cdc3786180 (diff)
downloadlinux-08ab88f5a033c67625272eda99de4d245809e0f6.tar.xz
drm/nouveau/nvenc/r535: initial support
Adds support for allocating VIDEO_ENCODER classes from RM. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230918202149.4343-43-skeggsb@gmail.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
index 553658a20025..7257120386e8 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
@@ -596,6 +596,7 @@ r535_fifo_runl_ctor(struct nvkm_fifo *fifo)
engn = nvkm_runl_add(runl, nv2080, &r535_gr, type, inst);
break;
case NVKM_ENGINE_NVDEC:
+ case NVKM_ENGINE_NVENC:
engn = nvkm_runl_add(runl, nv2080, &r535_flcn, type, inst);
break;
case NVKM_ENGINE_SW: