Re: [PATCH v7 09/28] media: iris: implement reqbuf ioctl with vb2_queue_setup
From: Stefan Schmidt
Date: Tue Dec 10 2024 - 05:02:02 EST
Hello Dikshita,
> +#define HFI_SESSION_ERROR_BEGIN 0x04000000
> +#define HFI_ERROR_UNKNOWN_SESSION 0x04000001
> +#define HFI_ERROR_MAX_SESSIONS 0x04000002
> +#define HFI_ERROR_FATAL 0x04000003
> +#define HFI_ERROR_INVALID_STATE 0x04000004
> +#define HFI_ERROR_INSUFFICIENT_RESOURCES 0x04000005
> +#define HFI_ERROR_BUFFER_NOT_SET 0x04000006
> +#define HFI_SESSION_ERROR_END 0x04FFFFFF
I am running this set on x1e. During tests with fluster I often see
error code 0x04000008
[ 103.787979] qcom-iris aa00000.video-codec: session error received
0x4000008: unknown
Seems worthwhile to add this one, and maybe other missing error codes
as well, here and to iris_hfi_gen2_handle_session_error() below.
regards
Stefan Schmidt