@@ -1695,7 +1695,7 @@ static long rga_ioctl(struct file *file, uint32_t cmd, unsigned long arg)
16951695 }
16961696 RGA_MSG_2_RGA2_MSG (& req_rga , & req );
16971697
1698- if (first_RGA2_proc == 0 && req .bitblt_mode == bitblt_mode && rga2_service .dev_mode == 1 ) {
1698+ if (first_RGA2_proc == 0 && req .render_mode == bitblt_mode && rga2_service .dev_mode == 1 ) {
16991699 memcpy (& req_first , & req , sizeof (struct rga2_req ));
17001700 if ((req_first .src .act_w != req_first .dst .act_w )
17011701 || (req_first .src .act_h != req_first .dst .act_h )) {
@@ -1721,7 +1721,7 @@ static long rga_ioctl(struct file *file, uint32_t cmd, unsigned long arg)
17211721 }
17221722
17231723 RGA_MSG_2_RGA2_MSG (& req_rga , & req );
1724- if (first_RGA2_proc == 0 && req .bitblt_mode == bitblt_mode && rga2_service .dev_mode == 1 ) {
1724+ if (first_RGA2_proc == 0 && req .render_mode == bitblt_mode && rga2_service .dev_mode == 1 ) {
17251725 memcpy (& req_first , & req , sizeof (struct rga2_req ));
17261726 if ((req_first .src .act_w != req_first .dst .act_w )
17271727 || (req_first .src .act_h != req_first .dst .act_h )
@@ -1869,7 +1869,7 @@ static long compat_rga_ioctl(struct file *file, uint32_t cmd, unsigned long arg)
18691869
18701870 RGA_MSG_2_RGA2_MSG_32 (& req_rga , & req );
18711871
1872- if (first_RGA2_proc == 0 && req .bitblt_mode == bitblt_mode && rga2_service .dev_mode == 1 ) {
1872+ if (first_RGA2_proc == 0 && req .render_mode == bitblt_mode && rga2_service .dev_mode == 1 ) {
18731873 memcpy (& req_first , & req , sizeof (struct rga2_req ));
18741874 if ((req_first .src .act_w != req_first .dst .act_w )
18751875 || (req_first .src .act_h != req_first .dst .act_h )) {
@@ -1895,7 +1895,7 @@ static long compat_rga_ioctl(struct file *file, uint32_t cmd, unsigned long arg)
18951895 }
18961896 RGA_MSG_2_RGA2_MSG_32 (& req_rga , & req );
18971897
1898- if (first_RGA2_proc == 0 && req .bitblt_mode == bitblt_mode && rga2_service .dev_mode == 1 ) {
1898+ if (first_RGA2_proc == 0 && req .render_mode == bitblt_mode && rga2_service .dev_mode == 1 ) {
18991899 memcpy (& req_first , & req , sizeof (struct rga2_req ));
19001900 if ((req_first .src .act_w != req_first .dst .act_w )
19011901 || (req_first .src .act_h != req_first .dst .act_h )) {
0 commit comments