iter18 α-22 TEST: skip DECODE_PARAMS to isolate validation failure

If removing DECODE_PARAMS from libva's S_EXT_CTRLS batch lets the other
4 controls stage, rkvdec_hevc_run printk will show w=1280 h=720 etc.
That confirms DECODE_PARAMS specifically is failing kernel validation
and rolling back the whole batch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
claude-noether
2026-05-14 08:59:33 +00:00
parent 0dbe1732f6
commit 5a6eb4351d
+10
View File
@@ -635,11 +635,21 @@ int h265_set_controls(struct request_data *driver_data,
.ptr = &scaling_matrix,
.size = sizeof(scaling_matrix),
};
/*
* iter18 α-22 TEST: skip DECODE_PARAMS submission.
* error_idx=4 from S_EXT_CTRLS showed DECODE_PARAMS fails validation.
* If removing it from the batch lets SPS/PPS/SLICE/SCALING_MATRIX
* stage correctly, the bug is isolated to DECODE_PARAMS validation.
*/
#if 0
controls[n++] = (struct v4l2_ext_control){
.id = V4L2_CID_STATELESS_HEVC_DECODE_PARAMS,
.ptr = &decode_params,
.size = sizeof(decode_params),
};
#else
(void)decode_params;
#endif
rc = v4l2_set_controls(driver_data->video_fd,
surface_object->request_fd,