summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/gsp_sema_service.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c
index dc4792d..1487f86 100644
--- a/kernel/gsp_sema_service.c
+++ b/kernel/gsp_sema_service.c
@@ -13516,6 +13516,26 @@ static void svc_gl_flush(struct nv_vgpu_device *vgpu,
* is not a usable C597 RT (see the clause above). */
if (svc_gl_mark_log < 64) {
svc_gl_mark_log++;
+ /*
+ * eng89f: name the five conjoined predicates so a
+ * reject says WHICH one failed (state-push class,
+ * per-window last/first bind, persisted mask and
+ * its channel, draw-marker guard).
+ */
+ pr_info("sema-gl: RT-ADMIT-BLOCK h=0x%x start=0x%x at=0x%x win=%u state_push=%d rt_valid=%d rt0_first=%d rtp=%d mask=0x%x pchan=0x%llx has_draw=%d\n",
+ ch->h_object, svc_gl.start_off, at_off,
+ at_off > svc_gl.start_off ?
+ (at_off - svc_gl.start_off) / 4u : 0u,
+ svc_gl_window_state_push(buf, len,
+ svc_gl.start_off),
+ svc_gl_window_rt_valid(buf, len,
+ svc_gl.start_off, at_off),
+ svc_gl_window_rt_first_valid(buf, len,
+ svc_gl.start_off, at_off),
+ READ_ONCE(svc_gl_rtp),
+ READ_ONCE(svc_gl_rtp_mask),
+ (unsigned long long)READ_ONCE(svc_gl_rtp_chan),
+ svc_gl_win_has_draw(buf, len));
pr_info("sema-gl: 3D mark rejected (beef draw-synth: no valid last colour-target bind) h=0x%x push=0x%llx win=%u words @off=0x%x\n",
ch->h_object, push_va,
at_off > svc_gl.start_off ?