video: rockchip: rga3: initialize temporary ctx

Update driver version to 1.2.10

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I1132b9d7c7d5fc8817c211dc938a6ca5da7c0cfe
This commit is contained in:
Yu Qiaowei
2022-04-24 18:00:39 +08:00
committed by Tao Huang
parent 4214a1b887
commit dfdd460a14
2 changed files with 3 additions and 1 deletions

View File

@@ -86,7 +86,7 @@
#define DRIVER_MAJOR_VERISON 1
#define DRIVER_MINOR_VERSION 2
#define DRIVER_REVISION_VERSION 9
#define DRIVER_REVISION_VERSION 10
#define DRIVER_VERSION (STR(DRIVER_MAJOR_VERISON) "." STR(DRIVER_MINOR_VERSION) \
"." STR(DRIVER_REVISION_VERSION))

View File

@@ -805,6 +805,8 @@ static long rga_ioctl(struct file *file, uint32_t cmd, unsigned long arg)
if (DEBUGGER_EN(MSG))
rga_cmd_print_debug_info(&req_rga);
memset(&ctx, 0x0, sizeof(ctx));
ctx.sync_mode = cmd;
ctx.use_batch_mode = false;
ctx.session = session;