Commit 55b8e85b authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fifo/gk104-: accept engine contexts for CE3 and up

These can exist on GP100 and newer.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent eb47db4f
...@@ -62,9 +62,8 @@ gk104_fifo_gpfifo_engine_addr(struct nvkm_engine *engine) ...@@ -62,9 +62,8 @@ gk104_fifo_gpfifo_engine_addr(struct nvkm_engine *engine)
{ {
switch (engine->subdev.index) { switch (engine->subdev.index) {
case NVKM_ENGINE_SW : case NVKM_ENGINE_SW :
case NVKM_ENGINE_CE0 : case NVKM_ENGINE_CE0...NVKM_ENGINE_CE_LAST:
case NVKM_ENGINE_CE1 : return 0;
case NVKM_ENGINE_CE2 : return 0x0000;
case NVKM_ENGINE_GR : return 0x0210; case NVKM_ENGINE_GR : return 0x0210;
case NVKM_ENGINE_SEC : return 0x0220; case NVKM_ENGINE_SEC : return 0x0220;
case NVKM_ENGINE_MSPDEC: return 0x0250; case NVKM_ENGINE_MSPDEC: return 0x0250;
......
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