}\r
ion_phys(rga2_drvdata->ion_client, hdl, &phy_addr, &len);\r
req->src.yrgb_addr = phy_addr;\r
- req->src.uv_addr = req->src.yrgb_addr + (req->dst.vir_w * req->dst.vir_h);\r
- req->src.v_addr = req->src.uv_addr + (req->dst.vir_w * req->dst.vir_h)/4;\r
+ req->src.uv_addr = req->src.yrgb_addr + (req->src.vir_w * req->src.vir_h);\r
+ req->src.v_addr = req->src.uv_addr + (req->src.vir_w * req->src.vir_h)/4;\r
ion_free(rga2_drvdata->ion_client, hdl);\r
}\r
else {\r
req->src.yrgb_addr = req->src.uv_addr;\r
- req->src.uv_addr = req->src.yrgb_addr + (req->dst.vir_w * req->dst.vir_h);\r
- req->src.v_addr = req->src.uv_addr + (req->dst.vir_w * req->dst.vir_h)/4;\r
+ req->src.uv_addr = req->src.yrgb_addr + (req->src.vir_w * req->src.vir_h);\r
+ req->src.v_addr = req->src.uv_addr + (req->src.vir_w * req->src.vir_h)/4;\r
}\r
\r
if(req->dst.yrgb_addr) {\r