Skip to content

Commit e866927

Browse files
Ben Skeggsairlied
authored andcommitted
drm/nouveau/nvkm: bump maximum number of NVJPG
RM (and GH100) support 8 NVJPG instances. Signed-off-by: Ben Skeggs <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7e731d4 commit e866927

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/gpu/drm/nouveau/include/nvkm/core/layout.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ NVKM_LAYOUT_ONCE(NVKM_ENGINE_MSPPP , struct nvkm_engine , msppp)
4444
NVKM_LAYOUT_ONCE(NVKM_ENGINE_MSVLD , struct nvkm_engine , msvld)
4545
NVKM_LAYOUT_INST(NVKM_ENGINE_NVDEC , struct nvkm_nvdec , nvdec, 8)
4646
NVKM_LAYOUT_INST(NVKM_ENGINE_NVENC , struct nvkm_nvenc , nvenc, 3)
47-
NVKM_LAYOUT_ONCE(NVKM_ENGINE_NVJPG , struct nvkm_engine , nvjpg)
47+
NVKM_LAYOUT_INST(NVKM_ENGINE_NVJPG , struct nvkm_engine , nvjpg, 8)
4848
NVKM_LAYOUT_ONCE(NVKM_ENGINE_OFA , struct nvkm_engine , ofa)
4949
NVKM_LAYOUT_ONCE(NVKM_ENGINE_PM , struct nvkm_pm , pm)
5050
NVKM_LAYOUT_ONCE(NVKM_ENGINE_SEC , struct nvkm_engine , sec)

drivers/gpu/drm/nouveau/nvkm/subdev/top/ga100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ga100_top_parse(struct nvkm_top *top)
7676
case 0x00000012: I_(NVKM_SUBDEV_IOCTRL, inst); break;
7777
case 0x00000013: I_(NVKM_ENGINE_CE , inst); break;
7878
case 0x00000014: O_(NVKM_SUBDEV_GSP , 0); break;
79-
case 0x00000015: O_(NVKM_ENGINE_NVJPG , 0); break;
79+
case 0x00000015: I_(NVKM_ENGINE_NVJPG , inst); break;
8080
case 0x00000016: O_(NVKM_ENGINE_OFA , 0); break;
8181
case 0x00000017: O_(NVKM_SUBDEV_FLA , 0); break;
8282
break;

drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ gk104_top_parse(struct nvkm_top *top)
8989
case 0x00000012: I_(NVKM_SUBDEV_IOCTRL, inst); break;
9090
case 0x00000013: I_(NVKM_ENGINE_CE , inst); break;
9191
case 0x00000014: O_(NVKM_SUBDEV_GSP , 0); break;
92-
case 0x00000015: O_(NVKM_ENGINE_NVJPG , 0); break;
92+
case 0x00000015: I_(NVKM_ENGINE_NVJPG , inst); break;
9393
default:
9494
break;
9595
}

0 commit comments

Comments
 (0)