drm/nouveau/gr/gf100-: lose contents of global ctxbufs across suspend
authorBen Skeggs <bskeggs@redhat.com>
Tue, 19 Sep 2023 21:55:58 +0000 (17:55 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 19 Sep 2023 22:21:50 +0000 (18:21 -0400)
commite120f4cafe15b0320f8ec4e60ad61339129304fe
tree22f2bc3999d1b298b8e49598eb39f748f6446caf
parent12c9b05da9189a14f0db62ac4e31409bb4a87533
drm/nouveau/gr/gf100-: lose contents of global ctxbufs across suspend

Some of these buffers are quite large, and there's no need to preserve
them across suspend.

Mark the contents as lost to speedup suspend/resume.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Acked-by: Danilo Krummrich <me@dakr.org>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230919220442.202488-4-lyude@redhat.com
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c