diff options
| -rw-r--r-- | kernel/gsp_sema_service.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c index 9a6fde9..66ab29b 100644 --- a/kernel/gsp_sema_service.c +++ b/kernel/gsp_sema_service.c @@ -12344,8 +12344,17 @@ static bool svc_gl_window_drawwin_ok(const u8 *buf, u32 len, u32 start_off, * persisted bind when one is known; the replay context's RT state * comes from the channel shadow, not from this window. */ + /* + * The bind may legitimately come from the X/2D channel that owns the + * scanout surface (c910: RT-PERSIST h=0x1000013 B=0x20400000 + * W=0x780 H=0x438) while the draw arrives on the GL/beef channel + * (0xbeef0100) that renders into it, so the stored channel is a + * diagnostic only. A real draw marker is required so a data blob + * cannot ride the persisted bind into the replay lane; the state is + * cleared per session (svc_session_flush). + */ if (READ_ONCE(svc_gl_rtp) && svc_gl_rtp_valid() && - READ_ONCE(svc_gl_rtp_chan) == h && svc_gl_win_has_draw(buf, len)) { + svc_gl_win_has_draw(buf, len)) { static u32 rtp_adm_log; if (rtp_adm_log < 16u) { |
