From c0aed970b71d8160ccc7fc2e4420c22a3cef4a6f Mon Sep 17 00:00:00 2001 From: Randy Li Date: Thu, 14 Sep 2017 14:13:13 +0800 Subject: [PATCH] rockchip: video: vpu: fix the ioctl for all platforms The command defines for the ioctl will be installed into userspace in a header file. The arguments of the ioctl is the unique at a platform. Change-Id: Ia86a12c91cc4243fea24fc21cc0a9f77ec9fb2d6 Signed-off-by: Randy Li --- .../video/rockchip/vcodec/vcodec_service.c | 381 ++++++------------ .../video/rockchip/vcodec/vcodec_service.h | 123 ++---- include/uapi/video/Kbuild | 1 + include/uapi/video/rk_vpu_service.h | 100 +++++ 4 files changed, 272 insertions(+), 333 deletions(-) create mode 100644 include/uapi/video/rk_vpu_service.h diff --git a/drivers/video/rockchip/vcodec/vcodec_service.c b/drivers/video/rockchip/vcodec/vcodec_service.c index 8bc2bf29a119..fdcb65489658 100644 --- a/drivers/video/rockchip/vcodec/vcodec_service.c +++ b/drivers/video/rockchip/vcodec/vcodec_service.c @@ -47,6 +47,7 @@ #include #include +#include