drm/nouveau/gr/gf100-: generate golden context during first object alloc
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Jun 2022 10:48:05 +0000 (20:48 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Nov 2022 00:45:10 +0000 (10:45 +1000)
commitca081fff6ecc63c86a99918230cc9b947bebae8a
treee45e8ad00eda6ab0322d48ca67ff4ec2818cad98
parent113750215058a19330858dc41fbaac8f9540d45f
drm/nouveau/gr/gf100-: generate golden context during first object alloc

Needed for GV100 (and only GV100 for some reason) for WFI_GOLDEN_SAVE.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c