projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a97a8
)
drm/nouveau/fifo/nv40: no ctxsw for pre-nv44 mpeg engine
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Tue, 4 Apr 2017 02:46:14 +0000
(22:46 -0400)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sat, 29 Apr 2017 12:39:23 +0000
(22:39 +1000)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c
b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c
index 0ec179fc40a1f366ac2891aa306d7d1c6107af44..5f722c6e8a2f4652eec5dde550d0a4792cd86c8b 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c
@@
-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;