summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_sema_service.c')
-rw-r--r--kernel/gsp_sema_service.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c
index 66ab29b..dc4792d 100644
--- a/kernel/gsp_sema_service.c
+++ b/kernel/gsp_sema_service.c
@@ -12284,6 +12284,28 @@ static void svc_gl_rt_note(const u8 *buf, u32 len, u64 h, u64 push)
}
o += span * 4u;
}
+ /*
+ * eng89e: bounded candidate witness for the beef draw channel. The
+ * dmesg receipt answers whether the colour-target bind is present in
+ * the push at all, was filtered by the surface-class checks, or was
+ * never authored on this boot (the c918-c921 class: no RT-PERSIST and
+ * every 3D mark rejected).
+ */
+ if (gsp_sema_dbg && (h & 0xfffff000u) == 0xbeef0000u) {
+ static u32 rt_scan_log;
+
+ if (rt_scan_log < 32u) {
+ rt_scan_log++;
+ pr_info("sema-gl: RT-SCAN h=0x%llx len=%u A=%08x,%08x,%08x,%08x B=%08x,%08x,%08x,%08x W=%08x,%08x,%08x,%08x H=%08x,%08x,%08x,%08x seen=%d%d%d%d/%d%d%d%d\n",
+ (unsigned long long)h, len,
+ A[0], A[1], A[2], A[3],
+ B[0], B[1], B[2], B[3],
+ W[0], W[1], W[2], W[3],
+ H[0], H[1], H[2], H[3],
+ sa[0], sa[1], sa[2], sa[3],
+ sb[0], sb[1], sb[2], sb[3]);
+ }
+ }
for (j = 0; j < 4u; j++) {
if (sb[j] && sw[j] && sh[j] &&
(A[j] & ~0xffu) == 0 && (A[j] & 0xffu) <= 1u &&