summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-09 10:20:05 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-09 10:20:05 -0400
commitcaa0369a9e54444a6b325b7a4faff2d960ecba15 (patch)
tree677cfe19651ba4e4ccc4ac0d3a508d24cf134f13
parent8df7581de48340b88e02c1a993a4da4e69ed9867 (diff)
downloadopen-iov-caa0369a9e54444a6b325b7a4faff2d960ecba15.tar.gz
open-iov-caa0369a9e54444a6b325b7a4faff2d960ecba15.zip
vgsp-sema: hoist the GR-ring discovery bitmap declaration for the session flush
-rw-r--r--kernel/gsp_sema_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c
index 39e0096..d9c1387 100644
--- a/kernel/gsp_sema_service.c
+++ b/kernel/gsp_sema_service.c
@@ -424,6 +424,7 @@ static u64 svc_pb_last;
static u32 svc_pb_idle; /* consecutive passes with no new base */
static u32 svc_pb_last_n; /* bases before the active pass */
static unsigned long svc_pb_done; /* CE ranks whose push buffer is pinned */
+static unsigned long svc_gr_ring_done; /* GR ranks whose ring is pinned */
static bool svc_pb_first_push(const u8 *buf)
{
@@ -7588,7 +7589,6 @@ static void svc_notify_complete(struct nv_vgpu_device *vgpu,
#define SVC_CE_RING_FB_STRIDE 0x20000ULL
static unsigned long svc_ring_done; /* CE ranks whose ring is pinned */
-static unsigned long svc_gr_ring_done; /* GR ranks whose ring is pinned */
static bool svc_fbs_scan_done; /* one-shot FB entry scan diagnostic */
static u64 svc_gr_ring_base; /* FB offset where GR chunks start */