Skip to content

Commit

Permalink
drm/nouveau/fifo/nv40: no ctxsw for pre-nv44 mpeg engine
Browse files Browse the repository at this point in the history
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
  • Loading branch information
Ilia Mirkin authored and Ben Skeggs committed Apr 29, 2017
1 parent 99a97a8 commit eef4988
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ nv40_fifo_dma_engine(struct nvkm_engine *engine, u32 *reg, u32 *ctx)
*ctx = 0x38;
return true;
case NVKM_ENGINE_MPEG:
if (engine->subdev.device->chipset < 0x44)
return false;
*reg = 0x00330c;
*ctx = 0x54;
return true;
Expand Down

0 comments on commit eef4988

Please sign in to comment.