projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb47db4
)
drm/nouveau/fifo/gk104-: accept engine contexts for CE3 and up
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 8 May 2018 10:39:46 +0000
(20:39 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 18 May 2018 05:01:21 +0000
(15:01 +1000)
These can exist on GP100 and newer.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c
b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c
index 80c87521bebee7e9fd6bb7a537c3294cdcc2b3ac..68461993394f13adc8ef6fe3a9d9ad29cdc93148 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c
@@
-62,9
+62,8
@@
gk104_fifo_gpfifo_engine_addr(struct nvkm_engine *engine)
{
switch (engine->subdev.index) {
case NVKM_ENGINE_SW :
- case NVKM_ENGINE_CE0 :
- case NVKM_ENGINE_CE1 :
- case NVKM_ENGINE_CE2 : return 0x0000;
+ case NVKM_ENGINE_CE0...NVKM_ENGINE_CE_LAST:
+ return 0;
case NVKM_ENGINE_GR : return 0x0210;
case NVKM_ENGINE_SEC : return 0x0220;
case NVKM_ENGINE_MSPDEC: return 0x0250;