mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
drm/nouveau/fifo/nv40: no ctxsw for pre-nv44 mpeg engine
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
99a97a8ba9
commit
eef4988ab4
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue