From 593d8a8ec64e4a95bf612fe89dca3bb5bb4dbd53 Mon Sep 17 00:00:00 2001 From: Tao Guo Date: Sun, 4 Nov 2018 03:22:49 +0000 Subject: [PATCH] media: add get free handle cmd [4/9] PD#SWPL-1081 Problem: Need get freed handle for DRM frame mode Solution: Add ioctl cmd to get freed handle Verify: P212 Change-Id: Ic0ce64061e334fdea5580d9f92b3e0b58caa88eb Signed-off-by: Tao Guo --- include/linux/amlogic/media/utils/amstream.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/amlogic/media/utils/amstream.h b/include/linux/amlogic/media/utils/amstream.h index 3dfe61d..d4e9976 100644 --- a/include/linux/amlogic/media/utils/amstream.h +++ b/include/linux/amlogic/media/utils/amstream.h @@ -233,6 +233,7 @@ enum FRAME_BASE_VIDEO_PATH { FRAME_BASE_PATH_AMVIDEO, FRAME_BASE_PATH_AMVIDEO2, FRAME_BASE_PATH_V4L_VIDEO, + FRAME_BASE_PATH_TUNNEL_MODE, FRAME_BASE_PATH_MAX }; @@ -578,6 +579,7 @@ struct userdata_param_t { #define AMSTREAM_GET_VIDEO_AVG_BITRATE_BPS 0x811 #define AMSTREAM_GET_ION_ID 0x812 #define AMSTREAM_GET_NEED_MORE_DATA 0x813 +#define AMSTREAM_GET_FREED_HANDLE 0x814 /* video get cmd */ #define AMSTREAM_GET_OMX_VPTS 0x860 #define AMSTREAM_GET_TRICK_STAT 0x861 -- 2.7.4