video: driver: add driver version

Add driver version for clients to query and manage
accordginly.

Change-Id: I5e8c51a4f18c28c0ed4d5a8bdaf0660d175c420a
Signed-off-by: Maheshwar Ajja <quic_majja@quicinc.com>
This commit is contained in:
Maheshwar Ajja
2023-02-23 11:50:33 -08:00
committed by Akshata Sahukar
parent 4a2de2df11
commit ed089ff4e5
5 changed files with 20 additions and 0 deletions

View File

@@ -23,6 +23,8 @@
#include "hfi_command.h"
#include "venus_hfi.h"
/* version: major[24:31], minor[16:23], revision[0:15] */
#define DRIVER_VERSION 0x04000000
#define DEFAULT_VIDEO_CONCEAL_COLOR_BLACK 0x8020010
#define MAX_BASE_LAYER_PRIORITY_ID 63
#define MAX_OP_POINT 31
@@ -391,6 +393,9 @@ static struct msm_platform_inst_capability instance_cap_data_pineapple[] = {
* hfi_id,
* flags}
*/
{DRV_VERSION, DEC|ENC, CODECS_ALL,
0, INT_MAX, 1, DRIVER_VERSION,
V4L2_CID_MPEG_VIDC_DRIVER_VERSION},
{FRAME_WIDTH, DEC, CODECS_ALL, 96, 8192, 1, 1920},