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:
+10
@@ -635,11 +635,21 @@ int h265_set_controls(struct request_data *driver_data,
|
|||||||
.ptr = &scaling_matrix,
|
.ptr = &scaling_matrix,
|
||||||
.size = sizeof(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){
|
controls[n++] = (struct v4l2_ext_control){
|
||||||
.id = V4L2_CID_STATELESS_HEVC_DECODE_PARAMS,
|
.id = V4L2_CID_STATELESS_HEVC_DECODE_PARAMS,
|
||||||
.ptr = &decode_params,
|
.ptr = &decode_params,
|
||||||
.size = sizeof(decode_params),
|
.size = sizeof(decode_params),
|
||||||
};
|
};
|
||||||
|
#else
|
||||||
|
(void)decode_params;
|
||||||
|
#endif
|
||||||
|
|
||||||
rc = v4l2_set_controls(driver_data->video_fd,
|
rc = v4l2_set_controls(driver_data->video_fd,
|
||||||
surface_object->request_fd,
|
surface_object->request_fd,
|
||||||
|
|||||||
Reference in New Issue
Block a user