summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/gsp_rm_emulation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/gsp_rm_emulation.c b/kernel/gsp_rm_emulation.c
index 10633ab..53270b8 100644
--- a/kernel/gsp_rm_emulation.c
+++ b/kernel/gsp_rm_emulation.c
@@ -3428,7 +3428,7 @@ static void gsp_rm_handle_rm_control(struct gsp_emu_context *ctx,
* staying zero exactly like the small-control generic reply.
*/
#define GSPRM_WIRE_REPLY_PARAMS_MAX \
- (GSPRM_QUEUE_ELEMENT_SIZE * 16 - 8 - 32 - GSP_RM_CTRL_HDR_SIZE)
+ (GSPRM_QUEUE_ELEMENT_SIZE * 16 - 512)
if (out_params_size > GSPRM_WIRE_REPLY_PARAMS_MAX) {
nv_vgpu_info(ctx->vgpu,
"vgsp-rm: RM_CONTROL cmd=0x%x out=%u clamped to %u (wire record limit; guest would reject the record)",